diff options
| author | nie <nie@odoo.com> | 2020-11-27 10:39:09 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2020-11-30 10:00:27 +0000 |
| commit | 65d80a12eb5e51340e42127137b1e27079f3fe4c (patch) | |
| tree | 06b79e8771836969f99b7439acd701377501e13a /setup.cfg | |
| parent | d5b5e7c8490e8de9e56f16cdef640dd733163175 (diff) | |
[FIX] base: company not deleted on linked partners
Steps:
- Install Contacts
- Have Multi-Companies enabled
- Go to a Contact of type "Company"
- Click "Sales & Purchases"
- Assign it the company you're on
- Save and Edit again
- Remove the assigned company
- Go to a contact of type "Individual" linked to this company
- Click "Sales & Purchases"
Bug:
The company has not been deleted on the linked Individual
Explanation:
When we delete the company of a contact, the value of `vals.get('company_id')` is `False`.
This is why it didn't enter the propagation process.
This fix makes sure we can still remove a company from a contact linked to a user.
Related: https://github.com/odoo/odoo/pull/62418
opw:2391464
closes odoo/odoo#62585
X-original-commit: 59413ad88a97b3221526c2b560178a0f94ddee05
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions
