modules/production
changeset 35:ad9a54f0429d
Set planned date for output move if no bom defined
| author | Cédric Krier <ced@b2ck.com> |
|---|---|
| date | Sun, 11 Nov 2012 15:56:04 +0100 |
| parents | 57ab911f593b |
| children | a941a638717a |
| files | production.py |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/production.py Mon Oct 22 18:17:50 2012 +0200 1.2 +++ b/production.py Sun Nov 11 15:56:04 2012 +0100 1.3 @@ -393,6 +393,7 @@ 1.4 move.production_output = self 1.5 move.unit_price = Decimal(0) 1.6 move.save() 1.7 + self._set_move_planned_date() 1.8 return 1.9 1.10 factor = self.bom.compute_factor(self.product, self.quantity, self.uom)
