Skip to content
Snippets Groups Projects
Commit c32720db authored by Paolo Gatti (pgi)'s avatar Paolo Gatti (pgi)
Browse files

[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#130042

Signed-off-by: default avatarJohn Laterre (jol) <jol@odoo.com>
parent d3808a5d
No related branches found
No related tags found
No related merge requests found
......@@ -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="">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment