321 lines
7.3 KiB
Python
321 lines
7.3 KiB
Python
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Documents"),
|
|
"icon": "icon-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Journal Voucher",
|
|
"description": _("Accounting journal entries.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Invoice",
|
|
"description": _("Bills raised to Customers.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Purchase Invoice",
|
|
"description": _("Bills raised by Suppliers.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Customer",
|
|
"description": _("Customer database.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Supplier",
|
|
"description": _("Supplier database.")
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "Accounts Browser",
|
|
"icon": "icon-sitemap",
|
|
"label": _("Chart of Accounts"),
|
|
"route": "Accounts Browser/Account",
|
|
"description": _("Tree of finanial accounts."),
|
|
"doctype": "Account",
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Tools"),
|
|
"icon": "icon-wrench",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Bank Reconciliation",
|
|
"description": _("Update bank payment dates with journals.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Payment Reconciliation",
|
|
"description": _("Match non-linked Invoices and Payments.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Period Closing Voucher",
|
|
"description": _("Close Balance Sheet and book Profit or Loss.")
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Setup"),
|
|
"icon": "icon-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Fiscal Year",
|
|
"description": _("Financial / accounting year.")
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "Accounts Browser",
|
|
"icon": "icon-sitemap",
|
|
"label": _("Chart of Accounts"),
|
|
"route": "Accounts Browser/Account",
|
|
"description": _("Tree of finanial accounts."),
|
|
"doctype": "Account",
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "Accounts Browser",
|
|
"icon": "icon-sitemap",
|
|
"label": _("Chart of Cost Centers"),
|
|
"route": "Accounts Browser/Cost Center",
|
|
"description": _("Tree of finanial Cost Centers."),
|
|
"doctype": "Cost Center",
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Accounts Settings",
|
|
"description": _("Default settings for accounting transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sales Taxes and Charges Master",
|
|
"description": _("Tax template for selling transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Purchase Taxes and Charges Master",
|
|
"description": _("Tax template for buying transactions.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "POS Setting",
|
|
"label": _("Point-of-Sale Setting"),
|
|
"description": _("Rules to calculate shipping amount for a sale")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Shipping Rule",
|
|
"description": _("Rules for adding shipping costs.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Pricing Rule",
|
|
"description": _("Rules for applying pricing and discount.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Currency",
|
|
"description": _("Enable / disable currencies.")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Currency Exchange",
|
|
"description": _("Currency exchange rate master.")
|
|
},
|
|
{
|
|
"type":"doctype",
|
|
"name": "Budget Distribution",
|
|
"description": _("Seasonality for setting budgets.")
|
|
},
|
|
{
|
|
"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":"C-Form",
|
|
"description": _("C-Form records"),
|
|
"country": "India"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Main Reports"),
|
|
"icon": "icon-table",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"name":"General Ledger",
|
|
"doctype": "GL Entry",
|
|
"is_query_report": True,
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Trial Balance",
|
|
"doctype": "GL Entry",
|
|
"is_query_report": True,
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Accounts Receivable",
|
|
"doctype": "Sales Invoice",
|
|
"is_query_report": True
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Accounts Payable",
|
|
"doctype": "Purchase Invoice",
|
|
"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",
|
|
"name": "Balance Sheet",
|
|
"doctype": "GL Entry",
|
|
"is_query_report": True
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Profit and Loss Statement",
|
|
"doctype": "GL Entry",
|
|
"is_query_report": True
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "financial-analytics",
|
|
"label": _("Financial Analytics"),
|
|
"icon": "icon-bar-chart",
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Gross Profit",
|
|
"doctype": "Sales Invoice",
|
|
"is_query_report": True
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Standard Reports"),
|
|
"icon": "icon-list",
|
|
"items": [
|
|
{
|
|
"type": "report",
|
|
"name": "Bank Reconciliation Statement",
|
|
"is_query_report": True,
|
|
"doctype": "Journal Voucher"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Bank Clearance Summary",
|
|
"is_query_report": True,
|
|
"doctype": "Journal Voucher"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Payment Period Based On Invoice Date",
|
|
"is_query_report": True,
|
|
"doctype": "Journal Voucher"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Sales Partners Commission",
|
|
"is_query_report": True,
|
|
"doctype": "Sales Invoice"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Customer Account Head",
|
|
"is_query_report": True,
|
|
"doctype": "Account"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Supplier Account Head",
|
|
"is_query_report": True,
|
|
"doctype": "Account"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Item-wise Sales Register",
|
|
"is_query_report": True,
|
|
"doctype": "Sales Invoice"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Item-wise Purchase Register",
|
|
"is_query_report": True,
|
|
"doctype": "Purchase Invoice"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Budget Variance Report",
|
|
"is_query_report": True,
|
|
"doctype": "Cost Center"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Purchase Invoice Trends",
|
|
"is_query_report": True,
|
|
"doctype": "Purchase Invoice"
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Sales Invoice Trends",
|
|
"is_query_report": True,
|
|
"doctype": "Sales Invoice"
|
|
},
|
|
]
|
|
},
|
|
]
|