summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-11-02 13:14:59 +0100
committerXavier Morel <xmo@odoo.com>2017-11-02 13:14:59 +0100
commite134dde867844b4eea6cfba9447968cb311a1d85 (patch)
treea4b4e1665122ddf9cb8a3cfc0867287afdb75607 /addons/web_editor/static/src/xml
parent75b7f6278367ecf929196f54545231645b6eb73d (diff)
[FIX] base: make partner.company_type properly writeable
In 7eab8e26d3d46c53f4be924d6a34e80a66e74960 res.partner was converted to the new API, at that point company_type was changed from a stored field manually synchronised with is_company (through create/write overrides) into a proper computed field. However to make it "editable" it was simply marked as "readonly=False", which means even though UI-wise it looks editable editing it does not actually do anything (things work in the partners form because there's also an onchange which updates is_company on the fly). Fix by implementing an inverse function and actually do this correctly. Fixes #20623
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions