summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/view_dialogs.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-01-11 08:56:00 +0000
committerNans Lefebvre <len@odoo.com>2019-01-11 08:56:02 +0000
commitf8e953fdd6eb5d9ce3f6713f9cd06665ca20bb2a (patch)
treee9acb60d741fac8249e9b533fedcb435467f1d70 /addons/web/static/src/js/views/view_dialogs.js
parenteb11b465dc0cfed5159b9f794a2762693d87fe14 (diff)
[FIX] base: set related crud_model_name on the correct field
Create an automated action that creates a new record (of target crud_model_id). Try using a link_field_id: nothing appears to be selectable, even if some fields satisfy the intended conditions. The issue is that the crud_model_name field was related to crud_model_id.name, instead of the correct crud_model_id.model (note the apt naming). Note that in the onchange the value of crud_model_name was correctly set to crud_model_id.model, adding to the confusion. opw 1910671 closes odoo/odoo#30145
Diffstat (limited to 'addons/web/static/src/js/views/view_dialogs.js')
0 files changed, 0 insertions, 0 deletions