summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-09-30 10:49:23 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-10-07 13:18:20 +0000
commit1ac5ba040e304d6d23912b7364b490acdbb68865 (patch)
tree036cbfbcb071895cd004921c4a9b70a6494298a5 /addons/web/static/src/js/views/basic/basic_controller.js
parent827b5336623eb6f6d0ad7dab639762a38f122ecf (diff)
[FIX] account,mrp,payment,purchase,purchase_stock,sale,sale_stock: studio crash on new view
Install stock and purchase. Make a RFQ for just one product, coonfirm and receive in one transfer. Click on the delivery (should be only 1). The picking will display. Open studio, select view, activate list view. Javascript traceback will popup. Moreover the view of the stock module will be altered in a faulty way (can be recovered from "Window Actions", looking for the stock.picking action with external id "stock.action_picking_tree_all" and removing the last added tree from "View Mode"). This is caused by studio not detecting all the active views, thus giving the possibility to add an already active view, because when there is just one picking all other views are filtered out. Changing the way the form view is retrieved in case of a single picking fix the issue. opw-2076241 closes odoo/odoo#38093 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions