Friday, December 13, 2024
1 change · saas-17.4
Resolved issues and error corrections
When adding a child contact under an existing company-specific contact, the child contact now correctly inherits and shows the same company association. This prevents contacts from being saved without the intended company in multi-company setups.
Original PR description
To reproduce the issue: (Need more than one company) 1. Create a partner and link him to a specific company 2. In "Contacts & Addresses", add a new partner 3. Open this "child partner" Error: the child partner does not belong to the company defined at step 1 Commit [1] removed the field from the company, but this field is needed so we can define its value thanks to the onchange https://github.com/odoo/odoo/blob/988b47c0ca409a38c2f429a6db017eef17053c04/odoo/addons/base/models/res_partner.py#L529-L532 [1] https://github.com/odoo/odoo/commit/5639ed865c5a3b82bab25b0ecac28c68c02e9306 OPW-4247914