fix(minor): typo
This commit is contained in:
parent
93785b71a2
commit
d821528fa2
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ def get_data(module, build=True):
|
|||
return data
|
||||
|
||||
def build_config_from_file(module):
|
||||
"""Build module info from `app/config/apptop.py` files."""
|
||||
"""Build module info from `app/config/desktop.py` files."""
|
||||
data = []
|
||||
module = frappe.scrub(module)
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ def add_section(data, label, icon, items):
|
|||
|
||||
|
||||
def add_custom_doctypes(data, doctype_info):
|
||||
"""Adds Custom DocTypes to modules setup via `config/apptop.py`."""
|
||||
"""Adds Custom DocTypes to modules setup via `config/desktop.py`."""
|
||||
add_section(data, _("Documents"), "fa fa-star",
|
||||
[d for d in doctype_info if (d.custom and d.document_type in ("Document", "Transaction"))])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue