From 82592edabaef70bc49fdf48b52e640e2f1c70acc Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Fri, 25 May 2018 16:06:43 +0200 Subject: [PATCH] [REF] account: removed company_id field on account.chart.template Because that field doesn't have any meaning on a template object... --- addons/account/models/chart_template.py | 1 - addons/account/views/account_view.xml | 2 -- 2 files changed, 3 deletions(-) diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index cad8137ac8b..dfc8db0015f 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -94,7 +94,6 @@ class AccountChartTemplate(models.Model): _description = "Templates for Account Chart" name = fields.Char(required=True) - company_id = fields.Many2one('res.company', string='Company') parent_id = fields.Many2one('account.chart.template', string='Parent Chart Template') code_digits = fields.Integer(string='# of Digits', required=True, default=6, help="No. of Digits to use for account code") visible = fields.Boolean(string='Can be Visible?', default=True, diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index f0ad11d069c..4d6a7e5a51b 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -1841,7 +1841,6 @@
- @@ -1888,7 +1887,6 @@ -