summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-09-24 13:22:25 +0000
committerfw-bot <otis@odoo.com>2019-09-25 16:37:19 +0000
commit77099c54b602eb1a71c2a176eeebcceefaf7aec6 (patch)
tree285eed8e714dab9e5dae740f74b24eba656b7742 /addons/web/static/src/js/views/basic/basic_model.js
parent98b7129e20979a4dbbeb72ea1109112744f813d5 (diff)
[FIX] core: o2m modifiers in the SSF
Because the sub-record values would not necessarily get fetched ever (whether default or stored), the computation of modifiers might blow up if it relied on one of the un-fetched un-specified fields. One such situation is trying to create a partner with child partners if base_address_city is installed: the module adds a readonly attr predicated upon the parent_id, without explicitly providing such the field would be missing from the O2M record's values. Closes #37176 closes odoo/odoo#37452 X-original-commit: 184d1b69eac2b78c72228c81c5c6cf8cc4a56eb4 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions