Add unit_price to move
This commit is contained in:
1 parent
586ad348f8
commit
ba7c377e45
1 file changed
+2
@@ -663,6 +663,8 @@ class PurchaseLine(OSV):
|
||||
vals['to_location'] = line.purchase.warehouse.input_location.id
|
||||
vals['state'] = 'waiting'
|
||||
vals['company'] = line.purchase.company.id
|
||||
vals['unit_price'] = line.unit_price
|
||||
vals['currency'] = line.currency.id
|
||||
|
||||
move_id = move_obj.create(cursor, user, vals, context=context)
|
||||
|
||||
|
||||
Reference in new issue
Block a user