[IMP] MRP : mrp.routing.workcenter made deletable on cascade effect

lp bug: https://launchpad.net/bugs/479747 fixed

bzr revid: jvo@tinyerp.com-20091111072344-r5o7k252rqrbhc9w
This commit is contained in:
Jay (Open ERP) 2009-11-11 12:53:44 +05:30
parent 4dc6cc8698
commit 2af45b4557
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class mrp_routing_workcenter(osv.osv):
'cycle_nbr': fields.float('Number of Cycle', required=True,
help="A cycle is defined in the workcenter definition."),
'hour_nbr': fields.float('Number of Hours', required=True),
'routing_id': fields.many2one('mrp.routing', 'Parent Routing', select=True),
'routing_id': fields.many2one('mrp.routing', 'Parent Routing', select=True, ondelete='cascade'),
'note': fields.text('Description')
}
_defaults = {