[hot] coa
This commit is contained in:
parent
b4c4351513
commit
39c84fe31c
@ -64,7 +64,7 @@ def get_chart(chart_name):
|
||||
chart = {}
|
||||
if chart_name == "Standard":
|
||||
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:
|
||||
path = os.path.join(os.path.dirname(__file__), "verified")
|
||||
for fname in os.listdir(path):
|
||||
|
@ -4,194 +4,195 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
coa = {
|
||||
_("Application of Funds (Assets)"): {
|
||||
_("Current Assets"): {
|
||||
_("Accounts Receivable"): {
|
||||
_("Debtors"): {
|
||||
"account_type": "Receivable"
|
||||
}
|
||||
},
|
||||
_("Bank Accounts"): {
|
||||
"account_type": "Bank",
|
||||
def get():
|
||||
return {
|
||||
_("Application of Funds (Assets)"): {
|
||||
_("Current Assets"): {
|
||||
_("Accounts Receivable"): {
|
||||
_("Debtors"): {
|
||||
"account_type": "Receivable"
|
||||
}
|
||||
},
|
||||
_("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"
|
||||
},
|
||||
_("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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"root_type": "Income"
|
||||
},
|
||||
_("Source of Funds (Liabilities)"): {
|
||||
_("Current Liabilities"): {
|
||||
_("Accounts Payable"): {
|
||||
_("Creditors"): {
|
||||
"account_type": "Payable"
|
||||
}
|
||||
},
|
||||
},
|
||||
_("Duties and Taxes"): {
|
||||
"account_type": "Tax",
|
||||
"group_or_ledger": "Group"
|
||||
},
|
||||
_("Loans (Liabilities)"): {
|
||||
_("Secured Loans"): {},
|
||||
_("Unsecured Loans"): {},
|
||||
_("Bank Overdraft Account"): {},
|
||||
},
|
||||
},
|
||||
_("Temporary Accounts (Liabilities)"): {
|
||||
_("Temporary Liabilities"): {}
|
||||
},
|
||||
"root_type": "Liability"
|
||||
},
|
||||
_("Equity"): {
|
||||
_("Capital Stock"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Dividends Paid"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Opening Balance Equity"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Retained Earnings"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
"root_type": "Equity"
|
||||
_("Stock Liabilities"): {
|
||||
_("Stock Received But Not Billed"): {
|
||||
"account_type": "Stock Received But Not Billed"
|
||||
},
|
||||
},
|
||||
_("Duties and Taxes"): {
|
||||
"account_type": "Tax",
|
||||
"group_or_ledger": "Group"
|
||||
},
|
||||
_("Loans (Liabilities)"): {
|
||||
_("Secured Loans"): {},
|
||||
_("Unsecured Loans"): {},
|
||||
_("Bank Overdraft Account"): {},
|
||||
},
|
||||
},
|
||||
_("Temporary Accounts (Liabilities)"): {
|
||||
_("Temporary Liabilities"): {}
|
||||
},
|
||||
"root_type": "Liability"
|
||||
},
|
||||
_("Equity"): {
|
||||
_("Capital Stock"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Dividends Paid"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Opening Balance Equity"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
_("Retained Earnings"): {
|
||||
"account_type": "Equity"
|
||||
},
|
||||
"root_type": "Equity"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user