[IMP] l10n_it: Unnecessary precaution about Fiscal Positions note

The condition for which the Fiscal Position's Note is shown only in Customer Invoices is removed because unnecessary.
A check has been added on the company's country to be 'IT'.

Task link: https://www.odoo.com/web#id=3420752&model=project.task
task-3420752

closes odoo/odoo#135966

X-original-commit: c32720dbd4df60fd9e8e10d3893501e006130d8d
Signed-off-by: John Laterre (jol) <jol@odoo.com>
This commit is contained in:
Paolo Gatti (pgi)
2023-09-20 08:36:42 +00:00
parent d0885afa62
commit 3d9cef5ead
+1 -1
View File
@@ -3,7 +3,7 @@
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//p[@name='note']" position="replace">
<p name="note">
<t t-if="o.move_type == 'out_invoice' and o.fiscal_position_id.note">
<t t-if="o.company_id.country_id.code == 'IT' and o.fiscal_position_id.note">
<span t-field="o.fiscal_position_id.note"/>
</t>
<t t-else="">