[FIX] stock: issue when opening view in studio

When user is in an operation. For example, a delivery, when user opens studio
and click on the move line, click on edit and close studio. The result is that
user can't create record anymore.

By this commit, this issue has been fixed.

task - 2170090

closes odoo/odoo#52101

X-original-commit: cc10d8bccada44041f62243ab4785a422f354aaa
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
shreya thakrar
2020-06-15 12:08:35 +00:00
committed by Damien Bouvy
parent 5f174f1272
commit 9a2f55f06c
+1 -1
View File
@@ -125,7 +125,7 @@
<field name="type">ir.actions.act_window</field>
<field name="view_mode">tree,kanban,pivot,form</field>
<field name="view_id" ref="view_move_line_tree"/>
<field name="context">{'search_default_done': 1, 'search_default_groupby_product_id': 1}</field>
<field name="context">{'search_default_done': 1, 'search_default_groupby_product_id': 1, 'create': 0}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There's no product move yet