[FIX] base: Changing a company contact in a company

When a company contact is changed in a company, this contact will
not be displayed as a company contact.

opw:673715
This commit is contained in:
Goffin Simon
2016-05-04 14:25:11 +02:00
parent f47e39edf9
commit c768bbeb22
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -14902,7 +14902,7 @@ msgstr ""
#. module: base
#: model:ir.model.fields,help:base.field_res_partner_company_type
#: model:ir.model.fields,help:base.field_res_users_company_type
msgid "Technical field, used only to display a boolean using a radio button. As for Odoo v9 RadioButton cannot be used on boolean fields, this one serves as interface. Due to the old API limitations with interface function field, we implement it by hand instead of a true function field. When migrating to the new API the code should be simplified."
msgid "Technical field, used only to display a boolean using a radio button. As for Odoo v9 RadioButton cannot be used on boolean fields, this one serves as interface. Due to the old API limitations with interface function field, we implement it by hand instead of a true function field. When migrating to the new API the code should be simplified. Changing the company_type of a company contact into a company will not display this contact as a company contact but as a standalone company."
msgstr ""
#. module: base
+3 -1
View File
@@ -237,7 +237,9 @@ class res_partner(osv.Model, format_address):
'fields, this one serves as interface. Due to the old API '
'limitations with interface function field, we implement it '
'by hand instead of a true function field. When migrating to '
'the new API the code should be simplified.'),
'the new API the code should be simplified. Changing the'
'company_type of a company contact into a company will not display'
'this contact as a company contact but as a standalone company.'),
'use_parent_address': fields.boolean('Use Company Address', help="Select this if you want to set company's address information for this contact"),
'company_id': fields.many2one('res.company', 'Company', select=1),
'color': fields.integer('Color Index'),