Commit 93f243da authored by Sebastien Robin's avatar Sebastien Robin

- Thanks to Kazuhiko, make sure to take into account the description

  of portal types actions when installing Business Templates


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24450 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 485c81bc
......@@ -828,6 +828,7 @@ class ObjectTemplateItem(BaseTemplateItem):
, visible = action.visible
, icon = getattr(action, 'icon', None) and action.icon.text or ''
, priority = action.priority
, description = action.description
)
# set workflow chain
wf_chain = subobjects_dict['workflow_chain']
......@@ -2219,6 +2220,7 @@ class ActionTemplateItem(ObjectTemplateItem):
, icon = getattr(action, 'icon', None)\
and action.icon.text or ''
, priority = action.priority
, description = action.description
)
# sort action based on the priority define on it
# XXX suppose that priority are properly on actions
......
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