[13.0][IMP] partner_statement:
* show partner name at the top. * simplify view logic for `name` and `ref` printing. * fallback to journal entry `ref` when the journal item has no `ref` set. * little query formatting changes to enhance readability. [UPD] Update partner_statement.pot [UPD] README.rst partner_statement 13.0.1.1.0 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-partner_statement Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement/
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
<strong>Date:</strong>
|
||||
<p t-esc="d['today']" class="m-0" />
|
||||
</div>
|
||||
<div class="col-3 bm-2">
|
||||
<strong>Partner Name:</strong>
|
||||
<p t-field="o.name" class="m-0" />
|
||||
</div>
|
||||
<div t-if="o.ref" class="col-3 bm-2">
|
||||
<strong>Partner Code:</strong>
|
||||
<p t-field="o.ref" class="m-0" />
|
||||
@@ -80,12 +84,15 @@
|
||||
</td>
|
||||
<td>
|
||||
<t t-if="line['name'] != '/'">
|
||||
<t t-if="not line['ref']">
|
||||
<t t-if="not line['ref'] and line['name']">
|
||||
<span t-esc="line['name']" />
|
||||
</t>
|
||||
<t t-if="line['ref'] and not line['name']">
|
||||
<span t-esc="line['ref']" />
|
||||
</t>
|
||||
<t t-if="line['ref'] and line['name']">
|
||||
<t
|
||||
t-if="line['name'] not in line['ref']"
|
||||
t-if="line['name'] not in line['ref'] or line['name'] == line['ref']"
|
||||
>
|
||||
<span t-esc="line['name']" />
|
||||
</t>
|
||||
@@ -94,16 +101,10 @@
|
||||
>
|
||||
<span t-esc="line['ref']" />
|
||||
</t>
|
||||
<t t-if="line['name'] == line['ref']">
|
||||
<span t-esc="line['name']" />
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
<t t-if="line['name'] == '/'">
|
||||
<span
|
||||
t-if="line['ref'] == 'Payment'"
|
||||
>Payment</span>
|
||||
<span t-else="" t-esc="line['ref']" />
|
||||
<span t-esc="line['ref']" />
|
||||
</t>
|
||||
</td>
|
||||
<td class="amount">
|
||||
|
||||
Reference in New Issue
Block a user