Reviewers: ,


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

Affected files:
  M trytond/ir/ui/board.rng
  M trytond/ir/ui/view.py


Index: trytond/ir/ui/board.rng
===================================================================

--- a/trytond/ir/ui/board.rng
+++ b/trytond/ir/ui/board.rng
@@ -498,6 +498,7 @@
     </element>
   </define>
   <define name="attlist.action" combine="interleave">
+    <attribute name="action"/>
     <attribute name="name"/>
   </define>
   <define name="attlist.action" combine="interleave">

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

--- a/trytond/ir/ui/view.py
+++ b/trytond/ir/ui/view.py
@@ -155,7 +155,7 @@

             def encode(element):
                 for attr in ('states', 'domain', 'context', 'digits',
-                        'add_remove', 'spell', 'colors'):
+                        'add_remove', 'spell', 'colors', 'action'):
                     if element.get(attr):
                         try:
                             value = safe_eval(element.get(attr), CONTEXT)



--
--
[email protected] mailing list



Reply via email to