Changd Typos
authorFabien Pinckaers <fp@tinyerp.com>
Mon, 14 Jul 2008 17:14:22 +0000 (19:14 +0200)
committerFabien Pinckaers <fp@tinyerp.com>
Mon, 14 Jul 2008 17:14:22 +0000 (19:14 +0200)
bzr revid: fp@tinyerp.com-20080714171422-jg2tagh2sbraeysu

addons/stock/wizard/stock_traceability.py

index 3d0de2a..5e765b2 100644 (file)
@@ -42,7 +42,7 @@ def action_traceability(type='move_history_ids', field='tracking_id'):
                view_id = cr.fetchone()[0]
                value = {
                        'domain': "[('id','in',["+','.join(map(str,ids))+"])]",
-                       'name': 'Open Stock Move',
+                       'name': ((type=='move_history_ids') and 'Upstream Traceability') or 'Downstream Traceability',
                        'view_type': 'tree',
                        'res_model': 'stock.move',
                        'field_parent': type,