Skip to content

Commit

Permalink
[FIX] l10n_ar_ux: report_payment_group
Browse files Browse the repository at this point in the history
Ticket: 62067
Now report_payment_group print correctly because the field signed_amount renames to amount_signed in Odoo 15
ica fixed this en 16 here #699 but now is needed to fix this in 15
  • Loading branch information
pablohmontenegro committed May 24, 2023
1 parent ab67d62 commit 7fc54ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_ux/__manifest__.py
@@ -1,6 +1,6 @@
{
'name': 'Argentinian Accounting UX',
'version': "15.0.1.13.0",
'version': "15.0.1.14.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down
8 changes: 4 additions & 4 deletions l10n_ar_ux/reports/report_payment_group.xml
Expand Up @@ -70,7 +70,7 @@
</td>
<td class="text-right" t-if="any(o.mapped('payment_ids.other_currency'))">
<t t-if="check.currency_id">
<span class="text-nowrap" t-field="check.signed_amount" t-field-options='{"widget": "monetary", "display_currency": "check.currency_id"}'/>
<span class="text-nowrap" t-field="check.amount_signed" t-field-options='{"widget": "monetary", "display_currency": "check.currency_id"}'/>
</t>
</td>
<td class="text-right o_price_total">
Expand All @@ -85,7 +85,7 @@
</td>
<td class="text-right" t-if="any(o.mapped('payment_ids.other_currency'))">
<t t-if="line.other_currency">
<span class="text-nowrap" t-field="line.signed_amount" t-field-options='{"widget": "monetary", "display_currency": "line.currency_id"}'/>
<span class="text-nowrap" t-field="line.amount_signed" t-field-options='{"widget": "monetary", "display_currency": "line.currency_id"}'/>
</t>
</td>
<td class="text-right o_price_total">
Expand All @@ -100,7 +100,7 @@
</td>
<td class="text-right" t-if="any(o.mapped('payment_ids.other_currency'))">
<t t-if="line.other_currency">
<span class="text-nowrap" t-field="line.signed_amount" t-field-options='{"widget": "monetary", "display_currency": "line.currency_id"}'/>
<span class="text-nowrap" t-field="line.amount_signed" t-field-options='{"widget": "monetary", "display_currency": "line.currency_id"}'/>
</t>
</td>
<td class="text-right o_price_total">
Expand All @@ -113,7 +113,7 @@
<tr>
<td><strong><span>Total Pagado</span></strong></td>
<td class="text-right" t-if="any(o.mapped('payment_ids.other_currency'))">
<strong t-if="len(o.payment_ids.mapped('currency_id')) == 1 and o.payment_ids.mapped('currency_id') != o.currency_id"> <span class="text-nowrap" t-out="sum(o.payment_ids.mapped('signed_amount'))" t-options="{'widget': 'monetary', 'display_currency': o.payment_ids.mapped('currency_id')}"/></strong>
<strong t-if="len(o.payment_ids.mapped('currency_id')) == 1 and o.payment_ids.mapped('currency_id') != o.currency_id"> <span class="text-nowrap" t-out="sum(o.payment_ids.mapped('amount_signed'))" t-options="{'widget': 'monetary', 'display_currency': o.payment_ids.mapped('currency_id')}"/></strong>
</td>
<td class="text-right">
<strong><span class="text-nowrap" t-field="o.payments_amount"/></strong>
Expand Down

0 comments on commit 7fc54ee

Please sign in to comment.