From 6f71d0c288d86a2e8c54741d70251e8ebdf55f8e Mon Sep 17 00:00:00 2001 From: Camille Spiritus Date: Tue, 18 Apr 2023 11:32:56 +0000 Subject: [PATCH] [IMP] account/l10n_ch: usable demo data for QR bill Until 15.0, to show the behaviour of the QR billing in Switzerland, you had to manually configure a bank account for CH company and create a QR Bill compliant customer before creating an invoice, which was time consuming in the contaxt of a demo. Updated the demo company's bank account and added an adequate customer to ease the process. task-3264826 closes odoo/odoo#120349 X-original-commit: 69aab9f4db89f8bf3ba8f29a96fbf9eabd4bac4a Signed-off-by: Brice Bartoletti (bib) --- addons/l10n_ch/__manifest__.py | 1 + addons/l10n_ch/demo/demo_company.xml | 7 +++++++ addons/l10n_ch/demo/res_partner_demo.xml | 23 +++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 addons/l10n_ch/demo/res_partner_demo.xml diff --git a/addons/l10n_ch/__manifest__.py b/addons/l10n_ch/__manifest__.py index d6548b3f902..0413577b1f1 100644 --- a/addons/l10n_ch/__manifest__.py +++ b/addons/l10n_ch/__manifest__.py @@ -48,6 +48,7 @@ Here is how it works: 'demo': [ 'demo/account_cash_rounding.xml', 'demo/demo_company.xml', + 'demo/res_partner_demo.xml', ], 'post_init_hook': 'post_init', 'assets': { diff --git a/addons/l10n_ch/demo/demo_company.xml b/addons/l10n_ch/demo/demo_company.xml index 967a0e808b3..4da7d3801d5 100644 --- a/addons/l10n_ch/demo/demo_company.xml +++ b/addons/l10n_ch/demo/demo_company.xml @@ -13,6 +13,13 @@ www.chexample.com + + iban + CH4431999123000889012 + + + + CH Company diff --git a/addons/l10n_ch/demo/res_partner_demo.xml b/addons/l10n_ch/demo/res_partner_demo.xml new file mode 100644 index 00000000000..18b1bdf21c3 --- /dev/null +++ b/addons/l10n_ch/demo/res_partner_demo.xml @@ -0,0 +1,23 @@ + + + + Easy Clean Lausanne + + 1 + Lausanne + 1004 + + Rte de Prilly 18, 1004 Lausanne, Suisse + info@easycleanlausanne.ch + +41 21 796 73 24 + http://www.easycleanlausanne.ch + CHE-123.456.788 TVA + + + + iban + CH11 3000 5228 1308 3501 F + + + +