diff --git a/ext/custom-addons/dp_custom/views/res_partner_views.xml b/ext/custom-addons/dp_custom/views/res_partner_views.xml index da040b72..0282dc15 100644 --- a/ext/custom-addons/dp_custom/views/res_partner_views.xml +++ b/ext/custom-addons/dp_custom/views/res_partner_views.xml @@ -73,6 +73,7 @@ + diff --git a/ext/custom-addons/dp_intercompany_invoicing/__init__.py b/ext/custom-addons/dp_intercompany_invoicing/__init__.py index 15bca215..a4a92031 100644 --- a/ext/custom-addons/dp_intercompany_invoicing/__init__.py +++ b/ext/custom-addons/dp_intercompany_invoicing/__init__.py @@ -20,3 +20,4 @@ ############################################################################## from . import models +from . import wizards diff --git a/ext/custom-addons/dp_intercompany_invoicing/__manifest__.py b/ext/custom-addons/dp_intercompany_invoicing/__manifest__.py index d333a251..952bf8ea 100644 --- a/ext/custom-addons/dp_intercompany_invoicing/__manifest__.py +++ b/ext/custom-addons/dp_intercompany_invoicing/__manifest__.py @@ -35,6 +35,7 @@ 'data': [ 'views/account_views.xml', 'views/res_company_views.xml', + 'wizards/wizard_tz_ic.xml', 'security/ir.model.access.csv', ], 'installable': True, diff --git a/ext/custom-addons/dp_intercompany_invoicing/models/account.py b/ext/custom-addons/dp_intercompany_invoicing/models/account.py index 3a475b9e..bee85fbc 100644 --- a/ext/custom-addons/dp_intercompany_invoicing/models/account.py +++ b/ext/custom-addons/dp_intercompany_invoicing/models/account.py @@ -36,6 +36,9 @@ class AccountInvoice(models.Model): charge_further = fields.Boolean(string='Weiterverrechnen', compute='_compute_charge_further', store=True, help='Ist gesetzt, wenn das WV-Flag von mindestens einer Zeile gesetzt ist') + pg_ic_num = fields.Char('PG_IC_Nummer') + pg_ic_flag = fields.Boolean(string='IC', help='Rechnung nach PG exportiert') + @api.multi def _compute_inter_company_supplier_isset(self): for record in self: diff --git a/ext/custom-addons/dp_intercompany_invoicing/views/account_views.xml b/ext/custom-addons/dp_intercompany_invoicing/views/account_views.xml index 873e9fee..39e98c9f 100644 --- a/ext/custom-addons/dp_intercompany_invoicing/views/account_views.xml +++ b/ext/custom-addons/dp_intercompany_invoicing/views/account_views.xml @@ -6,11 +6,12 @@ account.invoice - +