|
|
@@ -301,12 +301,14 @@ CUSTOMIZATION_MENU = Menu(
|
|
|
MenuItem(
|
|
|
link='extras:report_list',
|
|
|
link_text=_('Reports'),
|
|
|
- permissions=['extras.view_report']
|
|
|
+ permissions=['extras.view_report'],
|
|
|
+ buttons=get_model_buttons('extras', "reportmodule", actions=['add'])
|
|
|
),
|
|
|
MenuItem(
|
|
|
link='extras:script_list',
|
|
|
link_text=_('Scripts'),
|
|
|
- permissions=['extras.view_script']
|
|
|
+ permissions=['extras.view_script'],
|
|
|
+ buttons=get_model_buttons('extras', "scriptmodule", actions=['add'])
|
|
|
),
|
|
|
),
|
|
|
),
|