[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:
@@ -22,6 +22,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" />
|
||||
@@ -71,9 +75,12 @@
|
||||
<t t-if="not line['ref']">
|
||||
<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>
|
||||
@@ -82,9 +89,6 @@
|
||||
>
|
||||
<span t-esc="line['ref']" />
|
||||
</t>
|
||||
<t t-if="line['ref'] == line['name']">
|
||||
<span t-esc="line['name']" />
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
<t t-if="line['name'] == '/'">
|
||||
|
||||
Reference in New Issue
Block a user