From 76c7432e3bb4a5f8661a0fbc1105ce7a33720217 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 11 Jul 2011 18:09:56 +0200 Subject: [PATCH] [IMP] stock: improved translatability bzr revid: qdp-launchpad@openerp.com-20110711160956-k3ehprj6vmx5hy4y --- addons/stock/wizard/stock_traceability.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_traceability.py b/addons/stock/wizard/stock_traceability.py index aeccdb335a9..2fab72bba3a 100644 --- a/addons/stock/wizard/stock_traceability.py +++ b/addons/stock/wizard/stock_traceability.py @@ -20,6 +20,7 @@ ############################################################################## from osv import fields, osv +from tools.translate import _ class action_traceability(osv.osv_memory): """ @@ -49,7 +50,7 @@ class action_traceability(osv.osv_memory): view_id = cr.fetchone()[0] value = { 'domain': "[('id','in',["+','.join(map(str, ids))+"])]", - 'name': ((type1=='move_history_ids2') and 'Upstream Traceability') or 'Downstream Traceability', + 'name': ((type1=='move_history_ids2') and _('Upstream Traceability')) or _('Downstream Traceability'), 'view_type': 'tree', 'res_model': 'stock.move', 'field_parent': type1,