From dccfdb0ddb9c928c7c4d660ce3c29af5af0705c5 Mon Sep 17 00:00:00 2001 From: Pratima Gupta Date: Tue, 20 Dec 2016 15:21:20 +0100 Subject: [PATCH] [IMP] account: onboarding invoice report layout Impacted modules : base, base_setup, account, report, and base_vat The purpose is here to ease the creation of the first invoice. To do so, we need to ease the configuration of VAT, company data, and report layouting. This commits brings - better labelling for TIN, VAT and Tax Id for partner and companies (form view, ...) - change settings for footer of report : allow to use custom or standart footer, and display them in settings view. - always display TIN in standart report footer - remove (demo) data of main company to not set company logo on reports Also, a message is display on the report when the data company are not configured yet. The invoice report is now regenerated each time the user want to print it. --- addons/account/report/inherited_layouts.xml | 2 +- addons/account/views/account_invoice_view.xml | 2 +- addons/account/views/account_report.xml | 3 +- addons/account/views/report_invoice.xml | 2 +- addons/base_setup/models/res_config.py | 5 ++-- addons/base_setup/views/res_config_views.xml | 10 ++----- addons/base_vat/views/res_company_views.xml | 5 +++- addons/base_vat/views/res_partner_views.xml | 11 +++---- addons/report/models/base_config_settings.py | 1 + addons/report/models/res_company.py | 8 +++++ .../views/base_config_settings_views.xml | 7 +++-- addons/report/views/layout_templates.xml | 29 ++++++++++++++----- addons/website/data/website_demo.xml | 3 -- odoo/addons/base/base_data.xml | 2 -- odoo/addons/base/base_demo.xml | 5 ---- odoo/addons/base/res/res_company.py | 8 +++-- odoo/addons/base/res/res_partner_view.xml | 1 + 17 files changed, 58 insertions(+), 46 deletions(-) diff --git a/addons/account/report/inherited_layouts.xml b/addons/account/report/inherited_layouts.xml index 33bbebc9aea..14fefba8b8c 100644 --- a/addons/account/report/inherited_layouts.xml +++ b/addons/account/report/inherited_layouts.xml @@ -2,7 +2,7 @@ -