[IMP]improve code
bzr revid: prajapatijitendra7969@gmail.com-20131206140659-v20o352qjlb8p5s8
This commit is contained in:
parent
ed6a30946e
commit
d34ccfebb9
|
@ -1,7 +1,7 @@
|
||||||
-
|
-
|
||||||
!python {model: stock.warehouse}: |
|
!python {model: stock.warehouse}: |
|
||||||
pull_obj = self.pool.get('procurement.rule')
|
pull_obj = self.pool.get('procurement.rule')
|
||||||
wh_to_assign = ['stock_warehouse_shop0','stock_warehouse_shop1','warehouse_icecream']
|
wh_to_assign = ['stock_warehouse_shop0']
|
||||||
for wh_ref in wh_to_assign:
|
for wh_ref in wh_to_assign:
|
||||||
warehouse = self.browse(cr, uid, ref('stock.' + wh_ref), context=context)
|
warehouse = self.browse(cr, uid, ref('stock.' + wh_ref), context=context)
|
||||||
#Force the rewriting of route and rule
|
#Force the rewriting of route and rule
|
||||||
|
|
Loading…
Reference in New Issue