diff --git a/modules/production/production.py b/modules/production/production.py index 54f238edb2..e0f4b31fef 100644 --- a/modules/production/production.py +++ b/modules/production/production.py @@ -379,7 +379,8 @@ class Production(ShipmentAssignMixin, Workflow, ModelSQL, ModelView): move.from_location = self.location move.to_location = self.output_location move.production_output = self - if move.on_change_with_unit_price_required(): + move.unit_price_required = move.on_change_with_unit_price_required() + if move.unit_price_required: move.unit_price = Decimal(0) if self.company: move.currency = self.company.currency