summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-08-28 15:41:22 +0000
committerqsm-odoo <qsm@odoo.com>2019-08-29 07:24:16 +0000
commit3daed421f4c06ce0851efb8eab0071b7fc002bff (patch)
treebd1d73fb85ab7c29fa17a043c6c5ed64065b00d3 /addons/web/static/src/js/fields/basic_fields.js
parent4e9416b4d58cca1ad0d0a8000c159077a88ba8d3 (diff)
[FIX] website: restore edit menu dialog
Since saas-12.5, with recent ORM changes, writing on non-existing fields does not trigger a warning anymore but instead crashes. This revealed that the 12.0 "Edit Menu" dialog was doing some of that. Indeed, depending on what was edited, we ended up writing on the 'is_homepage' field, the 'text' field, the 'isNewWindow' field, ... which do not exist. This commit takes advantage of the fix to also lint the dialog code and convert some of it to ES6. Discovered while working on task-1925319 closes odoo/odoo#36204 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions