brotherton-erpnext/erpnext/config/accounts.py

575 lines
12 KiB
Python
Raw Normal View History

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 [
{
2016-03-08 12:36:21 +00:00
"label": _("Billing"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Sales Invoice",
"description": _("Bills raised to Customers.")
},
{
"type": "doctype",
"name": "Purchase Invoice",
"description": _("Bills raised by Suppliers.")
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Payment Request",
"description": _("Payment Request")
},
2016-07-04 10:46:24 +00:00
{
"type": "doctype",
"name": "Payment Entry",
"description": _("Bank/Cash transactions against party or for internal transfer")
},
{
"type": "page",
"name": "pos",
"label": _("POS"),
"description": _("Point of Sale")
},
{
"type": "doctype",
"name": "Cashier Closing",
"description": _("Cashier Closing")
},
{
"type": "doctype",
"name": "Auto Repeat",
"label": _("Auto Repeat"),
"description": _("To make recurring documents")
},
{
"type": "doctype",
"name": "Loyalty Program",
"label": _("Loyalty Program"),
"description": _("To make Customer based incentive schemes.")
},
{
"type": "doctype",
"name": "Loyalty Point Entry",
"label": _("Loyalty Point Entry"),
"description": _("To view logs of Loyalty Points assigned to a Customer.")
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"name": "Accounts Receivable",
2017-06-22 11:07:04 +00:00
"doctype": "Sales Invoice",
2016-03-08 12:36:21 +00:00
"is_query_report": True
},
{
"type": "report",
"name": "Accounts Payable",
"doctype": "Purchase Invoice",
"is_query_report": True
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Company and Accounts"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Company",
"description": _("Company (not Customer or Supplier) master.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Journal Entry",
"description": _("Accounting journal entries.")
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Account",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
2014-05-08 06:13:18 +00:00
"label": _("Chart of Accounts"),
"route": "Tree/Account",
2016-02-18 13:49:07 +00:00
"description": _("Tree of financial accounts."),
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"name":"General Ledger",
"doctype": "GL Entry",
"is_query_report": True,
},
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Masters"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Customer",
"description": _("Customer database.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Supplier",
"description": _("Supplier database.")
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Item",
}
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Accounting Statements"),
"items": [
{
"type": "report",
"name": "Trial Balance",
"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": "Profit and Loss Statement",
"doctype": "GL Entry",
"is_query_report": True
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"name": "Consolidated Financial Statement",
"doctype": "GL Entry",
"is_query_report": True
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Banking and Payments"),
"items": [
{
"type": "doctype",
"label": _("Update Bank Transaction Dates"),
"name": "Bank Reconciliation",
"description": _("Update bank payment dates with journals.")
},
{
"type": "doctype",
"label": _("Match Payments with Invoices"),
"name": "Payment Reconciliation",
"description": _("Match non-linked Invoices and Payments.")
},
{
"type": "report",
"name": "Bank Reconciliation Statement",
"is_query_report": True,
"doctype": "Journal Entry"
},
{
"type": "report",
"name": "Bank Clearance Summary",
"is_query_report": True,
"doctype": "Journal Entry"
},
{
"type": "doctype",
"name": "Bank Guarantee",
"doctype": "Bank Guarantee"
},
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Taxes"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Sales Taxes and Charges Template",
"description": _("Tax template for selling transactions.")
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Purchase Taxes and Charges Template",
"description": _("Tax template for buying transactions.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Tax Rule",
"description": _("Tax Rule for transactions.")
},
{
"type": "doctype",
"name": "Tax Withholding Category",
"description": _("Tax Withholding rates to be applied on transactions.")
},
2014-05-08 06:13:18 +00:00
{
2016-03-08 12:36:21 +00:00
"type": "report",
"name": "Sales Register",
"doctype": "Sales Invoice",
"is_query_report": True
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "report",
"name": "Purchase Register",
"doctype": "Purchase Invoice",
"is_query_report": True
},
]
},
2017-06-22 11:07:04 +00:00
{
"label": _("Goods and Services Tax (GST India)"),
"items": [
{
"type": "doctype",
"name": "GST Settings",
},
2017-06-22 11:07:04 +00:00
{
"type": "doctype",
"name": "GST HSN Code",
},
{
"type": "report",
"name": "GSTR-1",
"is_query_report": True
},
{
"type": "report",
"name": "GSTR-2",
"is_query_report": True
},
2017-06-22 11:07:04 +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
},
]
},
2016-03-08 12:36:21 +00:00
{
"label": _("Budget and Cost Center"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Cost Center",
2016-12-07 05:38:48 +00:00
"icon": "fa fa-sitemap",
2014-05-08 06:13:18 +00:00
"label": _("Chart of Cost Centers"),
2016-06-21 10:25:54 +00:00
"route": "Tree/Cost Center",
2016-02-18 09:08:23 +00:00
"description": _("Tree of financial Cost Centers."),
2014-05-08 06:13:18 +00:00
},
2016-05-16 09:08:47 +00:00
{
"type": "doctype",
"name": "Budget",
"description": _("Define budget for a financial year.")
},
2014-05-08 06:13:18 +00:00
{
2016-03-08 12:36:21 +00:00
"type": "report",
"name": "Budget Variance Report",
"is_query_report": True,
"doctype": "Cost Center"
2014-05-08 06:13:18 +00:00
},
{
2016-03-08 12:36:21 +00:00
"type":"doctype",
"name": "Monthly Distribution",
"description": _("Seasonality for setting budgets, targets etc.")
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Tools"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Period Closing Voucher",
"description": _("Close Balance Sheet and book Profit or Loss.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Cheque Print Template",
"description": _("Setup cheque dimensions for printing")
},
{
"type": "doctype",
"name": "Opening Invoice Creation Tool",
"description": _("Make Opening Sales and Purchase Invoices")
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Setup"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-cog",
2016-03-08 12:36:21 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Accounts Settings",
"description": _("Default settings for accounting transactions.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Fiscal Year",
"description": _("Financial / accounting year.")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Currency",
"description": _("Enable / disable currencies.")
},
{
"type": "doctype",
"name": "Currency Exchange",
"description": _("Currency exchange rate master.")
},
{
2016-03-08 12:36:21 +00:00
"type": "doctype",
"name": "Payment Gateway Account",
"description": _("Setup Gateway accounts.")
},
{
"type": "doctype",
"name": "POS Settings",
"description": _("Setup mode of POS (Online / Offline)")
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "POS Profile",
"label": _("Point-of-Sale Profile"),
"description": _("Setup default values for POS Invoices")
2014-05-08 06:13:18 +00:00
},
{
"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"
}
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("To Bill"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Ordered Items To Be Billed",
2014-05-08 06:13:18 +00:00
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"doctype": "Sales Invoice"
2014-05-08 06:13:18 +00:00
},
{
2014-07-22 13:32:11 +00:00
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Delivered Items To Be Billed",
2014-07-22 13:32:11 +00:00
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"doctype": "Sales Invoice"
2014-05-08 06:13:18 +00:00
},
2015-09-25 03:47:20 +00:00
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Purchase Order Items To Be Billed",
2015-09-25 03:47:20 +00:00
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"doctype": "Purchase Invoice"
2015-09-25 03:47:20 +00:00
},
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Received Items To Be Billed",
"is_query_report": True,
"doctype": "Purchase Invoice"
},
2014-05-08 06:13:18 +00:00
]
2016-03-08 12:36:21 +00:00
2014-05-08 06:13:18 +00:00
},
{
2016-03-08 12:36:21 +00:00
"label": _("Analytics"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Gross Profit",
"doctype": "Sales Invoice",
"is_query_report": True
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Purchase Invoice Trends",
2014-05-08 06:13:18 +00:00
"is_query_report": True,
"doctype": "Purchase Invoice"
},
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Sales Invoice Trends",
2014-05-08 06:13:18 +00:00
"is_query_report": True,
2016-03-08 12:36:21 +00:00
"doctype": "Sales Invoice"
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-table",
2016-03-08 12:36:21 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "report",
2016-03-08 12:36:21 +00:00
"name": "Trial Balance for Party",
"doctype": "GL Entry",
2014-05-08 06:13:18 +00:00
"is_query_report": True,
},
{
"type": "report",
"name": "Profitability Analysis",
"doctype": "GL Entry",
"is_query_report": True,
},
2014-05-08 06:13:18 +00:00
{
"type": "report",
"name": "Payment Period Based On Invoice Date",
"is_query_report": True,
"doctype": "Journal Entry"
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"name": "Sales Partners Commission",
"is_query_report": True,
"doctype": "Sales Invoice"
},
{
"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": "Accounts Receivable Summary",
"doctype": "Sales Invoice",
"is_query_report": True
},
{
"type": "report",
"name": "Accounts Payable Summary",
"doctype": "Purchase Invoice",
"is_query_report": True
},
{
"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"
},
{
"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
]
},
Shareholder and related doctypes (#12215) * Added doctypes related to shares - Shareholder doctype, the entity who does the transaction - Share doctype, a child table to kepp list of all shares - Share Transfer doctype, Logs of all made transactions * Added logic for share transfer - update shareholder automatically on share transfer/issue/purchase - purchase and transfer have method remove_share which doesn't get executed because of some bug * Added report view for share ledger * Removed share number tracking - removed share number tracking from Share Ledger child table for Shareholder doctype - new doctype Share Type created * Share Balance report added - math behind Share Balance report needs fixing * Changes in shareholder - Share numbers are not tracked in Shareholder - Share Ledger doctype deleted - Share Balance Report bug fixed * Shareholder - fixed report for share balance - remove bug from share transfer by making share type mandatory - added buttons to shareholder for direct link to report * Added tests for Share Transfer * minor codacy fixes * Added Shareholder to Party Type * rate in share ledger & balance report is currency * First attempt at modelling shares after Item * Share Manager changes - on creation of shareholder party it should check if the same combo exists - in shareholder party make report button visible iff folio no exists - create folio no on creation of share transfer iff it doesnt already exist - move reports from shareholder to shareholder party * Shareholder chages - delete share child table doctype - autoname added to folio no - modify tests for share transfer * minor changes * removed share_no child doctype * Restructured Share Transfer Logic (not tested) - Everything revolves around Share Balance child table in Shareholder Party - is_company flag still to be utilized * Tested Share Tranfer * minor fixes * started new shareholder structure * modified shareholder * renamed Shareholder Party to Shareholder * Shareholder rewrite complete * new tests for shareholder written * codacy fixes * Added documentation
2018-02-12 06:02:47 +00:00
{
"label": _("Share Management"),
"icon": "fa fa-microchip ",
"items": [
{
"type": "doctype",
"name":"Shareholder",
"description": _("List of available Shareholders with folio numbers")
},
{
"type": "doctype",
"name":"Share Transfer",
"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
}
]
},
{
"label": _("Subscription Management"),
"icon": "fa fa-microchip ",
"items": [
{
"type": "doctype",
"name":"Subscriber",
},
{
"type": "doctype",
"name":"Subscription Plan",
},
{
"type": "doctype",
"name":"Subscription"
},
{
"type": "doctype",
"name": "Subscription Settings"
}
]
},
{
"label": _("Help"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-facetime-video",
"items": [
{
"type": "help",
"label": _("Chart of Accounts"),
"youtube_id": "DyR-DST-PyA"
},
{
"type": "help",
"label": _("Opening Accounting Balance"),
"youtube_id": "kdgM20Q-q68"
},
{
"type": "help",
"label": _("Setting up Taxes"),
"youtube_id": "nQ1zZdPgdaQ"
}
]
}
2014-05-08 06:13:18 +00:00
]