[FIX] css fixes (ie10) (web client)
[odoo/odoo.git] / addons / purchase / purchase_data.yml
1 -
2   !python {model: ir.values}: |
3     whr = self.pool.get('stock.warehouse').browse(cr, uid, ref('stock.warehouse0'), context=context)
4     self.set_default(cr, uid, 'purchase.order', 'picking_type_id', whr.in_type_id.id, for_all_users=True, company_id=True, condition=False)
5 -
6   !python {model: stock.warehouse}: |
7     #enable purchase on main warehouse
8     main_warehouse = self.browse(cr, uid, ref('stock.warehouse0'), context=context)
9     self.write(cr, uid, main_warehouse.id, {'buy_to_resupply': True}, context=context)
10