From 8c9c30b604a7a23728568fa3d25259992c011a8d Mon Sep 17 00:00:00 2001 From: Raph Date: Thu, 12 Nov 2015 14:29:07 +0100 Subject: [PATCH] [IMP] don't translate stock.location.route And incr num version And tell it in the description --- stock_usability/__openerp__.py | 3 ++- stock_usability/stock.py | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stock_usability/__openerp__.py b/stock_usability/__openerp__.py index dc4e6bd..23d75a7 100644 --- a/stock_usability/__openerp__.py +++ b/stock_usability/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Stock Usability', - 'version': '0.1', + 'version': '0.2', 'category': 'Inventory, Logistic, Storage', 'license': 'AGPL-3', 'summary': 'Several usability enhancements in Warehouse management', @@ -36,6 +36,7 @@ The usability enhancements inclure: * always display the field *Backorder* on the form view of picking (by default, this field is only displayed when it has a value, so the user doesn't know when the field has no value because he doesn't see the field !) * add a group by Partner in the picking search view (particularly usefull for receptions) * add graph view for pickings +* remove ability to translate stock.location, stock.location.route and stock.picking.type This module has been written by Alexis de Lattre from Akretion . """, diff --git a/stock_usability/stock.py b/stock_usability/stock.py index cf349eb..c81df28 100644 --- a/stock_usability/stock.py +++ b/stock_usability/stock.py @@ -50,6 +50,10 @@ class StockPickingType(models.Model): name = fields.Char(translate=False) +class StockLocationRoute(models.Model) + _inherit = 'stock.location.route' + + name = fields.Char(translate=False) class StockWarehouseOrderpoint(models.Model): _inherit = 'stock.warehouse.orderpoint'