[IMP]Improved code for Production Status field should show Draft before saving.
bzr revid: psa@tinyerp.com-20121129083922-ptdosthtbrilfunj
This commit is contained in:
parent
b4718f0d63
commit
8ad111af91
|
@ -98,7 +98,8 @@ class mrp_production_workcenter_line(osv.osv):
|
|||
|
||||
_defaults = {
|
||||
'state': lambda *a: 'draft',
|
||||
'delay': lambda *a: 0.0
|
||||
'delay': lambda *a: 0.0,
|
||||
'production_state': 'draft'
|
||||
}
|
||||
|
||||
def modify_production_order_state(self, cr, uid, ids, action):
|
||||
|
|
Loading…
Reference in New Issue