From cb97a92e42b74a21c16da42669ebd002f30d80c4 Mon Sep 17 00:00:00 2001 From: Katherine Zaoral Date: Wed, 18 Dec 2019 14:04:42 +0000 Subject: [PATCH] [FIX] l10n_ar: Fix responsibility of Foreign partner The Foreign partner used in demo data was wrognly configure, it was set as "IVA Responsable Inscripto" when actually should be "Cliente / Provedor del Exterior". After fix this in demo we updated the demo data of the vendor bills of this partner to match with the new responsibility. Also apply and imporve in the way we are setting the fiscal position in the demo invoices, now qw use the onchange instead of setting the fiscal position explicitly in the demo invoices (and removed commented demo data that is not used) closes odoo/odoo#43301 X-original-commit: 23e2824794b64624c8dbb1b8132d443657781830 Signed-off-by: Josse Colpaert --- .../demo/account_customer_invoice_demo.xml | 21 +++++-- .../demo/account_supplier_invoice_demo.xml | 59 ++++++++----------- addons/l10n_ar/demo/res_partner_demo.xml | 2 +- 3 files changed, 42 insertions(+), 40 deletions(-) diff --git a/addons/l10n_ar/demo/account_customer_invoice_demo.xml b/addons/l10n_ar/demo/account_customer_invoice_demo.xml index 034833cfc93..13ff737c23f 100644 --- a/addons/l10n_ar/demo/account_customer_invoice_demo.xml +++ b/addons/l10n_ar/demo/account_customer_invoice_demo.xml @@ -80,7 +80,6 @@ - out_invoice @@ -101,7 +100,6 @@ - out_invoice @@ -200,7 +198,6 @@ - out_invoice @@ -215,7 +212,6 @@ - out_invoice @@ -230,7 +226,6 @@ - out_invoice @@ -273,6 +268,22 @@ + + + + + + + + + + + + + + + + diff --git a/addons/l10n_ar/demo/account_supplier_invoice_demo.xml b/addons/l10n_ar/demo/account_supplier_invoice_demo.xml index 2d44970f97a..e9e0285e174 100644 --- a/addons/l10n_ar/demo/account_supplier_invoice_demo.xml +++ b/addons/l10n_ar/demo/account_supplier_invoice_demo.xml @@ -6,7 +6,6 @@ - in_invoice @@ -87,7 +86,6 @@ - in_invoice @@ -101,7 +99,6 @@ - in_invoice @@ -219,37 +216,6 @@ - - - 0001-00000008 @@ -275,6 +241,31 @@ 16052IC04000605L + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/l10n_ar/demo/res_partner_demo.xml b/addons/l10n_ar/demo/res_partner_demo.xml index 398143d31f9..ebba240b4e3 100644 --- a/addons/l10n_ar/demo/res_partner_demo.xml +++ b/addons/l10n_ar/demo/res_partner_demo.xml @@ -133,7 +133,7 @@ http://www.foreign-inc.com 30222222229 - +