diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2013-09-27 13:18:40 +0200 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2013-09-27 13:18:40 +0200 |
| commit | 3ad5398a4ecebaa8bbf469f0067d58df982fc5f3 (patch) | |
| tree | 13548734de7717f231ce91e3fd2560ecf7440144 | |
| parent | 1fcc7a937be397a98423a4262d87bb826ae90152 (diff) | |
[WIP]move active field of stock_location_route
bzr revid: csn@openerp.com-20130927111840-c5rfj8yvz3haur4g
| -rw-r--r-- | addons/stock/stock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 1f2b7530f14..0c8df8f8173 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -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, } |
