summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruco (Open ERP) <uco@tinyerp.com>2010-08-30 10:05:34 +0530
committeruco (Open ERP) <uco@tinyerp.com>2010-08-30 10:05:34 +0530
commit6a7868c19fdd5d5a46b99c2e6d795375fd5b042e (patch)
treee26580a679725fe5acf420562871631ac9dcf567
parentfcd1a247001e5dfeef073cdc84334587e0b45589 (diff)
[IMP] mrp: Improved procurement yaml.
bzr revid: uco@tinyerp.com-20100830043534-7sgh7p4o6nb75bad
-rw-r--r--addons/mrp/test/mrp_procurement.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mrp/test/mrp_procurement.yml b/addons/mrp/test/mrp_procurement.yml
index cf9e5d9cb50..5ce256ab7d9 100644
--- a/addons/mrp/test/mrp_procurement.yml
+++ b/addons/mrp/test/mrp_procurement.yml
@@ -318,7 +318,7 @@
from tools.translate import _
prod_obj = self.pool.get('mrp.production')
prod_ids = prod_obj.search(cr, uid, [('product_id.name','=','Shirt')])
- self.do_produce(cr, uid, [1], context={'active_ids': prod_ids})
+ self.do_produce(cr, uid, [ref('mrp_product_produce0')], context={'active_ids': prod_ids})
-
I create record for remaining products with quantity 35.00.
-
@@ -334,7 +334,7 @@
from tools.translate import _
stock_obj = self.pool.get('stock.move')
stock_ids = stock_obj.search(cr, uid, [('product_id.name','=','Buttons')])
- self.do_move_consume(cr, uid, [1], context={'active_ids': stock_ids})
+ self.do_move_consume(cr, uid, [ref('stock_move_consume0')], context={'active_ids': stock_ids})
-
And finally production order is done.
-