[WIP]move active field of stock_location_route
bzr revid: csn@openerp.com-20130927111840-c5rfj8yvz3haur4g
This commit is contained in:
parent
1fcc7a937b
commit
3ad5398a4e
|
@ -139,10 +139,12 @@ class stock_location_route(osv.osv):
|
|||
'name': fields.char('Route Name', required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'pull_ids': fields.one2many('procurement.rule', 'route_id', 'Pull Rules'),
|
||||
'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the route without removing it.")
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'sequence': lambda self,cr,uid,ctx: 0,
|
||||
'active': True,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue