summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorHarpritsinh Sisodiya <hsi@odoo.com>2020-05-06 13:28:43 +0000
committerJulien Mougenot <jum@odoo.com>2020-08-10 08:35:10 +0000
commit1e2e0f663efac81ad480f5ff06a61c4265e28227 (patch)
tree5977154b785fb300555ff7e812e821d619af8795 /addons/web/static/src/js/fields/basic_fields.js
parentd42219218548416fd019bfffb399929d93fcd69a (diff)
[FIX] web: MEASURES button disappearing when switching back to graph
before this commit, when change view from graph view to pivot view or any other view and come back to graph view, Measures button disappear, it's only appearing if we refresh the page. after this commit, restore previous view state when switching back to graph view, this was because measures button is rendered in fragment and when switching between views, as graph view element was destroyed and re-rendered so measures button will be mounted in fragment as update method of ComponentWrapper will render it from previous mountArgs, so to avoid this issue push measures element in DOM. task-2250051 closes odoo/odoo#55666 X-original-commit: 40c709fb0abe7721d1650af9bd1d17dc8453895a Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions