2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-03-03 09:35:28 +00:00
|
|
|
from frappe import _
|
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
def get_data():
|
|
|
|
return [
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"label": _("Purchasing"),
|
|
|
|
"icon": "fa fa-star",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Purchase Order",
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item", "Supplier"],
|
|
|
|
"description": _("Purchase Orders given to Suppliers."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Material Request",
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item"],
|
|
|
|
"description": _("Request for purchase."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Request for Quotation",
|
|
|
|
"onboard": 1,
|
|
|
|
"dependencies": ["Item", "Supplier"],
|
|
|
|
"description": _("Request for quotation."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier Quotation",
|
|
|
|
"dependencies": ["Item", "Supplier"],
|
|
|
|
"description": _("Quotations received from Suppliers."),
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2019-01-31 09:20:22 +00:00
|
|
|
{
|
|
|
|
"label": _("Items and Pricing"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Item",
|
|
|
|
"onboard": 1,
|
|
|
|
"description": _("All Products or Services."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Item Price",
|
|
|
|
"description": _("Multiple Item prices."),
|
|
|
|
"onboard": 1,
|
|
|
|
"route": "Report/Item Price"
|
|
|
|
},
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Price List",
|
|
|
|
"description": _("Price List master.")
|
|
|
|
},
|
2019-01-31 09:20:22 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Product Bundle",
|
|
|
|
"description": _("Bundle items at time of sale."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Item Group",
|
|
|
|
"icon": "fa fa-sitemap",
|
|
|
|
"label": _("Item Group"),
|
|
|
|
"link": "Tree/Item Group",
|
|
|
|
"description": _("Tree of Item Groups."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Pricing Rule",
|
|
|
|
"description": _("Rules for applying pricing and discount.")
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2019-02-11 09:44:50 +00:00
|
|
|
"label": _("Settings"),
|
2019-02-07 03:48:24 +00:00
|
|
|
"icon": "fa fa-cog",
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Buying Settings",
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
2019-02-07 03:48:24 +00:00
|
|
|
"description": _("Default settings for buying transactions.")
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-03 08:30:35 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Purchase Taxes and Charges Template",
|
|
|
|
"description": _("Tax template for buying transactions.")
|
2016-03-03 08:30:35 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name":"Terms and Conditions",
|
|
|
|
"label": _("Terms and Conditions Template"),
|
|
|
|
"description": _("Template of terms or contract.")
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Supplier"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier",
|
2019-01-31 09:20:22 +00:00
|
|
|
"onboard": 1,
|
2016-03-08 12:36:21 +00:00
|
|
|
"description": _("Supplier database."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-04-19 13:07:29 +00:00
|
|
|
"name": "Supplier Group",
|
|
|
|
"description": _("Supplier Group master.")
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Contact",
|
|
|
|
"description": _("All Contacts."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Address",
|
|
|
|
"description": _("All Addresses."),
|
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-02-07 03:48:24 +00:00
|
|
|
"label": _("Key Reports"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-table",
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
2018-11-12 11:31:02 +00:00
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Purchase Analytics",
|
2019-02-06 11:32:41 +00:00
|
|
|
"reference_doctype": "Purchase Order",
|
|
|
|
"onboard": 1
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Supplier-Wise Sales Analytics",
|
2019-02-06 11:32:41 +00:00
|
|
|
"reference_doctype": "Stock Ledger Entry",
|
|
|
|
"onboard": 1
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Purchase Order Trends",
|
2019-02-06 11:32:41 +00:00
|
|
|
"reference_doctype": "Purchase Order",
|
|
|
|
"onboard": 1,
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Requested Items To Be Ordered",
|
|
|
|
"reference_doctype": "Material Request",
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2017-07-24 17:12:30 +00:00
|
|
|
{
|
|
|
|
"label": _("Supplier Scorecard"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier Scorecard",
|
|
|
|
"description": _("All Supplier scorecards."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier Scorecard Variable",
|
|
|
|
"description": _("Templates of supplier scorecard variables.")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier Scorecard Criteria",
|
|
|
|
"description": _("Templates of supplier scorecard criteria."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Supplier Scorecard Standing",
|
|
|
|
"description": _("Templates of supplier standings."),
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Other Reports"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-list",
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Items To Be Requested",
|
2019-02-06 11:32:41 +00:00
|
|
|
"reference_doctype": "Item",
|
|
|
|
"onboard": 1,
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2019-02-06 11:32:41 +00:00
|
|
|
"name": "Item-wise Purchase History",
|
|
|
|
"reference_doctype": "Item",
|
|
|
|
"onboard": 1,
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2019-02-06 11:32:41 +00:00
|
|
|
"name": "Material Requests for which Supplier Quotations are not created",
|
|
|
|
"reference_doctype": "Material Request"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2018-06-05 05:14:36 +00:00
|
|
|
"name": "Address And Contacts",
|
2017-01-19 12:15:22 +00:00
|
|
|
"label": "Supplier Addresses And Contacts",
|
2019-02-06 11:32:41 +00:00
|
|
|
"reference_doctype": "Address",
|
2017-01-19 12:15:22 +00:00
|
|
|
"route_options": {
|
|
|
|
"party_type": "Supplier"
|
|
|
|
}
|
2018-06-05 05:14:36 +00:00
|
|
|
}
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Customer and Supplier"),
|
|
|
|
"youtube_id": "anoGi_RpQ20"
|
|
|
|
},
|
2015-10-27 11:31:27 +00:00
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Material Request to Purchase Order"),
|
|
|
|
"youtube_id": "4TN9kPyfIqM"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Purchase Order to Payment"),
|
|
|
|
"youtube_id": "EK65tLdVUDk"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Managing Subcontracting"),
|
|
|
|
"youtube_id": "ThiMCC2DtKo"
|
|
|
|
},
|
2015-05-25 13:00:53 +00:00
|
|
|
]
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|