[IMP] optimize code

bzr revid: rma@tinyerp.com-20130826122712-9sh92a7tytw0h26i
This commit is contained in:
Randhir Mayatra (OpenERP)
2013-08-26 17:57:12 +05:30
parent ab73a09383
commit c14bdb4f4c
+4 -4
View File
@@ -47,8 +47,8 @@
Process the reception of purchase order 1
-
!python {model: stock.picking}: |
order = self.pool.get('purchase.order').browse(cr, uid, ref("purchase_order_fiforet1")).picking_ids[0]
order.do_partial(context=context)
picking_id = self.pool.get('purchase.order').browse(cr, uid, ref("purchase_order_fiforet1")).picking_ids[0]
picking_id.do_partial(context=context)
-
Check the standard price of the product (fifo icecream)
-
@@ -62,8 +62,8 @@
Process the reception of purchase order 2
-
!python {model: stock.picking}: |
order = self.pool.get('purchase.order').browse(cr, uid, ref("purchase_order_fiforet2")).picking_ids[0]
order.do_partial(context=context)
picking_id = self.pool.get('purchase.order').browse(cr, uid, ref("purchase_order_fiforet2")).picking_ids[0]
picking_id.do_partial(context=context)
-
Return the goods of purchase order 2
-