From 43552ef2fb85fa5e81dfbb585ae5b98777587d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 11 Nov 2012 15:56:04 +0100 Subject: [PATCH] Set planned date for output move if no bom defined --- production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/production.py b/production.py index 8cc125ae1b..b05e9534bc 100644 --- a/production.py +++ b/production.py @@ -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)