[IMP]Improved code for Production Status field should show Draft before saving.

bzr revid: psa@tinyerp.com-20121129083922-ptdosthtbrilfunj
This commit is contained in:
Paramjit Singh Sahota 2012-11-29 14:09:22 +05:30
parent b4718f0d63
commit 8ad111af91
1 changed files with 2 additions and 1 deletions

View File

@ -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):