summaryrefslogtreecommitdiff
path: root/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
diff options
context:
space:
mode:
authorAchraf (abz) <abz@odoo.com>2021-05-07 08:07:46 +0000
committerAchraf (abz) <abz@odoo.com>2021-05-11 08:01:26 +0000
commit96564dd64bdbd426ae87444fd75a822074a37fc0 (patch)
tree591101b387a9667d5e22a42cb98e3c8d1bb1a04f /addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
parentf882512fea32784944ecccdd921c96576869b2e6 (diff)
[FIX] web: Allow user to add product Description with studio
What are the steps to reproduce your issue ? 1. From the product form, go to the website version, edit it to add tabs 2. Using studio, add the field "Description for website" to a tab of the notebook 3. Save, click Edit, go to the tab that has the field What is currently happening ? Traceback: form_renderer.js:258 Uncaught (in promise) TypeError: Cannot read property 'querySelector' of undefined at Class.setLocalState (form_renderer.js:258) at Class.setLocalState (form_editor.js:131) at Class.prototype.<computed> [as setLocalState] (class.js:90) at view_editor_manager.js:184 What are you expecting to happen ? Correctly add product description without tracebacks Why is this happening ? Because the number of tab is not equal to the number of pages How to fix the bug ? Before accessing the element, check if it exists opw-2378743 closes odoo/odoo#70513 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js')
0 files changed, 0 insertions, 0 deletions