[WIP]move active field of stock_location_route

bzr revid: csn@openerp.com-20130927111840-c5rfj8yvz3haur4g
This commit is contained in:
Cedric Snauwaert 2013-09-27 13:18:40 +02:00
parent 1fcc7a937b
commit 3ad5398a4e
1 changed files with 2 additions and 0 deletions

View File

@ -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,
}