Use unit_shipment_cost converted to write on move
issue3101 review741003 (transplanted from ce5d031022cdc417ddc334a76f8e4c3b1def9636)
This commit is contained in:
1 parent
b861469e7a
commit
c3e9ba5e89
1 file changed
+2
-2
@@ -151,8 +151,8 @@ class ShipmentIn(Model):
|
||||
unit_shipment_cost = unit_shipment_cost.quantize(
|
||||
exp, rounding=ROUND_HALF_EVEN)
|
||||
move_obj.write(move.id, {
|
||||
'unit_price': move.unit_price + cost['unit_shipment_cost'],
|
||||
'unit_shipment_cost': cost['unit_shipment_cost'],
|
||||
'unit_price': move.unit_price + unit_shipment_cost,
|
||||
'unit_shipment_cost': unit_shipment_cost,
|
||||
})
|
||||
|
||||
@ModelView.button
|
||||
|
||||
Reference in new issue
Block a user