def get_data(): data = [{ "label": _("Meeting"), "icon": "fa fa-star", "items": [{ "type": "doctype", "name": "Meeting", "description": _("Content web page."), "onboard": 1, }] }] add_setup_section(data, "meeting", "Meeting", _("Meeting"), "fa fa-globe") return data
def get_data(): data = [{ "label": _("Users"), "icon": "icon-group", "items": [{ "type": "doctype", "name": "User", "description": _("System and Website Users") }, { "type": "doctype", "name": "Role", "description": _("User Roles") }] }, { "label": _("Permissions"), "icon": "icon-lock", "items": [{ "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "icon-lock", "description": _("Set Permissions on Document Types and Roles") }, { "type": "page", "name": "user-permissions", "label": _("User Permissions Manager"), "icon": "icon-shield", "description": _("Set Permissions per User") }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "icon-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User") }] }, { "label": _("Settings"), "icon": "icon-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "page", "name": "modules_setup", "label": _("Show / Hide Modules"), "icon": "icon-upload", "description": _("Show or hide modules globally.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, ] }, { "label": _("Data"), "icon": "icon-th", "items": [{ "type": "page", "name": "data-import-tool", "label": _("Import / Export Data"), "icon": "icon-upload", "description": _("Import / Export Data from .csv files.") }, { "type": "doctype", "name": "Rename Tool", "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "doctype", "name": "File Data", "description": _("Manage uploaded files.") }] }, { "label": _("Workflow"), "icon": "icon-random", "items": [ { "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, ] }, { "label": _("Email"), "icon": "icon-envelope", "items": [ { "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Alert", "description": _("Setup Email Alert based on various criteria.") }, { "type": "doctype", "name": "Standard Reply", "description": _("Standard replies to common queries.") }, ] }, { "label": _("Printing"), "icon": "icon-print", "items": [ { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transctions.") }, ] }, { "label": _("Customize"), "icon": "icon-glass", "items": [{ "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True }, { "type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.") }, { "type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.") }] }, { "label": _("System"), "icon": "icon-cog", "items": [ { "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "icon-download" }, { "type": "doctype", "name": "Backup Manager", "label": _("Download Backup"), "onclick": "frappe.ui.toolbar.download_backup", "icon": "icon-download-alt", "description": _("Send download link of a recent backup to System Managers"), "hide_count": True }, { "type": "doctype", "name": "Backup Manager", "description": _("Manage cloud backups on Dropbox"), "hide_count": True }, { "type": "doctype", "name": "Scheduler Log", "description": _("Log of error on automated events (scheduler).") }, ] }] add_setup_section(data, "frappe", "website", _("Website"), "icon-globe") return data
def get_data(): data = [ { "label": _("Users"), "icon": "icon-group", "items": [{ "type": "doctype", "name": "User", "description": _("System and Website Users") }, { "type": "doctype", "name": "Role", "description": _("User Roles") }] }, { "label": _("Permissions"), "icon": "icon-lock", "items": [{ "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "icon-lock", "description": _("Set Permissions on Document Types and Roles") }, { "type": "page", "name": "user-permissions", "label": _("User Permissions Manager"), "icon": "icon-shield", "description": _("Set Permissions per User") }, { "type": "page", "name": "modules_setup", "label": _("Show / Hide Modules"), "icon": "icon-upload", "description": _("Show or hide modules globally.") }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "icon-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User") }, { "type": "report", "doctype": "DocShare", "icon": "icon-share", "name": "Document Share Report", "description": _("Report of all document shares") }] }, { "label": _("Settings"), "icon": "icon-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "doctype", "name": "Scheduler Log", "description": _("Log of error on automated events (scheduler).") }, { "type": "doctype", "name": "Error Snapshot", "description": _("Log of error during requests.") }, ] }, { "label": _("Data"), "icon": "icon-th", "items": [ { "type": "page", "name": "data-import-tool", "label": _("Import / Export Data"), "icon": "icon-upload", "description": _("Import / Export Data from .csv files.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, { "type": "doctype", "name": "Rename Tool", "label": _("Bulk Rename"), "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "page", "name": "backups", "label": _("Download Backups"), "description": _("List of backups available for download"), "icon": "icon-download" }, ] }, { "label": _("Email"), "icon": "icon-envelope", "items": [ { "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Alert", "description": _("Setup Email Alert based on various criteria.") }, { "type": "doctype", "name": "Standard Reply", "description": _("Standard replies to common queries.") }, ] }, { "label": _("Printing"), "icon": "icon-print", "items": [ { "type": "page", "label": "Print Format Builder", "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats." ) }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions.") }, ] }, { "label": _("Workflow"), "icon": "icon-random", "items": [ { "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, ] }, { "label": _("Integrations"), "icon": "icon-star", "items": [{ "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "icon-download" }, { "type": "doctype", "name": "Social Login Keys", "description": _("Enter keys to enable login via Facebook, Google, GitHub."), }, { "type": "doctype", "name": "Dropbox Backup", "description": _("Manage cloud backups on Dropbox"), "hide_count": True }] }, { "label": _("Customize"), "icon": "icon-glass", "items": [{ "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True }, { "type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.") }, { "type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.") }, { "type": "doctype", "name": "DocType", "description": _("Add custom forms.") }] }, ] add_setup_section(data, "frappe", "website", _("Website"), "icon-globe") return data
def get_data(): data = [{ "label": _("Settings"), "icon": "icon-wrench", "items": [{ "type": "doctype", "name": "Global Defaults", "label": _("Global Settings"), "description": _("Set Default Values like Company, Currency, Current Fiscal Year, etc." ), "hide_count": True }] }, { "label": _("Printing"), "icon": "icon-print", "items": [ { "type": "doctype", "name": "Letter Head", "description": _("Letter Heads for print templates.") }, { "type": "doctype", "name": "Print Heading", "description": _("Titles for print templates e.g. Proforma Invoice.") }, { "type": "doctype", "name": "Address Template", "description": _("Country wise default Address Templates") }, { "type": "doctype", "name": "Terms and Conditions", "description": _("Standard contract terms for Sales or Purchase.") }, ] }, { "label": _("Help"), "items": [ { "type": "help", "name": _("Data Import and Export"), "youtube_id": "6wiriRKPhmg" }, { "type": "help", "label": _("Setting up Email"), "youtube_id": "YFYe0DrB95o" }, { "type": "help", "label": _("Printing and Branding"), "youtube_id": "cKZHcx1znMc" }, { "type": "help", "label": _("Users and Permissions"), "youtube_id": "fnBoRhBrwR4" }, { "type": "help", "label": _("Workflow"), "youtube_id": "yObJUg9FxFs" }, ] }, { "label": _("Customize"), "icon": "icon-glass", "items": [{ "type": "doctype", "name": "Authorization Rule", "description": _("Create rules to restrict transactions based on values.") }, { "type": "doctype", "name": "Notification Control", "label": _("Email Notifications"), "description": _("Automatically compose message on submission of transactions.") }] }, { "label": _("Email"), "icon": "icon-envelope", "items": [ { "type": "doctype", "name": "Email Digest", "description": _("Create and manage daily, weekly and monthly email digests.") }, { "type": "doctype", "name": "SMS Settings", "description": _("Setup SMS gateway settings") }, ] }] for module, label, icon in (("accounts", _("Accounts"), "icon-money"), ("stock", _("Stock"), "icon-truck"), ("selling", _("Selling"), "icon-tag"), ("buying", _("Buying"), "icon-shopping-cart"), ("hr", _("Human Resources"), "icon-group"), ("support", _("Support"), "icon-phone")): add_setup_section(data, "erpnext", module, label, icon) return data
def get_data(): data = [ { "label": _("Core"), "icon": "fa fa-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "doctype", "name": "Error Log", "description": _("Log of error on automated events (scheduler).") }, { "type": "doctype", "name": "Error Snapshot", "description": _("Log of error during requests.") }, { "type": "doctype", "name": "Domain Settings", "label": _("Domain Settings"), "description": _("Enable / Disable Domains"), "hide_count": True }, ] }, { "label": _("Data"), "icon": "fa fa-th", "items": [ { "type": "doctype", "name": "Data Import", "label": _("Import Data"), "icon": "octicon octicon-cloud-upload", "description": _("Import Data from CSV / Excel files.") }, { "type": "doctype", "name": "Data Export", "label": _("Export Data"), "icon": "octicon octicon-cloud-upload", "description": _("Export Data in CSV / Excel format.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, { "type": "doctype", "name": "Rename Tool", "label": _("Bulk Rename"), "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "doctype", "name": "Bulk Update", "label": _("Bulk Update"), "description": _("Update many values at one time."), "hide_count": True }, { "type": "page", "name": "backups", "label": _("Download Backups"), "description": _("List of backups available for download"), "icon": "fa fa-download" }, { "type": "doctype", "name": "Deleted Document", "label": _("Deleted Documents"), "description": _("Restore or permanently delete a document.") }, ] }, { "label": _("Email"), "icon": "fa fa-envelope", "items": [{ "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Domain", "description": _("Add / Manage Email Domains.") }, { "type": "doctype", "name": "Notification", "description": _("Setup Notifications based on various criteria.") }, { "type": "doctype", "name": "Email Template", "description": _("Email Templates for common queries.") }, { "type": "doctype", "name": "Auto Email Report", "description": _("Setup Reports to be emailed at regular intervals"), }, { "type": "doctype", "name": "Newsletter", "description": _("Create and manage newsletter") }] }, { "label": _("Printing"), "icon": "fa fa-print", "items": [ { "type": "page", "label": _("Print Format Builder"), "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats." ) }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions.") }, { "type": "doctype", "name": "Print Style", "description": _("Stylesheets for Print Formats") }, ] }, { "label": _("Workflow"), "icon": "fa fa-random", "items": [{ "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, { "type": "doctype", "name": "Assignment Rule", "description": _("Set up rules for user assignments.") }] }, ] add_setup_section(data, "frappe", "website", _("Website"), "fa fa-globe") return data
def get_data(): data = [ { "label": _("Users"), "icon": "icon-group", "items": [ {"type": "doctype", "name": "User", "description": _("System and Website Users")}, {"type": "doctype", "name": "Role", "description": _("User Roles")}, ], }, { "label": _("Permissions"), "icon": "icon-lock", "items": [ { "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "icon-lock", "description": _("Set Permissions on Document Types and Roles"), }, { "type": "page", "name": "user-permissions", "label": _("User Permissions Manager"), "icon": "icon-shield", "description": _("Set Permissions per User"), }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "icon-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User"), }, { "type": "report", "doctype": "DocShare", "icon": "icon-share", "name": "Document Share Report", "description": _("Report of all document shares"), }, ], }, { "label": _("Settings"), "icon": "icon-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True, }, { "type": "page", "name": "modules_setup", "label": _("Show / Hide Modules"), "icon": "icon-upload", "description": _("Show or hide modules globally."), }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True, }, ], }, { "label": _("Data"), "icon": "icon-th", "items": [ { "type": "page", "name": "data-import-tool", "label": _("Import / Export Data"), "icon": "icon-upload", "description": _("Import / Export Data from .csv files."), }, { "type": "doctype", "name": "Rename Tool", "description": _("Rename many items by uploading a .csv file."), "hide_count": True, }, {"type": "doctype", "name": "File Data", "description": _("Manage uploaded files.")}, ], }, { "label": _("Email"), "icon": "icon-envelope", "items": [ {"type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.")}, { "type": "doctype", "name": "Email Alert", "description": _("Setup Email Alert based on various criteria."), }, {"type": "doctype", "name": "Standard Reply", "description": _("Standard replies to common queries.")}, ], }, { "label": _("Printing"), "icon": "icon-print", "items": [ { "type": "page", "label": "Print Format Builder", "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats."), }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc."), }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions."), }, ], }, { "label": _("Workflow"), "icon": "icon-random", "items": [ {"type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.")}, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled)."), }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel)."), }, ], }, { "label": _("Customize"), "icon": "icon-glass", "items": [ { "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True, }, {"type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.")}, {"type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.")}, {"type": "doctype", "name": "DocType", "description": _("Add custom forms.")}, ], }, { "label": _("System"), "icon": "icon-cog", "items": [ { "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "icon-download", }, { "type": "doctype", "name": "Scheduler Log", "description": _("Log of error on automated events (scheduler)."), }, ], }, ] add_setup_section(data, "frappe", "website", _("Website"), "icon-globe") return data
def get_data(): data = [ { "label": _("Settings"), "icon": "icon-wrench", "items": [ { "type": "doctype", "name": "Global Defaults", "label": _("Global Settings"), "description": _("Set Default Values like Company, Currency, Current Fiscal Year, etc."), "hide_count": True, } ], }, { "label": _("Printing"), "icon": "icon-print", "items": [ {"type": "doctype", "name": "Letter Head", "description": _("Letter Heads for print templates.")}, { "type": "doctype", "name": "Print Heading", "description": _("Titles for print templates e.g. Proforma Invoice."), }, { "type": "doctype", "name": "Address Template", "description": _("Country wise default Address Templates"), }, { "type": "doctype", "name": "Terms and Conditions", "description": _("Standard contract terms for Sales or Purchase."), }, ], }, { "label": _("Help"), "items": [ {"type": "help", "name": _("Data Import and Export"), "youtube_id": "6wiriRKPhmg"}, {"type": "help", "label": _("Setting up Email"), "youtube_id": "YFYe0DrB95o"}, {"type": "help", "label": _("Printing and Branding"), "youtube_id": "cKZHcx1znMc"}, {"type": "help", "label": _("Users and Permissions"), "youtube_id": "fnBoRhBrwR4"}, {"type": "help", "label": _("Workflow"), "youtube_id": "yObJUg9FxFs"}, ], }, { "label": _("Customize"), "icon": "icon-glass", "items": [ { "type": "doctype", "name": "Authorization Rule", "description": _("Create rules to restrict transactions based on values."), }, { "type": "doctype", "name": "Notification Control", "label": _("Email Notifications"), "description": _("Automatically compose message on submission of transactions."), }, ], }, { "label": _("Email"), "icon": "icon-envelope", "items": [ { "type": "doctype", "name": "Email Digest", "description": _("Create and manage daily, weekly and monthly email digests."), }, {"type": "doctype", "name": "SMS Settings", "description": _("Setup SMS gateway settings")}, ], }, ] for module, label, icon in ( ("accounts", _("Accounts"), "icon-money"), ("stock", _("Stock"), "icon-truck"), ("selling", _("Selling"), "icon-tag"), ("buying", _("Buying"), "icon-shopping-cart"), ("hr", _("Human Resources"), "icon-group"), ("support", _("Support"), "icon-phone"), ): add_setup_section(data, "erpnext", module, label, icon) return data
def get_data(): data = [ { "label": _("Users"), "icon": "fa fa-group", "items": [ { "type": "doctype", "name": "User", "description": _("System and Website Users") }, { "type": "doctype", "name": "Role", "description": _("User Roles") } ] }, { "label": _("Permissions"), "icon": "fa fa-lock", "items": [ { "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "fa fa-lock", "description": _("Set Permissions on Document Types and Roles") }, { "type": "page", "name": "user-permissions", "label": _("User Permissions Manager"), "icon": "fa fa-shield", "description": _("Set Permissions per User") }, { "type": "page", "name": "modules_setup", "label": _("Show / Hide Modules"), "icon": "fa fa-upload", "description": _("Show or hide modules globally.") }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "fa fa-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User") }, { "type": "report", "doctype": "DocShare", "icon": "fa fa-share", "name": "Document Share Report", "description": _("Report of all document shares") } ] }, { "label": _("Settings"), "icon": "fa fa-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "doctype", "name": "Error Log", "description": _("Log of error on automated events (scheduler).") }, { "type": "doctype", "name": "Error Snapshot", "description": _("Log of error during requests.") }, ] }, { "label": _("Data"), "icon": "fa fa-th", "items": [ { "type": "page", "name": "data-import-tool", "label": _("Import / Export Data"), "icon": "fa fa-upload", "description": _("Import / Export Data from .csv files.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, { "type": "doctype", "name": "Rename Tool", "label": _("Bulk Rename"), "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "doctype", "name": "Bulk Update", "label": _("Bulk Update"), "description": _("Update many values at one time."), "hide_count": True }, { "type": "page", "name": "backups", "label": _("Download Backups"), "description": _("List of backups available for download"), "icon": "fa fa-download" }, ] }, { "label": _("Email"), "icon": "fa fa-envelope", "items": [ { "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Alert", "description": _("Setup Email Alert based on various criteria.") }, { "type": "doctype", "name": "Standard Reply", "description": _("Standard replies to common queries.") }, { "type": "doctype", "name": "Auto Email Report", "description": _("Setup Reports to be emailed at regular intervals"), }, ] }, { "label": _("Printing"), "icon": "fa fa-print", "items": [ { "type": "page", "label": "Print Format Builder", "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats.") }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions.") }, ] }, { "label": _("Workflow"), "icon": "fa fa-random", "items": [ { "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, ] }, { "label": _("Integrations"), "icon": "fa fa-star", "items": [ { "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "fa fa-download" }, { "type": "doctype", "name": "Social Login Keys", "description": _("Enter keys to enable login via Facebook, Google, GitHub."), }, { "type": "doctype", "name": "Integration Service", "description": _("Centralize access to Integrations"), }, { "type": "doctype", "name": "OAuth Client", "description": _("Register OAuth Client App"), }, { "type": "doctype", "name": "OAuth Provider Settings", "description": _("Settings for OAuth Provider"), }, ] }, { "label": _("Customize"), "icon": "fa fa-glass", "items": [ { "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True }, { "type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.") }, { "type": "doctype", "label": _("Custom Translations"), "name": "Translation", "description": _("Add your own translations") }, { "type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.") }, { "type": "doctype", "name": "DocType", "description": _("Add custom forms.") }, { "type": "doctype", "label": _("Custom Tags"), "name": "Tag Category", "description": _("Add your own Tag Categories") } ] }, ] add_setup_section(data, "frappe", "website", _("Website"), "fa fa-globe") return data
def get_data(): data = [ { "label": _("Settings"), "icon": "icon-wrench", "items": [ { "type": "doctype", "name": "Global Defaults", "label": _("Global Settings"), "description": _("Set Default Values like Company, Currency, Current Fiscal Year, etc."), "hide_count": True } ] }, { "label": _("Printing"), "icon": "icon-print", "items": [ { "type": "doctype", "name": "Letter Head", "description": _("Letter Heads for print templates.") }, { "type": "doctype", "name": "Print Heading", "description": _("Titles for print templates e.g. Proforma Invoice.") }, { "type": "doctype", "name": "Address Template", "description": _("Country wise default Address Templates") }, { "type": "doctype", "name": "Terms and Conditions", "description": _("Standard contract terms for Sales or Purchase.") }, ] }, { "label": _("Customize"), "icon": "icon-glass", "items": [ { "type": "doctype", "name": "Features Setup", "description": _("Show / Hide features like Serial Nos, POS etc.") }, { "type": "doctype", "name": "Authorization Rule", "description": _("Create rules to restrict transactions based on values.") }, { "type": "doctype", "name": "Notification Control", "label": _("Email Notifications"), "description": _("Automatically compose message on submission of transactions.") } ] }, { "label": _("Email"), "icon": "icon-envelope", "items": [ { "type": "doctype", "name": "Email Digest", "description": _("Create and manage daily, weekly and monthly email digests.") }, { "type": "doctype", "name": "SMS Settings", "description": _("Setup SMS gateway settings") }, ] }, { "label": _("Masters"), "icon": "icon-star", "items": [ { "type": "doctype", "name": "Company", "description": _("Company (not Customer or Supplier) master.") }, { "type": "doctype", "name": "Item", "description": _("Item master.") }, { "type": "doctype", "name": "Customer", "description": _("Customer master.") }, { "type": "doctype", "name": "Supplier", "description": _("Supplier master.") }, { "type": "doctype", "name": "Contact", "description": _("Contact master.") }, { "type": "doctype", "name": "Address", "description": _("Address master.") }, ] }, ] for module, label, icon in ( ("accounts", _("Accounts"), "icon-money"), ("stock", _("Stock"), "icon-truck"), ("selling", _("Selling"), "icon-tag"), ("buying", _("Buying"), "icon-shopping-cart"), ("hr", _("Human Resources"), "icon-group"), ("support", _("Support"), "icon-phone")): add_setup_section(data, "erpnext", module, label, icon) return data
def get_data(): data = [{ "label": _("Users"), "icon": "fa fa-group", "items": [{ "type": "doctype", "name": "User", "description": _("System and Website Users") }, { "type": "doctype", "name": "Role", "description": _("User Roles") }, { "type": "doctype", "name": "Role Profile", "description": _("Role Profile") }] }, { "label": _("Permissions"), "icon": "fa fa-lock", "items": [{ "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "fa fa-lock", "description": _("Set Permissions on Document Types and Roles") }, { "type": "doctype", "name": "Role Permission for Page and Report", "description": _("Set custom roles for page and report") }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "fa fa-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User") }, { "type": "report", "doctype": "DocShare", "icon": "fa fa-share", "name": "Document Share Report", "description": _("Report of all document shares") }] }, { "label": _("Settings"), "icon": "fa fa-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "doctype", "name": "Error Log", "description": _("Log of error on automated events (scheduler).") }, { "type": "doctype", "name": "Error Snapshot", "description": _("Log of error during requests.") }, { "type": "doctype", "name": "Domain Settings", "label": _("Domain Settings"), "description": _("Enable / Disable Domains"), "hide_count": True }, ] }, { "label": _("Data"), "icon": "fa fa-th", "items": [ { "type": "doctype", "name": "Data Import", "label": _("Import / Export Data"), "icon": "octicon octicon-cloud-upload", "description": _("Import / Export Data from CSV and Excel files.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, { "type": "doctype", "name": "Rename Tool", "label": _("Bulk Rename"), "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "doctype", "name": "Bulk Update", "label": _("Bulk Update"), "description": _("Update many values at one time."), "hide_count": True }, { "type": "page", "name": "backups", "label": _("Download Backups"), "description": _("List of backups available for download"), "icon": "fa fa-download" }, { "type": "doctype", "name": "Deleted Document", "label": _("Deleted Documents"), "description": _("Restore or permanently delete a document.") }, ] }, { "label": _("Email"), "icon": "fa fa-envelope", "items": [ { "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Domain", "description": _("Add / Manage Email Domains.") }, { "type": "doctype", "name": "Email Alert", "description": _("Setup Email Alert based on various criteria.") }, { "type": "doctype", "name": "Standard Reply", "description": _("Standard replies to common queries.") }, { "type": "doctype", "name": "Auto Email Report", "description": _("Setup Reports to be emailed at regular intervals"), }, ] }, { "label": _("Printing"), "icon": "fa fa-print", "items": [ { "type": "page", "label": _("Print Format Builder"), "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats.") }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions.") }, { "type": "doctype", "name": "Print Style", "description": _("Stylesheets for Print Formats") }, ] }, { "label": _("Workflow"), "icon": "fa fa-random", "items": [ { "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, ] }, { "label": _("Customize"), "icon": "fa fa-glass", "items": [{ "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True }, { "type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.") }, { "type": "doctype", "label": _("Custom Translations"), "name": "Translation", "description": _("Add your own translations") }, { "type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.") }, { "type": "doctype", "name": "DocType", "description": _("Add custom forms.") }, { "type": "doctype", "label": _("Custom Tags"), "name": "Tag Category", "description": _("Add your own Tag Categories") }] }, { "label": _("Applications"), "items": [ { "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "fa fa-download" }, ] }] add_setup_section(data, "frappe", "website", _("Website"), "fa fa-globe") return data
def get_data(): data = [{ "label": _("Settings"), "icon": "fa fa-wrench", "items": [{ "type": "doctype", "name": "Global Defaults", "label": _("ERPNext Settings"), "description": _("Set Default Values like Company, Currency, Current Fiscal Year, etc." ), "hide_count": True, "settings": 1, }] }, { "label": _("Printing"), "icon": "fa fa-print", "items": [ { "type": "doctype", "name": "Letter Head", "description": _("Letter Heads for print templates."), "onboard": 1, }, { "type": "doctype", "name": "Print Heading", "description": _("Titles for print templates e.g. Proforma Invoice.") }, { "type": "doctype", "name": "Address Template", "description": _("Country wise default Address Templates") }, { "type": "doctype", "name": "Terms and Conditions", "description": _("Standard contract terms for Sales or Purchase.") }, ] }, { "label": _("Customize"), "icon": "fa fa-glass", "items": [{ "type": "doctype", "name": "Authorization Rule", "description": _("Create rules to restrict transactions based on values.") }] }, { "label": _("Email"), "icon": "fa fa-envelope", "items": [ { "type": "doctype", "name": "Email Digest", "description": _("Create and manage daily, weekly and monthly email digests.") }, { "type": "doctype", "name": "SMS Settings", "description": _("Setup SMS gateway settings") }, ] }] for module, label, icon in (("accounts", _("Accounting"), "fa fa-money"), ("stock", _("Stock"), "fa fa-truck"), ("selling", _("Selling"), "fa fa-tag"), ("buying", _("Buying"), "fa fa-shopping-cart"), ("hr", _("Human Resources"), "fa fa-group"), ("support", _("Support"), "fa fa-phone")): add_setup_section(data, "erpnext", module, label, icon) return data
def get_data(): data = [ { "label": _("Users"), "icon": "fa fa-group", "items": [ { "type": "doctype", "name": "User", "description": _("System and Website Users") }, { "type": "doctype", "name": "Role", "description": _("User Roles") }, { "type": "doctype", "name": "Role Profile", "description": _("Role Profile") } ] }, { "label": _("Permissions"), "icon": "fa fa-lock", "items": [ { "type": "page", "name": "permission-manager", "label": _("Role Permissions Manager"), "icon": "fa fa-lock", "description": _("Set Permissions on Document Types and Roles") }, { "type": "doctype", "name": "User Permission", "label": _("User Permissions"), "icon": "fa fa-lock", "description": _("Restrict user for specific document") }, { "type": "doctype", "name": "Role Permission for Page and Report", "description": _("Set custom roles for page and report") }, { "type": "report", "is_query_report": True, "doctype": "User", "icon": "fa fa-eye-open", "name": "Permitted Documents For User", "description": _("Check which Documents are readable by a User") }, { "type": "report", "doctype": "DocShare", "icon": "fa fa-share", "name": "Document Share Report", "description": _("Report of all document shares") } ] }, { "label": _("Settings"), "icon": "fa fa-wrench", "items": [ { "type": "doctype", "name": "System Settings", "label": _("System Settings"), "description": _("Language, Date and Time settings"), "hide_count": True }, { "type": "doctype", "name": "Error Log", "description": _("Log of error on automated events (scheduler).") }, { "type": "doctype", "name": "Error Snapshot", "description": _("Log of error during requests.") }, { "type": "doctype", "name": "Domain Settings", "label": _("Domain Settings"), "description": _("Enable / Disable Domains"), "hide_count": True }, ] }, { "label": _("Data"), "icon": "fa fa-th", "items": [ { "type": "doctype", "name": "Data Import", "label": _("Import Data"), "icon": "octicon octicon-cloud-upload", "description": _("Import Data from CSV / Excel files.") }, { "type": "doctype", "name": "Data Export", "label": _("Export Data"), "icon": "octicon octicon-cloud-upload", "description": _("Export Data in CSV / Excel format.") }, { "type": "doctype", "name": "Naming Series", "description": _("Set numbering series for transactions."), "hide_count": True }, { "type": "doctype", "name": "Rename Tool", "label": _("Bulk Rename"), "description": _("Rename many items by uploading a .csv file."), "hide_count": True }, { "type": "doctype", "name": "Bulk Update", "label": _("Bulk Update"), "description": _("Update many values at one time."), "hide_count": True }, { "type": "page", "name": "backups", "label": _("Download Backups"), "description": _("List of backups available for download"), "icon": "fa fa-download" }, { "type": "doctype", "name": "Deleted Document", "label": _("Deleted Documents"), "description": _("Restore or permanently delete a document.") }, ] }, { "label": _("Email"), "icon": "fa fa-envelope", "items": [ { "type": "doctype", "name": "Email Account", "description": _("Add / Manage Email Accounts.") }, { "type": "doctype", "name": "Email Domain", "description": _("Add / Manage Email Domains.") }, { "type": "doctype", "name": "Notification", "description": _("Setup Notifications based on various criteria.") }, { "type": "doctype", "name": "Email Template", "description": _("Email Templates for common queries.") }, { "type": "doctype", "name": "Auto Email Report", "description": _("Setup Reports to be emailed at regular intervals"), }, { "type": "doctype", "name": "Newsletter", "description": _("Create and manage newsletter") } ] }, { "label": _("Printing"), "icon": "fa fa-print", "items": [ { "type": "page", "label": _("Print Format Builder"), "name": "print-format-builder", "description": _("Drag and Drop tool to build and customize Print Formats.") }, { "type": "doctype", "name": "Print Settings", "description": _("Set default format, page size, print style etc.") }, { "type": "doctype", "name": "Print Format", "description": _("Customized HTML Templates for printing transactions.") }, { "type": "doctype", "name": "Print Style", "description": _("Stylesheets for Print Formats") }, ] }, { "label": _("Workflow"), "icon": "fa fa-random", "items": [ { "type": "doctype", "name": "Workflow", "description": _("Define workflows for forms.") }, { "type": "doctype", "name": "Workflow State", "description": _("States for workflow (e.g. Draft, Approved, Cancelled).") }, { "type": "doctype", "name": "Workflow Action", "description": _("Actions for workflow (e.g. Approve, Cancel).") }, ] }, { "label": _("Customize"), "icon": "fa fa-glass", "items": [ { "type": "doctype", "name": "Customize Form", "description": _("Change field properties (hide, readonly, permission etc.)"), "hide_count": True }, { "type": "doctype", "name": "Custom Field", "description": _("Add fields to forms.") }, { "type": "doctype", "label": _("Custom Translations"), "name": "Translation", "description": _("Add your own translations") }, { "type": "doctype", "name": "Custom Script", "description": _("Add custom javascript to forms.") }, { "type": "doctype", "name": "DocType", "description": _("Add custom forms.") }, { "type": "doctype", "label": _("Custom Tags"), "name": "Tag Category", "description": _("Add your own Tag Categories") } ] }, { "label": _("Applications"), "items":[ { "type": "page", "name": "applications", "label": _("Application Installer"), "description": _("Install Applications."), "icon": "fa fa-download" }, ] } ] add_setup_section(data, "frappe", "website", _("Website"), "fa fa-globe") return data