Reviewers: ,


Please review this at http://codereview.tryton.org/699002/

Affected files:
  M trytond/ir/ui/menu.py


Index: trytond/ir/ui/menu.py
===================================================================

--- a/trytond/ir/ui/menu.py
+++ b/trytond/ir/ui/menu.py
@@ -220,7 +220,10 @@
         if action_keywords:
             with Transaction().set_context(_timestamp=False):
                 ActionKeyword.delete(action_keywords)
-        action_type, action_id = value.split(',')
+        if isinstance(value, basestring):
+            action_type, action_id = value.split(',')
+        else:
+            action_type, action_id = value
         if not int(action_id):
             return
         Action = pool.get(action_type)



--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to