diff --git a/addons/stock_landed_costs/views/stock_landed_cost_views.xml b/addons/stock_landed_costs/views/stock_landed_cost_views.xml index 194781b32f3..6bd010bc991 100644 --- a/addons/stock_landed_costs/views/stock_landed_cost_views.xml +++ b/addons/stock_landed_costs/views/stock_landed_cost_views.xml @@ -54,7 +54,7 @@ + context="{'default_landed_cost_ok': True, 'default_type': 'service', 'form_view_ref':'stock_landed_costs.view_stock_landed_cost_type_form'}"/> @@ -215,7 +215,7 @@ [('landed_cost_ok','=',True)] form tree,form - {'default_landed_cost_ok': True} + {'default_landed_cost_ok': True, 'default_type': 'service'}