[FW][IMP] l10n_ar: show payment terms

In the Argentinean invoices report view, we were removing the Payment
Terms and we were only showing the Payment Term name in the header.
Now we add it back following the Odoo approach but we also keep the name
of the terms on the header.
We made this modification in the invoice report with and without payment.

original commit: 6a0cf2e

closes odoo/odoo#69998

X-original-commit: bf88ef700fc0224b973f3e6142db42799a2eccb1
Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
Bruno Zanotti (ADHOC)
2021-04-28 11:40:48 +00:00
committed by Josse Colpaert
parent ba560df34f
commit d1d9c03303
2 changed files with 2 additions and 4 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Argentina - Accounting',
'version': "3.2",
'icon': '/base/static/img/country_flags/ar.png',
'version': "3.3",
'description': """
Functional
----------
-3
View File
@@ -159,9 +159,6 @@
<attribute name="t-esc">', '.join(map(lambda x: (x.description or x.name), line.l10n_latam_tax_ids.filtered(lambda x: x.tax_group_id.l10n_ar_vat_afip_code)))</attribute>
</span>
<!-- remove payment term, this is added on information section -->
<p name="payment_term" position="replace"/>
<!-- remove payment reference that is not used in Argentina -->
<xpath expr="//span[@t-field='o.payment_reference']/../.." position="replace"/>