diff --git a/addons/purchase/purchase_data.yml b/addons/purchase/purchase_data.yml index 92a88bc0c09..1133dfc3f37 100644 --- a/addons/purchase/purchase_data.yml +++ b/addons/purchase/purchase_data.yml @@ -1,7 +1,3 @@ -- - !python {model: ir.values}: | - whr = self.pool.get('stock.warehouse').browse(cr, uid, ref('stock.warehouse0'), context=context) - self.set_default(cr, uid, 'purchase.order', 'picking_type_id', whr.in_type_id.id, for_all_users=True, company_id=True, condition=False) - !python {model: stock.warehouse}: | #enable purchase on main warehouse