erp5_xhtml_style: Add support for object_action_jio
Showing
... | @@ -7,6 +7,9 @@ if dialog_category == 'object_report': | ... | @@ -7,6 +7,9 @@ if dialog_category == 'object_report': |
return sorted(actions.get('object_report', []) + actions.get('object_report_jio', []), key=lambda x: x["priority"]) | return sorted(actions.get('object_report', []) + actions.get('object_report_jio', []), key=lambda x: x["priority"]) | ||
elif dialog_category == 'object_exchange': | elif dialog_category == 'object_exchange': | ||
return sorted(actions.get('object_exchange', []) + actions.get('object_exchange_jio', []), key=lambda x: x["priority"]) | return sorted(actions.get('object_exchange', []) + actions.get('object_exchange_jio', []), key=lambda x: x["priority"]) | ||
elif dialog_category == 'object_action': | |||
context.log(actions.get('object_action', [])) | |||
|
|||
return sorted(actions.get('object_action', []) + actions.get('object_action_jio', []), key=lambda x: x["priority"]) | |||
if dialog_category != 'object_print': | if dialog_category != 'object_print': | ||
return actions.get(dialog_category, []) | return actions.get(dialog_category, []) | ||
... | ... |