96381da547
* Initial start of scorecard docs * Got basic functionality working * Fixed doc names and added key functions * Basic functional version minus Actions * Hide scorecard docs until functional * Created supplier scorecard documentation * Added default variables and standings. Added restrictions for PO + RFQ * Automatic daily scorecard creation + on save * Added warning for PO nd RFQs * Minor fixes for codepy, automatically add variables for criteria, fix hooks.py typo * Added tests, fixed codacy formatting, small improvements * Fixed test bug w/ criteria. Codacy cleanup * Fixed codacy issues. Fixed sticky criteria * Fixed bug with period search. Remove blank variable child. * Updated docs, automatically add criteria and standings, clean up period create message * Uncommented test, set docs to beta * Fix for nabinhait review * Fix codacy issue. Fix dict assignment for records
236 lines
5.0 KiB
Python
236 lines
5.0 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Purchasing"),
|
|
"icon": "fa fa-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Material Request",
|
|
"description": _("Request for purchase."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Request for Quotation",
|
|
"description": _("Request for quotation."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Supplier Quotation",
|
|
"description": _("Quotations received from Suppliers."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Purchase Order",
|
|
"description": _("Purchase Orders given to Suppliers."),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Supplier"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Supplier",
|
|
"description": _("Supplier database."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Supplier Type",
|
|
"description": _("Supplier Type master.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Contact",
|
|
"description": _("All Contacts."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Address",
|
|
"description": _("All Addresses."),
|
|
},
|
|
|
|
]
|
|
},
|
|
{
|
|
"label": _("Setup"),
|
|
"icon": "fa fa-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Buying Settings",
|
|
"description": _("Default settings for buying transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name":"Terms and Conditions",
|
|
"label": _("Terms and Conditions Template"),
|
|
"description": _("Template of terms or contract.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Purchase Taxes and Charges Template",
|
|
"description": _("Tax template for buying transactions.")
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"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": "Pricing Rule",
|
|
"description": _("Rules for applying pricing and discount.")
|
|
},
|
|
|
|
]
|
|
},
|
|
{
|
|
"label": _("Analytics"),
|
|
"icon": "fa fa-table",
|
|
"items": [
|
|
{
|
|
"type": "page",
|
|
"name": "purchase-analytics",
|
|
"label": _("Purchase Analytics"),
|
|
"icon": "fa fa-bar-chart",
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Supplier-Wise Sales Analytics",
|
|
"doctype": "Stock Ledger Entry"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Purchase Order Trends",
|
|
"doctype": "Purchase Order"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"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."),
|
|
},
|
|
|
|
]
|
|
},
|
|
{
|
|
"label": _("Other Reports"),
|
|
"icon": "fa fa-list",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Items To Be Requested",
|
|
"doctype": "Item"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Requested Items To Be Ordered",
|
|
"doctype": "Material Request"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Material Requests for which Supplier Quotations are not created",
|
|
"doctype": "Material Request"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Item-wise Purchase History",
|
|
"doctype": "Item"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"is_query_report": True,
|
|
"name": "Addresses And Contacts",
|
|
"label": "Supplier Addresses And Contacts",
|
|
"doctype": "Address",
|
|
"route_options": {
|
|
"party_type": "Supplier"
|
|
}
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Help"),
|
|
"items": [
|
|
{
|
|
"type": "help",
|
|
"label": _("Customer and Supplier"),
|
|
"youtube_id": "anoGi_RpQ20"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
]
|
|
},
|
|
]
|