Set planned date for output move if no bom defined

This commit is contained in:
Cédric Krier
2012-11-11 15:56:04 +01:00
parent 6a2d36ab9e
commit 43552ef2fb
+1
View File
@@ -393,6 +393,7 @@ class Production(Workflow, ModelSQL, ModelView):
move.production_output = self
move.unit_price = Decimal(0)
move.save()
self._set_move_planned_date()
return
factor = self.bom.compute_factor(self.product, self.quantity, self.uom)