[IMP]:check planned end date for production order in mrp operation
bzr revid: ksa@tinyerp.com-20110920072144-v5irvw226evkt8uv
This commit is contained in:
parent
ed2f99fe34
commit
277af72747
|
@ -161,4 +161,12 @@
|
|||
Calculates start date for stock moves finding interval from resource calendar.
|
||||
-
|
||||
!python {model: mrp.production}: |
|
||||
self._move_pass(cr, uid, [ref('mrp_production_mo0')], context=None)
|
||||
self._move_pass(cr, uid, [ref('mrp_production_mo0')], context=None)
|
||||
-
|
||||
Calculates planned end date of production order.
|
||||
-
|
||||
!python {model: mrp.production}: |
|
||||
mo = self.browse(cr, uid, ref("mrp_production_mo0"))
|
||||
prop=mo.date_planned
|
||||
unknow_none=False
|
||||
self._production_date_end(cr, uid, [ref("mrp_production_mo0")], prop, unknow_none, context=None)
|
||||
|
|
Loading…
Reference in New Issue