[IMP]Improved breadcrumb value in 'Configuration Wizards'
authorPooja Zankhariya (OpenERP) <pza@tinyerp.com>
Wed, 6 Nov 2013 11:54:51 +0000 (16:54 +0500)
committerPooja Zankhariya (OpenERP) <pza@tinyerp.com>
Wed, 6 Nov 2013 11:54:51 +0000 (16:54 +0500)
bzr revid: pza@tinyerp.com-20131106115451-ydla3eu4awa2361m

openerp/addons/base/ir/ir_actions.py

index d8198f7..4ed6b24 100644 (file)
@@ -1018,6 +1018,9 @@ Launch Manually Once: after having been launched manually, it sets automatically
     }
     _order="sequence,id"
 
+    def name_get(self, cr, uid, ids, context=None):
+        return [(action["id"], "%s" % (action['action_id'][1])) for action in self.read(cr, uid, ids, ['action_id'], context=context)]
+
     def action_launch(self, cr, uid, ids, context=None):
         """ Launch Action of Wizard"""
         wizard_id = ids and ids[0] or False