[Fix] point_of_sale:Fix the problem of stock_move
bzr revid: sbh@tinyerp.com-20100524074707-1hb2so5bea1aatto
This commit is contained in:
@@ -505,7 +505,7 @@ class pos_order(osv.osv):
|
||||
if line.qty < 0:
|
||||
location_id, stock_dest_id = stock_dest_id, location_id
|
||||
|
||||
self.pool.get('stock.move').create(cr, uid, {
|
||||
self.pool.get('stock.move').create(cr, uid, {
|
||||
'name': 'Stock move (POS %d)' % (order.id, ),
|
||||
'product_uom': line.product_id.uom_id.id,
|
||||
'product_uos': line.product_id.uom_id.id,
|
||||
|
||||
Reference in New Issue
Block a user