[IMP] stock: improved translatability
bzr revid: qdp-launchpad@openerp.com-20110711160956-k3ehprj6vmx5hy4y
This commit is contained in:
parent
9c3534843d
commit
76c7432e3b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue