summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2019-08-23 09:13:46 +0000
committerMartin Trigaux <mat@odoo.com>2020-01-15 08:48:39 +0000
commit59a96739e09d8f1adb8baff6d96f976cb514820e (patch)
tree4e2f663902c7431f17be65bd9a6be948d11d4fa4 /addons
parentf1bdf63830a98c37d14b5c0ea0044bf7eef28ab6 (diff)
[FIX] purchase: not setting context is not empty context
Previous versions of this action had a context. It was removed at odoo/odoo@2d3e6d7383aaa3c1589f22 Set explicitly an empty context to force the removal when upgrading the module. Fine tunning of odoo/odoo@93465630090e2c42 closes odoo/odoo#43319 X-original-commit: 63a5a795a57af0da3b7459e0acd83a247861eaf3 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/purchase/views/purchase_views.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml
index 3926f06e75e..e95da67a081 100644
--- a/addons/purchase/views/purchase_views.xml
+++ b/addons/purchase/views/purchase_views.xml
@@ -549,6 +549,7 @@
<field name="view_mode">tree,kanban,form,pivot,graph,calendar,activity</field>
<field name="view_id" ref="purchase_order_tree"/>
<field name="domain">[]</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="view_purchase_order_filter"/>
<field name="context">{'quotation_only': True}</field>
<field name="help" type="html">
@@ -572,6 +573,7 @@
<field name="view_id" ref="purchase_order_view_tree"/>
<field name="domain">[('state','in',('purchase', 'done'))]</field>
<field name="search_view_id" ref="purchase_order_view_search"/>
+ <field name="context">{}</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a quotation