[IMP] print partial pick_ids
bzr revid: jco@openerp.com-20130510131732-0j3vnj65uioeybhc
This commit is contained in:
@@ -198,7 +198,7 @@
|
||||
product_uom: product.product_uom_kgm
|
||||
price_unit: 150
|
||||
-
|
||||
I confirm the first purchase order
|
||||
I confirm the purchase order in USD
|
||||
-
|
||||
!workflow {model: purchase.order, action: purchase_confirm, ref: purchase_order_fifo_usd}
|
||||
-
|
||||
@@ -206,7 +206,9 @@
|
||||
-
|
||||
!python {model: stock.partial.picking}: |
|
||||
pick_ids = self.pool.get('purchase.order').browse(cr, uid, ref("purchase_order_fifo_usd")).picking_ids
|
||||
print pick_ids
|
||||
partial_id = self.create(cr, uid, {}, context={'active_model': 'stock.picking','active_ids': [pick_ids[0].id]})
|
||||
print partial_id
|
||||
self.do_partial(cr, uid, [partial_id])
|
||||
-
|
||||
We create delivery order of 49500 gram
|
||||
|
||||
Reference in New Issue
Block a user