Commit 08f41113 authored by Jérome Perrin's avatar Jérome Perrin

fixes the AttributeError 'optional' raised when the actions have not been...

fixes the AttributeError 'optional' raised when the actions have not been updated with the new attribute.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3406 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69f4681c
......@@ -180,7 +180,7 @@ class PatchedActionInformation(ActionInformation.oldActionInformation):
, visible=self.visible
, action=self.getActionExpression()
, icon=self.getIconExpression()
, optional=self.optional
, optional=self.getOption()
)
ActionInformation.ActionInformation = PatchedActionInformation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment