diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-07-16 10:25:53 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-07-16 10:25:53 +0200 |
| commit | dfa4d92eca2ff5c8ee511a81dfb759796d69ab02 (patch) | |
| tree | dee3b284c0b4cc4f5127afb0b9d8ea5cbda8b8ec /addons/stock/controllers/main.py | |
| parent | c0875efba1f51c8bd4c00401abfc02d641ae3fb9 (diff) | |
[IMP] changed barcode start page url to /stock/barcode
As a convention we use the module name as first fragment of the url
Diffstat (limited to 'addons/stock/controllers/main.py')
| -rw-r--r-- | addons/stock/controllers/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/stock/controllers/main.py b/addons/stock/controllers/main.py index fa2744a4498..44531169254 100644 --- a/addons/stock/controllers/main.py +++ b/addons/stock/controllers/main.py @@ -8,9 +8,9 @@ _logger = logging.getLogger(__name__) class BarcodeController(http.Controller): - @http.route(['/barcode/web/'], type='http', auth='user') + @http.route(['/stock/barcode/'], type='http', auth='user') def a(self, debug=False, **k): if not request.session.uid: - return http.local_redirect('/web/login?redirect=/barcode/web') + return http.local_redirect('/web/login?redirect=/stock/barcode/') return request.render('stock.barcode_index') |
