[FIX] l10n_ar: Customer address added twice on the printed invoice

Task: 857

Description of the issue/feature this PR addresses:
The customer's address is added twice in the printed invoice report but it only has to be shown only one time in the printed invoice.

Current behavior before PR:
The customer's address is added twice in the printed invoice report

Desired behavior after PR is merged:
The customer's address is added only one time in the printed invoice report

closes odoo/odoo#114874

X-original-commit: 9a9c6a5ffcf67f67a1a074caa412345a3b71cbe4
Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
Pablo Montenegro
2023-03-16 16:26:40 +01:00
parent 961a01b9b8
commit c74bee12e4
+9
View File
@@ -101,6 +101,15 @@
<!-- remove default partner address -->
<t t-set="address" position="replace"/>
<xpath expr="//div[@name='address_not_same_as_shipping']" position="replace">
<div name="address_not_same_as_shipping"/>
</xpath>
<xpath expr="//div[@name='address_same_as_shipping']" position="replace">
<div name="address_same_as_shipping"/>
</xpath>
<xpath expr="//div[@name='no_shipping']" position="replace">
<div name="no_shipping"/>
</xpath>
<!-- remove default document title -->
<h2 position="replace"/>