[hot] coa
This commit is contained in:
parent
b4c4351513
commit
39c84fe31c
@ -64,7 +64,7 @@ def get_chart(chart_name):
|
|||||||
chart = {}
|
chart = {}
|
||||||
if chart_name == "Standard":
|
if chart_name == "Standard":
|
||||||
from erpnext.accounts.doctype.account.chart_of_accounts.verified import standard_chart_of_accounts
|
from erpnext.accounts.doctype.account.chart_of_accounts.verified import standard_chart_of_accounts
|
||||||
return standard_chart_of_accounts.coa
|
return standard_chart_of_accounts.get()
|
||||||
else:
|
else:
|
||||||
path = os.path.join(os.path.dirname(__file__), "verified")
|
path = os.path.join(os.path.dirname(__file__), "verified")
|
||||||
for fname in os.listdir(path):
|
for fname in os.listdir(path):
|
||||||
|
@ -4,194 +4,195 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from frappe import _
|
from frappe import _
|
||||||
|
|
||||||
coa = {
|
def get():
|
||||||
_("Application of Funds (Assets)"): {
|
return {
|
||||||
_("Current Assets"): {
|
_("Application of Funds (Assets)"): {
|
||||||
_("Accounts Receivable"): {
|
_("Current Assets"): {
|
||||||
_("Debtors"): {
|
_("Accounts Receivable"): {
|
||||||
"account_type": "Receivable"
|
_("Debtors"): {
|
||||||
}
|
"account_type": "Receivable"
|
||||||
},
|
}
|
||||||
_("Bank Accounts"): {
|
},
|
||||||
"account_type": "Bank",
|
_("Bank Accounts"): {
|
||||||
|
"account_type": "Bank",
|
||||||
|
"group_or_ledger": "Group"
|
||||||
|
},
|
||||||
|
_("Cash In Hand"): {
|
||||||
|
_("Cash"): {
|
||||||
|
"account_type": "Cash"
|
||||||
|
},
|
||||||
|
"account_type": "Cash"
|
||||||
|
},
|
||||||
|
_("Loans and Advances (Assets)"): {
|
||||||
|
"group_or_ledger": "Group"
|
||||||
|
},
|
||||||
|
_("Securities and Deposits"): {
|
||||||
|
_("Earnest Money"): {}
|
||||||
|
},
|
||||||
|
_("Stock Assets"): {
|
||||||
|
"account_type": "Stock",
|
||||||
|
"group_or_ledger": "Group"
|
||||||
|
},
|
||||||
|
_("Tax Assets"): {
|
||||||
|
"group_or_ledger": "Group"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
_("Fixed Assets"): {
|
||||||
|
_("Capital Equipments"): {
|
||||||
|
"account_type": "Fixed Asset"
|
||||||
|
},
|
||||||
|
_("Computers"): {
|
||||||
|
"account_type": "Fixed Asset"
|
||||||
|
},
|
||||||
|
_("Furniture and Fixture"): {
|
||||||
|
"account_type": "Fixed Asset"
|
||||||
|
},
|
||||||
|
_("Office Equipments"): {
|
||||||
|
"account_type": "Fixed Asset"
|
||||||
|
},
|
||||||
|
_("Plant and Machinery"): {
|
||||||
|
"account_type": "Fixed Asset"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
_("Investments"): {
|
||||||
|
"group_or_ledger": "Group"
|
||||||
|
},
|
||||||
|
_("Temporary Accounts (Assets)"): {
|
||||||
|
_("Temporary Assets"): {}
|
||||||
|
},
|
||||||
|
"root_type": "Asset"
|
||||||
|
},
|
||||||
|
_("Expenses"): {
|
||||||
|
_("Direct Expenses"): {
|
||||||
|
_("Stock Expenses"): {
|
||||||
|
_("Cost of Goods Sold"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Expenses Included In Valuation"): {
|
||||||
|
"account_type": "Expenses Included In Valuation"
|
||||||
|
},
|
||||||
|
_("Stock Adjustment"): {
|
||||||
|
"account_type": "Stock Adjustment"
|
||||||
|
},
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Indirect Expenses"): {
|
||||||
|
_("Administrative Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Commission on Sales"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Depreciation"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Entertainment Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Freight and Forwarding Charges"): {
|
||||||
|
"account_type": "Chargeable"
|
||||||
|
},
|
||||||
|
_("Legal Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Marketing Expenses"): {
|
||||||
|
"account_type": "Chargeable"
|
||||||
|
},
|
||||||
|
_("Miscellaneous Expenses"): {
|
||||||
|
"account_type": "Chargeable"
|
||||||
|
},
|
||||||
|
_("Office Maintenance Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Office Rent"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Postal Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Print and Stationary"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Rounded Off"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Salary"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Sales Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Telephone Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Travel Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
_("Utility Expenses"): {
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
"account_type": "Expense Account"
|
||||||
|
},
|
||||||
|
"root_type": "Expense"
|
||||||
|
},
|
||||||
|
_("Income"): {
|
||||||
|
_("Direct Income"): {
|
||||||
|
_("Sales"): {
|
||||||
|
"account_type": "Income Account"
|
||||||
|
},
|
||||||
|
_("Service"): {
|
||||||
|
"account_type": "Income Account"
|
||||||
|
},
|
||||||
|
"account_type": "Income Account"
|
||||||
|
},
|
||||||
|
_("Indirect Income"): {
|
||||||
|
"account_type": "Income Account",
|
||||||
"group_or_ledger": "Group"
|
"group_or_ledger": "Group"
|
||||||
},
|
},
|
||||||
_("Cash In Hand"): {
|
"root_type": "Income"
|
||||||
_("Cash"): {
|
},
|
||||||
"account_type": "Cash"
|
_("Source of Funds (Liabilities)"): {
|
||||||
},
|
_("Current Liabilities"): {
|
||||||
"account_type": "Cash"
|
_("Accounts Payable"): {
|
||||||
},
|
_("Creditors"): {
|
||||||
_("Loans and Advances (Assets)"): {
|
"account_type": "Payable"
|
||||||
"group_or_ledger": "Group"
|
}
|
||||||
},
|
|
||||||
_("Securities and Deposits"): {
|
|
||||||
_("Earnest Money"): {}
|
|
||||||
},
|
|
||||||
_("Stock Assets"): {
|
|
||||||
"account_type": "Stock",
|
|
||||||
"group_or_ledger": "Group"
|
|
||||||
},
|
|
||||||
_("Tax Assets"): {
|
|
||||||
"group_or_ledger": "Group"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
_("Fixed Assets"): {
|
|
||||||
_("Capital Equipments"): {
|
|
||||||
"account_type": "Fixed Asset"
|
|
||||||
},
|
|
||||||
_("Computers"): {
|
|
||||||
"account_type": "Fixed Asset"
|
|
||||||
},
|
|
||||||
_("Furniture and Fixture"): {
|
|
||||||
"account_type": "Fixed Asset"
|
|
||||||
},
|
|
||||||
_("Office Equipments"): {
|
|
||||||
"account_type": "Fixed Asset"
|
|
||||||
},
|
|
||||||
_("Plant and Machinery"): {
|
|
||||||
"account_type": "Fixed Asset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
_("Investments"): {
|
|
||||||
"group_or_ledger": "Group"
|
|
||||||
},
|
|
||||||
_("Temporary Accounts (Assets)"): {
|
|
||||||
_("Temporary Assets"): {}
|
|
||||||
},
|
|
||||||
"root_type": "Asset"
|
|
||||||
},
|
|
||||||
_("Expenses"): {
|
|
||||||
_("Direct Expenses"): {
|
|
||||||
_("Stock Expenses"): {
|
|
||||||
_("Cost of Goods Sold"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Expenses Included In Valuation"): {
|
|
||||||
"account_type": "Expenses Included In Valuation"
|
|
||||||
},
|
|
||||||
_("Stock Adjustment"): {
|
|
||||||
"account_type": "Stock Adjustment"
|
|
||||||
},
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Indirect Expenses"): {
|
|
||||||
_("Administrative Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Commission on Sales"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Depreciation"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Entertainment Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Freight and Forwarding Charges"): {
|
|
||||||
"account_type": "Chargeable"
|
|
||||||
},
|
|
||||||
_("Legal Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Marketing Expenses"): {
|
|
||||||
"account_type": "Chargeable"
|
|
||||||
},
|
|
||||||
_("Miscellaneous Expenses"): {
|
|
||||||
"account_type": "Chargeable"
|
|
||||||
},
|
|
||||||
_("Office Maintenance Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Office Rent"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Postal Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Print and Stationary"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Rounded Off"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Salary"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Sales Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Telephone Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Travel Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
_("Utility Expenses"): {
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
"account_type": "Expense Account"
|
|
||||||
},
|
|
||||||
"root_type": "Expense"
|
|
||||||
},
|
|
||||||
_("Income"): {
|
|
||||||
_("Direct Income"): {
|
|
||||||
_("Sales"): {
|
|
||||||
"account_type": "Income Account"
|
|
||||||
},
|
|
||||||
_("Service"): {
|
|
||||||
"account_type": "Income Account"
|
|
||||||
},
|
|
||||||
"account_type": "Income Account"
|
|
||||||
},
|
|
||||||
_("Indirect Income"): {
|
|
||||||
"account_type": "Income Account",
|
|
||||||
"group_or_ledger": "Group"
|
|
||||||
},
|
|
||||||
"root_type": "Income"
|
|
||||||
},
|
|
||||||
_("Source of Funds (Liabilities)"): {
|
|
||||||
_("Current Liabilities"): {
|
|
||||||
_("Accounts Payable"): {
|
|
||||||
_("Creditors"): {
|
|
||||||
"account_type": "Payable"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
_("Stock Liabilities"): {
|
|
||||||
_("Stock Received But Not Billed"): {
|
|
||||||
"account_type": "Stock Received But Not Billed"
|
|
||||||
},
|
},
|
||||||
},
|
_("Stock Liabilities"): {
|
||||||
_("Duties and Taxes"): {
|
_("Stock Received But Not Billed"): {
|
||||||
"account_type": "Tax",
|
"account_type": "Stock Received But Not Billed"
|
||||||
"group_or_ledger": "Group"
|
},
|
||||||
},
|
},
|
||||||
_("Loans (Liabilities)"): {
|
_("Duties and Taxes"): {
|
||||||
_("Secured Loans"): {},
|
"account_type": "Tax",
|
||||||
_("Unsecured Loans"): {},
|
"group_or_ledger": "Group"
|
||||||
_("Bank Overdraft Account"): {},
|
},
|
||||||
},
|
_("Loans (Liabilities)"): {
|
||||||
},
|
_("Secured Loans"): {},
|
||||||
_("Temporary Accounts (Liabilities)"): {
|
_("Unsecured Loans"): {},
|
||||||
_("Temporary Liabilities"): {}
|
_("Bank Overdraft Account"): {},
|
||||||
},
|
},
|
||||||
"root_type": "Liability"
|
},
|
||||||
},
|
_("Temporary Accounts (Liabilities)"): {
|
||||||
_("Equity"): {
|
_("Temporary Liabilities"): {}
|
||||||
_("Capital Stock"): {
|
},
|
||||||
"account_type": "Equity"
|
"root_type": "Liability"
|
||||||
},
|
},
|
||||||
_("Dividends Paid"): {
|
_("Equity"): {
|
||||||
"account_type": "Equity"
|
_("Capital Stock"): {
|
||||||
},
|
"account_type": "Equity"
|
||||||
_("Opening Balance Equity"): {
|
},
|
||||||
"account_type": "Equity"
|
_("Dividends Paid"): {
|
||||||
},
|
"account_type": "Equity"
|
||||||
_("Retained Earnings"): {
|
},
|
||||||
"account_type": "Equity"
|
_("Opening Balance Equity"): {
|
||||||
},
|
"account_type": "Equity"
|
||||||
"root_type": "Equity"
|
},
|
||||||
|
_("Retained Earnings"): {
|
||||||
|
"account_type": "Equity"
|
||||||
|
},
|
||||||
|
"root_type": "Equity"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user