diff --git a/coreff_base/__manifest__.py b/coreff_base/__manifest__.py index 7e0b61c..d9586f0 100644 --- a/coreff_base/__manifest__.py +++ b/coreff_base/__manifest__.py @@ -6,7 +6,7 @@ { "name": "CoreFF: Basic Module", - "version": "14.0.1.0.0", + "version": "14.0.1.0.1", "category": "CoreFF", "author": "Article714", "license": "LGPL-3", diff --git a/coreff_base/models/res_partner.py b/coreff_base/models/res_partner.py index 134d290..20c9dc5 100644 --- a/coreff_base/models/res_partner.py +++ b/coreff_base/models/res_partner.py @@ -23,11 +23,6 @@ class ResPartner(models.Model): ) ] - # CM: Add company_id field manually as required to set default - # to current company - company_id = fields.Many2one( - 'res.company', index=True, default=lambda self: self.env.company - ) coreff_company_code = fields.Char() coreff_company_code_mandatory = fields.Boolean( related="company_id.coreff_company_code_mandatory"