2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-03-03 09:35:28 +00:00
|
|
|
from frappe import _
|
2018-12-10 12:33:19 +00:00
|
|
|
import frappe
|
|
|
|
|
2014-03-03 09:35:28 +00:00
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
def get_data():
|
2018-12-10 12:33:19 +00:00
|
|
|
config = [
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Accounts Receivable"),
|
2019-02-06 11:32:41 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Sales Invoice",
|
|
|
|
"description": _("Bills raised to Customers."),
|
2019-02-06 11:32:41 +00:00
|
|
|
"onboard": 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Customer",
|
|
|
|
"description": _("Customer database."),
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Payment Entry",
|
|
|
|
"description": _("Bank/Cash transactions against party or for internal transfer")
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Payment Request",
|
|
|
|
"description": _("Payment Request"),
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "report",
|
|
|
|
"name": "Accounts Receivable",
|
|
|
|
"doctype": "Sales Invoice",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Accounts Receivable Summary",
|
|
|
|
"doctype": "Sales Invoice",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Sales Register",
|
|
|
|
"doctype": "Sales Invoice",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Item-wise Sales Register",
|
|
|
|
"is_query_report": True,
|
|
|
|
"doctype": "Sales Invoice"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Accounts Payable"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Purchase Invoice",
|
2019-02-06 11:32:41 +00:00
|
|
|
"description": _("Bills raised by Suppliers."),
|
|
|
|
"onboard": 1
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Supplier",
|
|
|
|
"description": _("Supplier database."),
|
|
|
|
"onboard": 1,
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2019-04-19 06:47:19 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Payment Entry",
|
|
|
|
"description": _("Bank/Cash transactions against party or for internal transfer")
|
2019-04-22 10:05:13 +00:00
|
|
|
},
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Accounts Payable",
|
|
|
|
"doctype": "Purchase Invoice",
|
|
|
|
"is_query_report": True
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Accounts Payable Summary",
|
|
|
|
"doctype": "Purchase Invoice",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Purchase Register",
|
|
|
|
"doctype": "Purchase Invoice",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Item-wise Purchase Register",
|
2019-02-06 11:32:41 +00:00
|
|
|
"is_query_report": True,
|
2019-07-15 08:30:00 +00:00
|
|
|
"doctype": "Purchase Invoice"
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Purchase Order Items To Be Billed",
|
|
|
|
"is_query_report": True,
|
2019-07-15 08:30:00 +00:00
|
|
|
"doctype": "Purchase Invoice"
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Received Items To Be Billed",
|
|
|
|
"is_query_report": True,
|
2019-07-15 08:30:00 +00:00
|
|
|
"doctype": "Purchase Invoice"
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Accounting Masters"),
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2019-07-15 08:30:00 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Company",
|
|
|
|
"description": _("Company (not Customer or Supplier) master."),
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Account",
|
|
|
|
"icon": "fa fa-sitemap",
|
|
|
|
"label": _("Chart of Accounts"),
|
|
|
|
"route": "#Tree/Account",
|
|
|
|
"description": _("Tree of financial accounts."),
|
|
|
|
"onboard": 1,
|
|
|
|
},
|
2015-12-21 12:54:49 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-06 11:32:41 +00:00
|
|
|
"name": "Accounts Settings",
|
2015-12-21 12:54:49 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2019-02-06 11:32:41 +00:00
|
|
|
"name": "Fiscal Year",
|
|
|
|
"description": _("Financial / accounting year.")
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
2019-02-06 11:32:41 +00:00
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Accounting Dimension",
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Finance Book",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2019-04-19 06:47:19 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Accounting Period",
|
2019-04-19 06:47:19 +00:00
|
|
|
},
|
2014-07-22 09:32:59 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Payment Term",
|
|
|
|
"description": _("Payment Terms based on conditions")
|
2014-07-22 09:32:59 +00:00
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Banking and Payments"),
|
|
|
|
"items": [
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Match Payments with Invoices"),
|
|
|
|
"name": "Payment Reconciliation",
|
|
|
|
"description": _("Match non-linked Invoices and Payments.")
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Update Bank Transaction Dates"),
|
|
|
|
"name": "Bank Reconciliation",
|
|
|
|
"description": _("Update bank payment dates with journals.")
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Invoice Discounting"),
|
|
|
|
"name": "Invoice Discounting",
|
2019-02-06 11:32:41 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "report",
|
|
|
|
"name": "Bank Reconciliation Statement",
|
|
|
|
"is_query_report": True,
|
|
|
|
"doctype": "Journal Entry"
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "report",
|
|
|
|
"name": "Bank Clearance Summary",
|
|
|
|
"is_query_report": True,
|
|
|
|
"doctype": "Journal Entry"
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
2019-05-17 04:53:00 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Bank Guarantee"
|
2019-05-17 04:53:00 +00:00
|
|
|
},
|
2019-06-26 08:02:41 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Cheque Print Template",
|
|
|
|
"description": _("Setup cheque dimensions for printing")
|
|
|
|
},
|
2019-06-26 08:02:41 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("General Ledger"),
|
2019-06-26 08:02:41 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Journal Entry",
|
|
|
|
"description": _("Accounting journal entries.")
|
2019-07-15 08:30:00 +00:00
|
|
|
},
|
2019-02-06 11:32:41 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "General Ledger",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True,
|
|
|
|
},
|
2018-12-10 12:33:19 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Customer Ledger Summary",
|
2018-12-10 12:33:19 +00:00
|
|
|
"doctype": "Sales Invoice",
|
2016-03-08 12:36:21 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Supplier Ledger Summary",
|
|
|
|
"doctype": "Sales Invoice",
|
|
|
|
"is_query_report": True,
|
|
|
|
}
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Taxes"),
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Sales Taxes and Charges Template",
|
|
|
|
"description": _("Tax template for selling transactions.")
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Purchase Taxes and Charges Template",
|
|
|
|
"description": _("Tax template for buying transactions.")
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Item Tax Template",
|
|
|
|
"description": _("Tax template for item tax rates.")
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Tax Category",
|
|
|
|
"description": _("Tax Category for overriding tax rates.")
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Tax Rule",
|
|
|
|
"description": _("Tax Rule for transactions.")
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2017-04-25 08:56:33 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Tax Withholding Category",
|
|
|
|
"description": _("Tax Withholding rates to be applied on transactions.")
|
2017-04-25 08:56:33 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"label": _("Cost Center and Budgeting"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Cost Center",
|
|
|
|
"icon": "fa fa-sitemap",
|
|
|
|
"label": _("Chart of Cost Centers"),
|
|
|
|
"route": "#Tree/Cost Center",
|
|
|
|
"description": _("Tree of financial Cost Centers."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Budget",
|
|
|
|
"description": _("Define budget for a financial year.")
|
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Accounting Dimension",
|
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Budget Variance Report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"doctype": "Cost Center"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Monthly Distribution",
|
|
|
|
"description": _("Seasonality for setting budgets, targets etc.")
|
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Financial Statements"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Trial Balance",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Profit and Loss Statement",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Balance Sheet",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Cash Flow",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Consolidated Financial Statement",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Opening and Closing"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Opening Invoice Creation Tool",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Chart of Accounts Importer",
|
|
|
|
},
|
2019-02-07 03:48:24 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Period Closing Voucher",
|
|
|
|
"description": _("Close Balance Sheet and book Profit or Loss.")
|
|
|
|
},
|
|
|
|
]
|
2019-07-15 08:30:00 +00:00
|
|
|
|
2019-02-07 03:48:24 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Multi Currency"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
2018-11-24 19:53:54 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Currency",
|
|
|
|
"description": _("Enable / disable currencies.")
|
2018-11-24 19:53:54 +00:00
|
|
|
},
|
2015-07-03 06:51:50 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Currency Exchange",
|
|
|
|
"description": _("Currency exchange rate master.")
|
2015-07-03 06:51:50 +00:00
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Exchange Rate Revaluation",
|
|
|
|
"description": _("Exchange Rate Revaluation master.")
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Settings"),
|
|
|
|
"icon": "fa fa-cog",
|
|
|
|
"items": [
|
2018-11-24 19:53:54 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Payment Gateway Account",
|
|
|
|
"description": _("Setup Gateway accounts.")
|
2018-11-24 19:53:54 +00:00
|
|
|
},
|
2015-12-21 12:54:49 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Terms and Conditions",
|
|
|
|
"label": _("Terms and Conditions Template"),
|
|
|
|
"description": _("Template of terms or contract.")
|
2015-12-21 12:54:49 +00:00
|
|
|
},
|
2018-08-06 09:16:16 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Mode of Payment",
|
|
|
|
"description": _("e.g. Bank, Cash, Credit Card")
|
2018-08-06 09:16:16 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-02-07 03:48:24 +00:00
|
|
|
"label": _("Subscription Management"),
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
2016-07-05 12:32:38 +00:00
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Subscriber",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
2018-12-10 12:33:19 +00:00
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Subscription Plan",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Subscription"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-07-05 07:11:20 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2019-02-07 03:48:24 +00:00
|
|
|
"name": "Subscription Settings"
|
|
|
|
}
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Bank Statement"),
|
2016-03-08 12:36:21 +00:00
|
|
|
"items": [
|
2015-09-25 03:47:20 +00:00
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"label": _("Bank"),
|
|
|
|
"name": "Bank",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"label": _("Bank Account"),
|
|
|
|
"name": "Bank Account",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"name": "Bank Statement Transaction Entry",
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"type": "doctype",
|
|
|
|
"label": _("Bank Statement Settings"),
|
|
|
|
"name": "Bank Statement Settings",
|
2018-12-12 10:46:50 +00:00
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Profitability"),
|
|
|
|
"items": [
|
2018-12-12 10:46:50 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Gross Profit",
|
|
|
|
"doctype": "Sales Invoice",
|
|
|
|
"is_query_report": True
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-11-21 11:27:39 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Profitability Analysis",
|
|
|
|
"doctype": "GL Entry",
|
|
|
|
"is_query_report": True,
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Sales Invoice Trends",
|
2014-05-08 06:13:18 +00:00
|
|
|
"is_query_report": True,
|
2019-07-15 08:30:00 +00:00
|
|
|
"doctype": "Sales Invoice"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
2019-07-15 08:30:00 +00:00
|
|
|
"name": "Purchase Invoice Trends",
|
2018-12-12 10:46:50 +00:00
|
|
|
"is_query_report": True,
|
2019-07-15 08:30:00 +00:00
|
|
|
"doctype": "Purchase Invoice"
|
|
|
|
},
|
2018-12-12 10:46:50 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-15 08:30:00 +00:00
|
|
|
"label": _("Reports"),
|
2018-12-12 10:46:50 +00:00
|
|
|
"icon": "fa fa-table",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Trial Balance for Party",
|
|
|
|
"doctype": "GL Entry",
|
2014-05-08 06:13:18 +00:00
|
|
|
"is_query_report": True,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
2018-12-12 10:46:50 +00:00
|
|
|
"name": "Payment Period Based On Invoice Date",
|
2014-05-08 06:13:18 +00:00
|
|
|
"is_query_report": True,
|
2018-12-12 10:46:50 +00:00
|
|
|
"doctype": "Journal Entry"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
2018-12-12 10:46:50 +00:00
|
|
|
"name": "Sales Partners Commission",
|
2014-05-08 06:13:18 +00:00
|
|
|
"is_query_report": True,
|
2018-12-12 10:46:50 +00:00
|
|
|
"doctype": "Sales Invoice"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2014-10-30 10:20:03 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Customer Credit Balance",
|
|
|
|
"doctype": "Customer"
|
|
|
|
},
|
2017-11-02 12:23:24 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2017-11-03 16:22:07 +00:00
|
|
|
"name": "Sales Payment Summary",
|
2017-11-02 12:23:24 +00:00
|
|
|
"doctype": "Sales Invoice"
|
2018-06-05 05:14:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Address And Contacts",
|
|
|
|
"doctype": "Address"
|
2017-11-02 12:23:24 +00:00
|
|
|
}
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2018-02-12 06:02:47 +00:00
|
|
|
{
|
|
|
|
"label": _("Share Management"),
|
|
|
|
"icon": "fa fa-microchip ",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-12-10 12:33:19 +00:00
|
|
|
"name": "Shareholder",
|
2018-02-12 06:02:47 +00:00
|
|
|
"description": _("List of available Shareholders with folio numbers")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2018-12-10 12:33:19 +00:00
|
|
|
"name": "Share Transfer",
|
2018-02-12 06:02:47 +00:00
|
|
|
"description": _("List of all share transactions"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Share Ledger",
|
|
|
|
"doctype": "Share Transfer",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Share Balance",
|
|
|
|
"doctype": "Share Transfer",
|
|
|
|
"is_query_report": True
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
2019-01-24 01:45:53 +00:00
|
|
|
|
2018-12-10 12:33:19 +00:00
|
|
|
gst = {
|
|
|
|
"label": _("Goods and Services Tax (GST India)"),
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "GST Settings",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "GST HSN Code",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GSTR-1",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GSTR-2",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
2019-03-21 15:17:47 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "GSTR 3B Report",
|
|
|
|
},
|
2018-12-10 12:33:19 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GST Sales Register",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GST Purchase Register",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GST Itemised Sales Register",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "GST Itemised Purchase Register",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
2019-07-15 08:30:00 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "C-Form",
|
|
|
|
"description": _("C-Form records"),
|
|
|
|
"country": "India"
|
|
|
|
},
|
2018-12-10 12:33:19 +00:00
|
|
|
]
|
|
|
|
}
|
2019-01-24 01:45:53 +00:00
|
|
|
|
|
|
|
|
2018-12-10 12:33:19 +00:00
|
|
|
countries = frappe.get_all("Company", fields="country")
|
|
|
|
countries = [country["country"] for country in countries]
|
|
|
|
if "India" in countries:
|
2019-07-15 08:30:00 +00:00
|
|
|
config.insert(9, gst)
|
2018-12-10 12:33:19 +00:00
|
|
|
domains = frappe.get_active_domains()
|
|
|
|
return config
|