config(modules): Rearrange links

This commit is contained in:
Prateeksha Singh 2019-02-06 17:02:41 +05:30
parent b5eb16faeb
commit 063af4ed08
9 changed files with 463 additions and 395 deletions

View File

@ -6,43 +6,30 @@ import frappe
def get_data(): def get_data():
config = [ config = [
{ {
"label": _("Billing"), "label": _("Masters and Accounts"),
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Sales Invoice", "name": "Item",
"description": _("Bills raised to Customers.") "onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Purchase Invoice", "name": "Customer",
"description": _("Bills raised by Suppliers.") "description": _("Customer database."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Payment Request", "name": "Supplier",
"description": _("Payment Request") "description": _("Supplier database."),
"onboard": 1,
}, },
{
"type": "doctype",
"name": "Payment Entry",
"description": _("Bank/Cash transactions against party or for internal transfer")
}
]
},
{
"label": _("Company and Accounts"),
"items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Company", "name": "Company",
"description": _("Company (not Customer or Supplier) master.") "description": _("Company (not Customer or Supplier) master."),
}, "onboard": 1,
{
"type": "doctype",
"name": "Journal Entry",
"description": _("Accounting journal entries.")
}, },
{ {
"type": "doctype", "type": "doctype",
@ -51,37 +38,144 @@ def get_data():
"label": _("Chart of Accounts"), "label": _("Chart of Accounts"),
"route": "Tree/Account", "route": "Tree/Account",
"description": _("Tree of financial accounts."), "description": _("Tree of financial accounts."),
"onboard": 1,
}, },
{
"type": "doctype",
"name": "Journal Entry",
"description": _("Accounting journal entries."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Opening Invoice Creation Tool",
"description": _("Create Opening Sales and Purchase Invoices")
},
]
},
{
"label": _("Billing"),
"items": [
{
"type": "doctype",
"name": "Sales Invoice",
"description": _("Bills raised to Customers."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Purchase Invoice",
"description": _("Bills raised by Suppliers."),
"onboard": 1
},
{
"type": "doctype",
"name": "Payment Request",
"description": _("Payment Request"),
},
{
"type": "doctype",
"name": "Payment Entry",
"description": _("Bank/Cash transactions against party or for internal transfer")
},
# Reports
{
"type": "report",
"name": "Ordered Items To Be Billed",
"is_query_report": True,
"reference_doctype": "Sales Invoice"
},
{
"type": "report",
"name": "Delivered Items To Be Billed",
"is_query_report": True,
"reference_doctype": "Sales Invoice"
},
{
"type": "report",
"name": "Purchase Order Items To Be Billed",
"is_query_report": True,
"reference_doctype": "Purchase Invoice"
},
{
"type": "report",
"name": "Received Items To Be Billed",
"is_query_report": True,
"reference_doctype": "Purchase Invoice"
},
]
},
{
"label": _("Setup"),
"icon": "fa fa-cog",
"items": [
{
"type": "doctype",
"name": "Opening Invoice Creation Tool",
"description": _("Create Opening Sales and Purchase Invoices")
},
{
"type": "doctype",
"name": "Accounts Settings",
"description": _("Default settings for accounting transactions.")
},
{
"type": "doctype",
"name": "Fiscal Year",
"description": _("Financial / accounting year.")
},
{
"type": "doctype",
"name": "Currency",
"description": _("Enable / disable currencies.")
},
{
"type": "doctype",
"name": "Currency Exchange",
"description": _("Currency exchange rate master.")
},
{
"type": "doctype",
"name": "Payment Gateway Account",
"description": _("Setup Gateway accounts.")
},
{
"type": "doctype",
"name": "Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
},
{
"type": "doctype",
"name": "Mode of Payment",
"description": _("e.g. Bank, Cash, Credit Card")
},
{
"type": "doctype",
"name": "Auto Repeat",
"label": _("Auto Repeat"),
"description": _("To make recurring documents")
},
{
"type": "doctype",
"name": "C-Form",
"description": _("C-Form records"),
"country": "India"
}
]
},
{
"label": _("Financial Statements"),
"items": [
{ {
"type": "report", "type": "report",
"name": "General Ledger", "name": "General Ledger",
"doctype": "GL Entry", "doctype": "GL Entry",
"is_query_report": True, "is_query_report": True,
"onboard": 1,
}, },
]
},
{
"label": _("Masters"),
"items": [
{
"type": "doctype",
"name": "Customer",
"description": _("Customer database.")
},
{
"type": "doctype",
"name": "Supplier",
"description": _("Supplier database.")
},
{
"type": "doctype",
"name": "Item",
}
]
},
{
"label": _("Accounting Statements"),
"items": [
{ {
"type": "report", "type": "report",
"name": "Accounts Receivable", "name": "Accounts Receivable",
@ -193,22 +287,10 @@ def get_data():
"name": "Tax Withholding Category", "name": "Tax Withholding Category",
"description": _("Tax Withholding rates to be applied on transactions.") "description": _("Tax Withholding rates to be applied on transactions.")
}, },
{
"type": "report",
"name": "Sales Register",
"doctype": "Sales Invoice",
"is_query_report": True
},
{
"type": "report",
"name": "Purchase Register",
"doctype": "Purchase Invoice",
"is_query_report": True
},
] ]
}, },
{ {
"label": _("Budget and Cost Center"), "label": _("Cost Center and Budgeting"),
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -234,11 +316,6 @@ def get_data():
"name": "Monthly Distribution", "name": "Monthly Distribution",
"description": _("Seasonality for setting budgets, targets etc.") "description": _("Seasonality for setting budgets, targets etc.")
}, },
]
},
{
"label": _("Tools"),
"items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Period Closing Voucher", "name": "Period Closing Voucher",
@ -249,99 +326,10 @@ def get_data():
"name": "Cheque Print Template", "name": "Cheque Print Template",
"description": _("Setup cheque dimensions for printing") "description": _("Setup cheque dimensions for printing")
}, },
{
"type": "doctype",
"name": "Opening Invoice Creation Tool",
"description": _("Create Opening Sales and Purchase Invoices")
},
] ]
}, },
{ {
"label": _("Setup"), "label": _("Key Reports"),
"icon": "fa fa-cog",
"items": [
{
"type": "doctype",
"name": "Accounts Settings",
"description": _("Default settings for accounting transactions.")
},
{
"type": "doctype",
"name": "Fiscal Year",
"description": _("Financial / accounting year.")
},
{
"type": "doctype",
"name": "Currency",
"description": _("Enable / disable currencies.")
},
{
"type": "doctype",
"name": "Currency Exchange",
"description": _("Currency exchange rate master.")
},
{
"type": "doctype",
"name": "Payment Gateway Account",
"description": _("Setup Gateway accounts.")
},
{
"type": "doctype",
"name": "Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
},
{
"type": "doctype",
"name": "Mode of Payment",
"description": _("e.g. Bank, Cash, Credit Card")
},
{
"type": "doctype",
"name": "Auto Repeat",
"label": _("Auto Repeat"),
"description": _("To make recurring documents")
},
{
"type": "doctype",
"name": "C-Form",
"description": _("C-Form records"),
"country": "India"
}
]
},
{
"label": _("To Bill"),
"items": [
{
"type": "report",
"name": "Ordered Items To Be Billed",
"is_query_report": True,
"doctype": "Sales Invoice"
},
{
"type": "report",
"name": "Delivered Items To Be Billed",
"is_query_report": True,
"doctype": "Sales Invoice"
},
{
"type": "report",
"name": "Purchase Order Items To Be Billed",
"is_query_report": True,
"doctype": "Purchase Invoice"
},
{
"type": "report",
"name": "Received Items To Be Billed",
"is_query_report": True,
"doctype": "Purchase Invoice"
},
]
},
{
"label": _("Analytics"),
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -349,6 +337,18 @@ def get_data():
"doctype": "Sales Invoice", "doctype": "Sales Invoice",
"is_query_report": True "is_query_report": True
}, },
{
"type": "report",
"name": "Sales Register",
"doctype": "Sales Invoice",
"is_query_report": True
},
{
"type": "report",
"name": "Purchase Register",
"doctype": "Purchase Invoice",
"is_query_report": True
},
{ {
"type": "report", "type": "report",
"name": "Purchase Invoice Trends", "name": "Purchase Invoice Trends",
@ -572,7 +572,7 @@ def get_data():
config.insert(7, gst) config.insert(7, gst)
domains = frappe.get_active_domains() domains = frappe.get_active_domains()
if "Services" in domains: if "Services" in domains:
config.insert(2, subscriptions) config.insert(5, subscriptions)
else: else:
config.insert(7, subscriptions) config.insert(7, subscriptions)
return config return config

View File

@ -9,19 +9,27 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Asset", "name": "Asset",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Location", "name": "Location",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Category", "name": "Asset Category",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Settings", "name": "Asset Settings",
} },
{
"type": "doctype",
"name": "Asset Movement",
"description": _("Transfer an asset from one warehouse to another")
},
] ]
}, },
{ {
@ -30,36 +38,34 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Maintenance Team", "name": "Asset Maintenance Team",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Maintenance", "name": "Asset Maintenance",
"onboard": 1,
"dependencies": ["Asset Maintenance Team"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Maintenance Tasks", "name": "Asset Maintenance Tasks",
"onboard": 1,
"dependencies": ["Asset Maintenance"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Maintenance Log", "name": "Asset Maintenance Log",
"dependencies": ["Asset Maintenance"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Value Adjustment", "name": "Asset Value Adjustment",
"dependencies": ["Asset"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Asset Repair", "name": "Asset Repair",
}, "dependencies": ["Asset"],
]
},
{
"label": _("Tools"),
"items": [
{
"type": "doctype",
"name": "Asset Movement",
"description": _("Transfer an asset from one warehouse to another")
}, },
] ]
}, },
@ -72,17 +78,20 @@ def get_data():
"name": "Asset Depreciation Ledger", "name": "Asset Depreciation Ledger",
"doctype": "Asset", "doctype": "Asset",
"is_query_report": True, "is_query_report": True,
"dependencies": ["Asset"],
}, },
{ {
"type": "report", "type": "report",
"name": "Asset Depreciations and Balances", "name": "Asset Depreciations and Balances",
"doctype": "Asset", "doctype": "Asset",
"is_query_report": True, "is_query_report": True,
"dependencies": ["Asset"],
}, },
{ {
"type": "report", "type": "report",
"name": "Asset Maintenance", "name": "Asset Maintenance",
"doctype": "Asset Maintenance" "doctype": "Asset Maintenance",
"dependencies": ["Asset Maintenance"]
}, },
] ]
} }

View File

@ -12,12 +12,6 @@ def get_data():
"onboard": 1, "onboard": 1,
"description": _("All Products or Services."), "description": _("All Products or Services."),
}, },
{
"type": "doctype",
"name": "Price List",
"onboard": 1,
"description": _("Price List master.")
},
{ {
"type": "doctype", "type": "doctype",
"name": "Item Price", "name": "Item Price",
@ -25,6 +19,11 @@ def get_data():
"onboard": 1, "onboard": 1,
"route": "Report/Item Price" "route": "Report/Item Price"
}, },
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master.")
},
{ {
"type": "doctype", "type": "doctype",
"name": "Product Bundle", "name": "Product Bundle",
@ -43,22 +42,30 @@ def get_data():
"name": "Pricing Rule", "name": "Pricing Rule",
"description": _("Rules for applying pricing and discount.") "description": _("Rules for applying pricing and discount.")
}, },
] ]
}, },
{ {
"label": _("Purchasing"), "label": _("Purchasing"),
"icon": "fa fa-star", "icon": "fa fa-star",
"items": [ "items": [
{
"type": "doctype",
"name": "Purchase Order",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
"description": _("Purchase Orders given to Suppliers."),
},
{ {
"type": "doctype", "type": "doctype",
"name": "Material Request", "name": "Material Request",
"onboard": 1,
"dependencies": ["Item"], "dependencies": ["Item"],
"description": _("Request for purchase."), "description": _("Request for purchase."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Request for Quotation", "name": "Request for Quotation",
"onboard": 1,
"dependencies": ["Item", "Supplier"], "dependencies": ["Item", "Supplier"],
"description": _("Request for quotation."), "description": _("Request for quotation."),
}, },
@ -68,12 +75,6 @@ def get_data():
"dependencies": ["Item", "Supplier"], "dependencies": ["Item", "Supplier"],
"description": _("Quotations received from Suppliers."), "description": _("Quotations received from Suppliers."),
}, },
{
"type": "doctype",
"name": "Purchase Order",
"dependencies": ["Item", "Supplier"],
"description": _("Purchase Orders given to Suppliers."),
},
] ]
}, },
{ {
@ -110,6 +111,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Buying Settings", "name": "Buying Settings",
"onboard": 1,
"description": _("Default settings for buying transactions.") "description": _("Default settings for buying transactions.")
}, },
{ {
@ -133,19 +135,22 @@ def get_data():
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Purchase Analytics", "name": "Purchase Analytics",
"doctype": "Purchase Order" "reference_doctype": "Purchase Order",
"onboard": 1
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Supplier-Wise Sales Analytics", "name": "Supplier-Wise Sales Analytics",
"doctype": "Stock Ledger Entry" "reference_doctype": "Stock Ledger Entry",
"onboard": 1
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Purchase Order Trends", "name": "Purchase Order Trends",
"doctype": "Purchase Order" "reference_doctype": "Purchase Order",
"onboard": 1,
}, },
] ]
}, },
@ -183,32 +188,35 @@ def get_data():
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Items To Be Requested", "name": "Items To Be Requested",
"doctype": "Item" "reference_doctype": "Item",
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Requested Items To Be Ordered", "name": "Requested Items To Be Ordered",
"doctype": "Material Request" "reference_doctype": "Material Request",
}, "onboard": 1,
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"doctype": "Material Request"
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Item-wise Purchase History", "name": "Item-wise Purchase History",
"doctype": "Item" "reference_doctype": "Item",
"onboard": 1,
},
{
"type": "report",
"is_query_report": True,
"name": "Material Requests for which Supplier Quotations are not created",
"reference_doctype": "Material Request"
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Address And Contacts", "name": "Address And Contacts",
"label": "Supplier Addresses And Contacts", "label": "Supplier Addresses And Contacts",
"doctype": "Address", "reference_doctype": "Address",
"route_options": { "route_options": {
"party_type": "Supplier" "party_type": "Supplier"
} }

View File

@ -11,21 +11,25 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Lead", "name": "Lead",
"description": _("Database of potential customers."), "description": _("Database of potential customers."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Opportunity", "name": "Opportunity",
"description": _("Potential opportunities for selling."), "description": _("Potential opportunities for selling."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Customer", "name": "Customer",
"description": _("Customer database."), "description": _("Customer database."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Contact", "name": "Contact",
"description": _("All Contacts."), "description": _("All Contacts."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -46,6 +50,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Issue", "name": "Issue",
"description": _("Support queries from customers."), "description": _("Support queries from customers."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -72,13 +77,15 @@ def get_data():
"type": "report", "type": "report",
"name": "Minutes to First Response for Issues", "name": "Minutes to First Response for Issues",
"doctype": "Issue", "doctype": "Issue",
"is_query_report": True "is_query_report": True,
"dependencies": ["Issue"],
}, },
{ {
"type": "report", "type": "report",
"name": "Support Hours", "name": "Support Hours",
"doctype": "Issue", "doctype": "Issue",
"is_query_report": True "is_query_report": True,
"dependencies": ["Issue"]
}, },
] ]
}, },
@ -90,6 +97,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Maintenance Schedule", "name": "Maintenance Schedule",
"description": _("Plan for maintenance visits."), "description": _("Plan for maintenance visits."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -117,49 +125,57 @@ def get_data():
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Lead Details", "name": "Lead Details",
"doctype": "Lead" "doctype": "Lead",
"onboard": 1,
}, },
{ {
"type": "page", "type": "page",
"name": "sales-funnel", "name": "sales-funnel",
"label": _("Sales Funnel"), "label": _("Sales Funnel"),
"icon": "fa fa-bar-chart", "icon": "fa fa-bar-chart",
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",
"name": "Prospects Engaged But Not Converted", "name": "Prospects Engaged But Not Converted",
"doctype": "Lead", "doctype": "Lead",
"is_query_report": True "is_query_report": True,
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",
"name": "Minutes to First Response for Opportunity", "name": "Minutes to First Response for Opportunity",
"doctype": "Opportunity", "doctype": "Opportunity",
"is_query_report": True "is_query_report": True,
"dependencies": ["Opportunity"]
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Customer Addresses And Contacts", "name": "Customer Addresses And Contacts",
"doctype": "Contact" "doctype": "Contact",
"dependencies": ["Customer"]
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Inactive Customers", "name": "Inactive Customers",
"doctype": "Sales Order" "doctype": "Sales Order",
"dependencies": ["Sales Order"]
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Campaign Efficiency", "name": "Campaign Efficiency",
"doctype": "Lead" "doctype": "Lead",
"dependencies": ["Lead"]
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Lead Owner Efficiency", "name": "Lead Owner Efficiency",
"doctype": "Lead" "doctype": "Lead",
"dependencies": ["Lead"]
} }
] ]
}, },
@ -167,11 +183,6 @@ def get_data():
"label": _("Setup"), "label": _("Setup"),
"icon": "fa fa-cog", "icon": "fa fa-cog",
"items": [ "items": [
{
"type": "doctype",
"name": "Campaign",
"description": _("Sales campaigns."),
},
{ {
"type": "doctype", "type": "doctype",
"label": _("Customer Group"), "label": _("Customer Group"),
@ -179,6 +190,7 @@ def get_data():
"icon": "fa fa-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Customer Group", "link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."), "description": _("Manage Customer Group Tree."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -187,6 +199,7 @@ def get_data():
"icon": "fa fa-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Territory", "link": "Tree/Territory",
"description": _("Manage Territory Tree."), "description": _("Manage Territory Tree."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -195,6 +208,12 @@ def get_data():
"icon": "fa fa-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Sales Person", "link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."), "description": _("Manage Sales Person Tree."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Campaign",
"description": _("Sales campaigns."),
}, },
{ {
"type": "doctype", "type": "doctype",

View File

@ -464,7 +464,7 @@ def get_data():
"icon": "octicon octicon-briefcase", "icon": "octicon octicon-briefcase",
"type": "module", "type": "module",
"hidden": 1, "hidden": 1,
"description": "Purchasing, Suppliers and Products. Bluuuuu" "description": "Purchasing, Suppliers and Products."
}, },
{ {
"module_name": "Stock", "module_name": "Stock",

View File

@ -201,10 +201,6 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Loan Application", "name": "Loan Application",
}, },
{
"type": "doctype",
"name": "Loan"
},
] ]
}, },
{ {

View File

@ -11,29 +11,33 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Project", "name": "Project",
"description": _("Project master."), "description": _("Project master."),
}, "onboard": 1,
{
"type": "doctype",
"name": "Project Update",
"description": _("Project Update."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Task", "name": "Task",
"route": "List/Task", "route": "List/Task",
"description": _("Project activity / task."), "description": _("Project activity / task."),
}, "onboard": 1,
{
"type": "doctype",
"name": "Project Type",
"description": _("Define Project type."),
}, },
{ {
"type": "report", "type": "report",
"route": "List/Task/Gantt", "route": "List/Task/Gantt",
"doctype": "Task", "doctype": "Task",
"name": "Gantt Chart", "name": "Gantt Chart",
"description": _("Gantt chart of all tasks.") "description": _("Gantt chart of all tasks."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Project Update",
"description": _("Project Update."),
"dependencies": ["Project"],
},
{
"type": "doctype",
"name": "Project Type",
"description": _("Define Project type."),
}, },
] ]
}, },
@ -44,16 +48,19 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Timesheet", "name": "Timesheet",
"description": _("Timesheet for tasks."), "description": _("Timesheet for tasks."),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Activity Type", "name": "Activity Type",
"description": _("Types of activities for Time Logs"), "description": _("Types of activities for Time Logs"),
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Activity Cost", "name": "Activity Cost",
"description": _("Cost of various activities"), "description": _("Cost of various activities"),
"dependencies": ["Activity Type"],
}, },
] ]
}, },
@ -65,13 +72,16 @@ def get_data():
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Daily Timesheet Summary", "name": "Daily Timesheet Summary",
"doctype": "Timesheet" "doctype": "Timesheet",
"onboard": 1,
"dependencies": ["Timesheet"],
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Project wise Stock Tracking", "name": "Project wise Stock Tracking",
"doctype": "Project" "doctype": "Project",
"dependencies": ["Project"],
}, },
] ]
}, },

View File

@ -7,25 +7,156 @@ def get_data():
"label": _("Sales"), "label": _("Sales"),
"icon": "fa fa-star", "icon": "fa fa-star",
"items": [ "items": [
{
"type": "doctype",
"name": "Customer",
"description": _("Customer database."),
"onboard": 1,
},
{ {
"type": "doctype", "type": "doctype",
"name": "Quotation", "name": "Quotation",
"description": _("Quotes to Leads or Customers."), "description": _("Quotes to Leads or Customers."),
"onboard": 1,
"dependencies": ["Item", "Customer"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Sales Order", "name": "Sales Order",
"description": _("Confirmed orders from Customers."), "description": _("Confirmed orders from Customers."),
"onboard": 1,
"dependencies": ["Item", "Customer"],
},
{
"type": "doctype",
"name": "Sales Partner",
"description": _("Manage Sales Partners."),
"dependencies": ["Item"],
},
{
"type": "doctype",
"label": _("Sales Person"),
"name": "Sales Person",
"icon": "fa fa-sitemap",
"link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."),
"dependencies": ["Item", "Customer"],
},
{
"type": "report",
"is_query_report": True,
"name": "Address And Contacts",
"label": _("Sales Partner Addresses And Contacts"),
"doctype": "Address",
"route_options": {
"party_type": "Sales Partner"
}
},
{
"type": "report",
"is_query_report": True,
"name": "Territory Target Variance (Item Group-Wise)",
"route": "query-report/Territory Target Variance Item Group-Wise",
"doctype": "Territory",
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Person Target Variance (Item Group-Wise)",
"route": "query-report/Sales Person Target Variance Item Group-Wise",
"doctype": "Sales Person",
"dependencies": ["Sales Person"],
}, },
] ]
}, },
{ {
"label": _("Customers"), "label": _("Items and Pricing"),
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Customer", "name": "Item",
"description": _("Customer database."), "description": _("All Products or Services."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Item Group",
"icon": "fa fa-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
"dependencies": ["Item"],
},
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master."),
"dependencies": ["Item"],
},
{
"type": "doctype",
"name": "Item Price",
"description": _("Multiple Item prices."),
"route": "Report/Item Price",
"dependencies": ["Item", "Price List"],
},
{
"type": "doctype",
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount."),
"dependencies": ["Item"],
},
{
"type": "doctype",
"name": "Shipping Rule",
"description": _("Rules for adding shipping costs."),
},
]
},
{
"label": _("Setup"),
"icon": "fa fa-cog",
"items": [
{
"type": "doctype",
"name": "Selling Settings",
"description": _("Default settings for selling transactions."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Campaign",
"description": _("Sales campaigns."),
"onboard": 1,
},
{
"type": "doctype",
"name": "Industry Type",
"description": _("Track Leads by Industry Type."),
"onboard": 1,
},
{
"type": "doctype",
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
},
{
"type": "doctype",
"name": "Sales Taxes and Charges Template",
"description": _("Tax template for selling transactions.")
},
{
"type": "doctype",
"name": "Lead Source",
"description": _("Track Leads by Lead Source.")
}, },
{ {
"type": "doctype", "type": "doctype",
@ -45,57 +176,6 @@ def get_data():
"name": "Address", "name": "Address",
"description": _("All Addresses."), "description": _("All Addresses."),
}, },
]
},
{
"label": _("Items and Pricing"),
"items": [
{
"type": "doctype",
"name": "Item",
"description": _("All Products or Services."),
},
{
"type": "doctype",
"name": "Product Bundle",
"description": _("Bundle items at time of sale."),
},
{
"type": "doctype",
"name": "Price List",
"description": _("Price List master.")
},
{
"type": "doctype",
"name": "Item Group",
"icon": "fa fa-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
},
{
"type": "doctype",
"name": "Item Price",
"description": _("Multiple Item prices."),
"route": "Report/Item Price"
},
{
"type": "doctype",
"name": "Shipping Rule",
"description": _("Rules for adding shipping costs.")
},
{
"type": "doctype",
"name": "Pricing Rule",
"description": _("Rules for applying pricing and discount.")
},
]
},
{
"label": _("Sales Partners and Territory"),
"items": [
{ {
"type": "doctype", "type": "doctype",
"label": _("Territory"), "label": _("Territory"),
@ -104,80 +184,6 @@ def get_data():
"link": "Tree/Territory", "link": "Tree/Territory",
"description": _("Manage Territory Tree."), "description": _("Manage Territory Tree."),
}, },
{
"type": "doctype",
"name": "Sales Partner",
"description": _("Manage Sales Partners."),
},
{
"type": "doctype",
"label": _("Sales Person"),
"name": "Sales Person",
"icon": "fa fa-sitemap",
"link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."),
},
{
"type": "report",
"is_query_report": True,
"name": "Address And Contacts",
"label": _("Sales Partner Addresses And Contacts"),
"doctype": "Address",
"route_options": {
"party_type": "Sales Partner"
}
},
{
"type": "report",
"is_query_report": True,
"name": "Territory Target Variance (Item Group-Wise)",
"route": "query-report/Territory Target Variance Item Group-Wise",
"doctype": "Territory"
},
{
"type": "report",
"is_query_report": True,
"name": "Sales Person Target Variance (Item Group-Wise)",
"route": "query-report/Sales Person Target Variance Item Group-Wise",
"doctype": "Sales Person",
},
]
},
{
"label": _("Setup"),
"icon": "fa fa-cog",
"items": [
{
"type": "doctype",
"name": "Selling Settings",
"description": _("Default settings for selling transactions.")
},
{
"type": "doctype",
"name": "Campaign",
"description": _("Sales campaigns."),
},
{
"type": "doctype",
"name":"Terms and Conditions",
"label": _("Terms and Conditions Template"),
"description": _("Template of terms or contract.")
},
{
"type": "doctype",
"name": "Sales Taxes and Charges Template",
"description": _("Tax template for selling transactions.")
},
{
"type": "doctype",
"name": "Industry Type",
"description": _("Track Leads by Industry Type.")
},
{
"type": "doctype",
"name": "Lead Source",
"description": _("Track Leads by Lead Source.")
},
] ]
}, },
{ {
@ -188,13 +194,15 @@ def get_data():
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Sales Analytics", "name": "Sales Analytics",
"doctype": "Sales Order" "doctype": "Sales Order",
"onboard": 1,
}, },
{ {
"type": "page", "type": "page",
"name": "sales-funnel", "name": "sales-funnel",
"label": _("Sales Funnel"), "label": _("Sales Funnel"),
"icon": "fa fa-bar-chart", "icon": "fa fa-bar-chart",
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",
@ -293,27 +301,6 @@ def get_data():
}, },
] ]
}, },
{
"label": _("SMS"),
"icon": "fa fa-wrench",
"items": [
{
"type": "doctype",
"name": "SMS Center",
"description":_("Send mass SMS to your contacts"),
},
{
"type": "doctype",
"name": "SMS Log",
"description":_("Logs for maintaining sms delivery status"),
},
{
"type": "doctype",
"name": "SMS Settings",
"description": _("Setup SMS gateway settings")
},
]
},
{ {
"label": _("Help"), "label": _("Help"),
"items": [ "items": [

View File

@ -9,18 +9,26 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Stock Entry", "name": "Stock Entry",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Delivery Note", "name": "Delivery Note",
"onboard": 1,
"dependencies": ["Item", "Customer"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Purchase Receipt", "name": "Purchase Receipt",
"onboard": 1,
"dependencies": ["Item", "Supplier"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Material Request", "name": "Material Request",
"onboard": 1,
"dependencies": ["Item"],
}, },
] ]
}, },
@ -32,35 +40,44 @@ def get_data():
"is_query_report": True, "is_query_report": True,
"name": "Stock Ledger", "name": "Stock Ledger",
"doctype": "Stock Ledger Entry", "doctype": "Stock Ledger Entry",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Stock Balance", "name": "Stock Balance",
"doctype": "Stock Ledger Entry" "doctype": "Stock Ledger Entry",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Stock Projected Qty", "name": "Stock Projected Qty",
"doctype": "Item", "doctype": "Item",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "page", "type": "page",
"name": "stock-balance", "name": "stock-balance",
"label": _("Stock Summary") "label": _("Stock Summary"),
"dependencies": ["Item"],
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Stock Ageing", "name": "Stock Ageing",
"doctype": "Item", "doctype": "Item",
"dependencies": ["Item"],
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Item Price Stock", "name": "Item Price Stock",
"doctype": "Item", "doctype": "Item",
"dependencies": ["Item"],
} }
] ]
}, },
@ -70,18 +87,12 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Item", "name": "Item",
}, "onboard": 1,
{
"type": "doctype",
"name": "Item Alternative",
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Product Bundle", "name": "Product Bundle",
}, "onboard": 1,
{
"type": "doctype",
"name": "Price List",
}, },
{ {
"type": "doctype", "type": "doctype",
@ -89,6 +100,11 @@ def get_data():
"icon": "fa fa-sitemap", "icon": "fa fa-sitemap",
"label": _("Item Group"), "label": _("Item Group"),
"link": "Tree/Item Group", "link": "Tree/Item Group",
"onboard": 1,
},
{
"type": "doctype",
"name": "Price List",
}, },
{ {
"type": "doctype", "type": "doctype",
@ -102,6 +118,10 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Pricing Rule", "name": "Pricing Rule",
}, },
{
"type": "doctype",
"name": "Item Alternative",
},
{ {
"type": "doctype", "type": "doctype",
"name": "Item Variant Settings", "name": "Item Variant Settings",
@ -114,14 +134,19 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Serial No", "name": "Serial No",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Batch", "name": "Batch",
"onboard": 1,
"dependencies": ["Item"],
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Installation Note", "name": "Installation Note",
"dependencies": ["Item"],
}, },
{ {
"type": "report", "type": "report",
@ -145,9 +170,14 @@ def get_data():
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Delivery Trip", "name": "Delivery Note",
"description": _("Delivery Trip service tours to customers.") "description": _("Delivery Trip service tours to customers."),
} "onboard": 1
},
{
"type": "doctype",
"name": "Delivery Trip"
},
] ]
}, },
{ {
@ -157,14 +187,17 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Stock Reconciliation", "name": "Stock Reconciliation",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Packing Slip", "name": "Packing Slip",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Quality Inspection", "name": "Quality Inspection",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
@ -183,23 +216,27 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Stock Settings", "name": "Stock Settings",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Warehouse", "name": "Warehouse",
"onboard": 1,
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "UOM", "name": "UOM",
"label": _("Unit of Measure") + " (UOM)", "label": _("Unit of Measure") + " (UOM)",
}, "onboard": 1,
{
"type": "doctype",
"name": "Item Attribute",
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Brand", "name": "Brand",
"onboard": 1,
},
{
"type": "doctype",
"name": "Item Attribute",
}, },
{ {
"type": "doctype", "type": "doctype",
@ -216,12 +253,14 @@ def get_data():
"is_query_report": False, "is_query_report": False,
"name": "Item-wise Price List Rate", "name": "Item-wise Price List Rate",
"doctype": "Item Price", "doctype": "Item Price",
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Stock Analytics", "name": "Stock Analytics",
"doctype": "Stock Entry" "doctype": "Stock Entry",
"onboard": 1,
}, },
{ {
"type": "report", "type": "report",