diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-01-17 09:50:08 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-01-17 12:30:20 +0000 |
| commit | 15cd94b7461cca1a13b621546f5061a488f0cb81 (patch) | |
| tree | 2a09c12481b4f712c121f9a81e90745abffd3b86 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 606bae9e9218d45b7babe91d4feb8f7d1ffba120 (diff) | |
[FIX] base: merge contacts linked to by an o2m field with caps
Define a field on a model as:
- o2m to res.partner
- the field's column, hence its name, has capital letters in it
(studio does that)
create two objects of that class, each one linked to a different partner with the new o2m
merge the partners
Before this commit, the object linked to the second partner, was deleted
This was because merge partner sql requests did not quote the column name
After this commit, the second object still exists
OPW 1925060
closes odoo/odoo#30300
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
