refactor: separate custom doctypes and reports
This commit is contained in:
parent
5baa07db57
commit
8a85c2fe02
1 changed files with 7 additions and 3 deletions
|
|
@ -276,9 +276,13 @@ def get_table_with_counts():
|
|||
def get_custom_reports_and_doctypes(module):
|
||||
return [
|
||||
_dict({
|
||||
"label": "Custom",
|
||||
"links": get_custom_doctype_list(module) + get_custom_report_list(module)
|
||||
})
|
||||
"label": _("Custom Documents"),
|
||||
"links": get_custom_doctype_list(module)
|
||||
}),
|
||||
_dict({
|
||||
"label": _("Custom Reports"),
|
||||
"links": get_custom_report_list(module)
|
||||
}),
|
||||
]
|
||||
|
||||
def get_custom_doctype_list(module):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue