diff options
| -rw-r--r-- | addons/mrp/views/product_views.xml | 4 | ||||
| -rw-r--r-- | addons/stock/views/product_views.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/mrp/views/product_views.xml b/addons/mrp/views/product_views.xml index aab72436df9..42f910d4339 100644 --- a/addons/mrp/views/product_views.xml +++ b/addons/mrp/views/product_views.xml @@ -31,7 +31,7 @@ <field name="res_model">product.template</field> <field name="view_type">form</field> <field name="view_mode">kanban,tree,form</field> - <field name="context">{"search_default_products": 1, 'default_type': 'product'}</field> + <field name="context">{"search_default_consumable": 1, 'default_type': 'product'}</field> </record> <menuitem id="menu_mrp_product_form" name="Products" @@ -76,4 +76,4 @@ </field> </record> </data> -</odoo>
\ No newline at end of file +</odoo> diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml index 6b8fbb71937..019ea9e3e50 100644 --- a/addons/stock/views/product_views.xml +++ b/addons/stock/views/product_views.xml @@ -380,7 +380,7 @@ <field name="res_model">product.template</field> <field name="view_mode">kanban,tree,form</field> <field name="view_type">form</field> - <field name="context">{"search_default_products": 1, 'default_type': 'product'}</field> + <field name="context">{"search_default_consumable": 1, 'default_type': 'product'}</field> <field name="help" type="html"> <p class="oe_view_nocontent_create"> Click to define a new product. |
