-
- Downloads
[FIX] base: make partner.company_type properly writeable
In 7eab8e26 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
Please register or sign in to comment