[Fix] point_of_sale:Fix the problem of stock_move

bzr revid: sbh@tinyerp.com-20100524074707-1hb2so5bea1aatto
This commit is contained in:
sbh (Open ERP)
2010-05-24 13:17:07 +05:30
parent ccd6981b36
commit 196972157a
+1 -1
View File
@@ -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,