[MIG] account_move_print: Migration to 17.0

- Update version.
- Change use of t-esc to t-out since latter was deprecated since v15.0.
This commit is contained in:
Andrea Gidalti
2023-10-09 19:42:17 +00:00
parent 8ea224bd75
commit e4b09cb88a
2 changed files with 9 additions and 9 deletions

View File

@@ -2,8 +2,8 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Account Move Print",
"version": "16.0.1.0.0",
"category": "Accounting",
"version": "17.0.1.0.0",
"category": "Accounting/Accounting",
"license": "LGPL-3",
"summary": "Adds the option to print Journal Entries",
"author": "ForgeFlow, Odoo Community Association (OCA)",

View File

@@ -84,34 +84,34 @@
>
<t t-if="line.currency_id">
<span
t-esc="line.amount_currency"
t-out="line.amount_currency"
t-options='{"widget": "monetary", "display_currency": line.currency_id}'
/>
</t>
</td>
<td name='tb_debit'>
<span
t-esc="line.debit"
t-out="line.debit"
t-options='{"widget": "monetary", "display_currency": line.company_currency_id}'
/>
</td>
<td name='tb_credit'>
<span
t-esc="line.credit"
t-out="line.credit"
t-options='{"widget": "monetary", "display_currency": line.company_currency_id}'
/>
</td>
<td name='tb_originator_tax'>
<span
class="text-nowrap"
t-esc="line.tax_line_id.name"
t-out="line.tax_line_id.name"
/>
</td>
<td
t-attf-class="text-left {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}"
>
<span
t-esc="', '.join(map(lambda x: (x.description or x.name), line.tax_ids))"
t-out="', '.join(map(lambda x: (x.description or x.name), line.tax_ids))"
id="line_tax_ids"
/>
</td>
@@ -133,13 +133,13 @@
/>
<td name='tf_debit'>
<span
t-esc="total_debit"
t-out="total_debit"
t-options='{"widget": "monetary", "display_currency": o.company_currency_id}'
/>
</td>
<td name='tf_credit'>
<span
t-esc="total_credit"
t-out="total_credit"
t-options='{"widget": "monetary", "display_currency": o.company_currency_id}'
/>
</td>