Fixed version conflict

This commit is contained in:
Nabin Hait 2016-12-23 17:43:42 +05:30
commit 58291c77e9
637 changed files with 75340 additions and 53210 deletions

View File

@ -8,7 +8,7 @@ Includes: Accounting, Inventory, Manufacturing, CRM, Sales, Purchase, Project Ma
ERPNext is built on the [Frappe](https://github.com/frappe/frappe) Framework, a full-stack web app framework in Python & JavaScript. ERPNext is built on the [Frappe](https://github.com/frappe/frappe) Framework, a full-stack web app framework in Python & JavaScript.
- [User Guide](https://manual.erpnext.com) - [User Guide](https://frappe.github.io/erpnext/)
- [Getting Help](http://erpnext.org/getting-help.html) - [Getting Help](http://erpnext.org/getting-help.html)
- [Discussion Forum](https://discuss.erpnext.com/) - [Discussion Forum](https://discuss.erpnext.com/)

View File

@ -2,7 +2,7 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import frappe import frappe
__version__ = '7.1.29' __version__ = '7.2.0'
def get_default_company(user=None): def get_default_company(user=None):
'''Get default company for user''' '''Get default company for user'''

View File

@ -51,7 +51,7 @@ cur_frm.cscript.add_toolbar_buttons = function(doc) {
if (doc.is_group == 1) { if (doc.is_group == 1) {
cur_frm.add_custom_button(__('Group to Non-Group'), cur_frm.add_custom_button(__('Group to Non-Group'),
function() { cur_frm.cscript.convert_to_ledger(); }, 'icon-retweet', 'btn-default'); function() { cur_frm.cscript.convert_to_ledger(); }, 'fa fa-retweet', 'btn-default');
} else if (cint(doc.is_group) == 0) { } else if (cint(doc.is_group) == 0) {
cur_frm.add_custom_button(__('Ledger'), function() { cur_frm.add_custom_button(__('Ledger'), function() {
frappe.route_options = { frappe.route_options = {
@ -64,7 +64,7 @@ cur_frm.cscript.add_toolbar_buttons = function(doc) {
}); });
cur_frm.add_custom_button(__('Non-Group to Group'), cur_frm.add_custom_button(__('Non-Group to Group'),
function() { cur_frm.cscript.convert_to_group(); }, 'icon-retweet', 'btn-default') function() { cur_frm.cscript.convert_to_group(); }, 'fa fa-retweet', 'btn-default')
} }
} }

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -76,6 +78,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Account Name", "label": "Account Name",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -105,6 +108,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Group", "label": "Is Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -132,6 +136,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -161,6 +166,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Root Type", "label": "Root Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -188,6 +194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Report Type", "label": "Report Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -216,6 +223,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency", "label": "Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -244,6 +252,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -270,6 +279,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Parent Account", "label": "Parent Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -300,6 +310,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Account Type", "label": "Account Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -330,6 +341,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rate", "label": "Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -359,6 +371,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Frozen", "label": "Frozen",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -388,6 +401,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Warehouse", "label": "Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -415,6 +429,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Balance must be", "label": "Balance must be",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -442,6 +457,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Lft", "label": "Lft",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -468,6 +484,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rgt", "label": "Rgt",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -494,6 +511,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Old Parent", "label": "Old Parent",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -511,7 +529,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-money", "icon": "fa fa-money",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -520,7 +538,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 14:58:35.124421", "modified": "2016-12-15 14:43:50.121671",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Account", "name": "Account",

View File

@ -30,7 +30,9 @@ frappe.treeview_settings["Account"] = {
options: ['Asset', 'Liability', 'Equity', 'Income', 'Expense'].join('\n'), options: ['Asset', 'Liability', 'Equity', 'Income', 'Expense'].join('\n'),
depends_on: 'eval:doc.is_group && !doc.parent_account'}, depends_on: 'eval:doc.is_group && !doc.parent_account'},
{fieldtype:'Select', fieldname:'account_type', label:__('Account Type'), {fieldtype:'Select', fieldname:'account_type', label:__('Account Type'),
options: ['', 'Bank', 'Cash', 'Stock', 'Tax', 'Chargeable', 'Fixed Asset'].join('\n'), options: ['', 'Accumulated Depreciation', 'Bank', 'Cash', 'Chargeable', 'Cost of Goods Sold', 'Depreciation',
'Equity', 'Expense Account', 'Expenses Included In Valuation', 'Fixed Asset', 'Income Account', 'Payable', 'Receivable',
'Round Off', 'Stock', 'Stock Adjustment', 'Stock Received But Not Billed', 'Tax', 'Temporary'].join('\n'),
description: __("Optional. This setting will be used to filter in various transactions.") description: __("Optional. This setting will be used to filter in various transactions.")
}, },
{fieldtype:'Float', fieldname:'tax_rate', label:__('Tax Rate'), {fieldtype:'Float', fieldname:'tax_rate', label:__('Tax Rate'),

View File

@ -6,9 +6,8 @@ import frappe, os, json
from frappe.utils import cstr from frappe.utils import cstr
from unidecode import unidecode from unidecode import unidecode
def create_charts(chart_name, company): def create_charts(company, chart_template=None, existing_company=None):
chart = get_chart(chart_name) chart = get_chart(chart_template, existing_company)
if chart: if chart:
accounts = [] accounts = []
@ -17,7 +16,7 @@ def create_charts(chart_name, company):
if root_account: if root_account:
root_type = child.get("root_type") root_type = child.get("root_type")
if account_name not in ["account_type", "root_type", "is_group"]: if account_name not in ["account_type", "root_type", "is_group", "tax_rate"]:
account_name_in_db = unidecode(account_name.strip().lower()) account_name_in_db = unidecode(account_name.strip().lower())
if account_name_in_db in accounts: if account_name_in_db in accounts:
@ -57,16 +56,19 @@ def create_charts(chart_name, company):
def identify_is_group(child): def identify_is_group(child):
if child.get("is_group"): if child.get("is_group"):
is_group = child.get("is_group") is_group = child.get("is_group")
elif len(set(child.keys()) - set(["account_type", "root_type", "is_group"])): elif len(set(child.keys()) - set(["account_type", "root_type", "is_group", "tax_rate"])):
is_group = 1 is_group = 1
else: else:
is_group = 0 is_group = 0
return is_group return is_group
def get_chart(chart_name): def get_chart(chart_template, existing_company=None):
chart = {} chart = {}
if chart_name == "Standard": if existing_company:
return get_account_tree_from_existing_company(existing_company)
elif chart_template == "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.get() return standard_chart_of_accounts.get()
else: else:
@ -79,7 +81,7 @@ def get_chart(chart_name):
if fname.endswith(".json"): if fname.endswith(".json"):
with open(os.path.join(path, fname), "r") as f: with open(os.path.join(path, fname), "r") as f:
chart = f.read() chart = f.read()
if chart and json.loads(chart).get("name") == chart_name: if chart and json.loads(chart).get("name") == chart_template:
return json.loads(chart).get("tree") return json.loads(chart).get("tree")
@frappe.whitelist() @frappe.whitelist()
@ -103,7 +105,7 @@ def get_charts_for_country(country):
path = os.path.join(os.path.dirname(__file__), folder) path = os.path.join(os.path.dirname(__file__), folder)
for fname in os.listdir(path): for fname in os.listdir(path):
if fname.startswith(country_code) and fname.endswith(".json"): if (fname.startswith(country_code) or fname.startswith(country)) and fname.endswith(".json"):
with open(os.path.join(path, fname), "r") as f: with open(os.path.join(path, fname), "r") as f:
_get_chart_name(f.read()) _get_chart_name(f.read())
@ -111,3 +113,47 @@ def get_charts_for_country(country):
charts.append("Standard") charts.append("Standard")
return charts return charts
def get_account_tree_from_existing_company(existing_company):
all_accounts = frappe.get_all('Account',
filters={'company': existing_company},
fields = ["name", "account_name", "parent_account", "account_type",
"is_group", "root_type", "tax_rate"],
order_by="lft, rgt")
account_tree = {}
# fill in tree starting with root accounts (those with no parent)
build_account_tree(account_tree, None, all_accounts)
return account_tree
def build_account_tree(tree, parent, all_accounts):
# find children
parent_account = parent.name if parent else None
children = [acc for acc in all_accounts if acc.parent_account == parent_account]
# if no children, but a group account
if not children and parent.is_group:
tree["is_group"] = 1
# build a subtree for each child
for child in children:
if child.account_type == "Stock" and not child.is_group:
tree["is_group"] = 1
continue
# start new subtree
tree[child.account_name] = {}
# assign account_type and root_type
if child.account_type:
tree[child.account_name]["account_type"] = child.account_type
if child.tax_rate:
tree[child.account_name]["tax_rate"] = child.tax_rate
if not parent:
tree[child.account_name]["root_type"] = child.root_type
# call recursively to build a subtree for current account
build_account_tree(tree[child.account_name], child, all_accounts)

View File

@ -1,153 +0,0 @@
{
"country_code": "ca",
"name": "Canada - Plan comptable pour les provinces francophones",
"tree": {
"ACTIF": {
"ACTIFS COURANTS": {
"CERTIFICATS DE D\u00c9P\u00d4TS": {},
"COMPTES CLIENTS": {
"Comptes clients": {
"account_type": "Receivable"
},
"PROVISION POUR CR\u00c9ANCES DOUTEUSES": {}
},
"ENCAISSE": {},
"FRAIS PAY\u00c9S D'AVANCE": {},
"IMP\u00d4TS \u00c0 RECEVOIR": {
"TPS \u00e0 recevoir": {},
"TVH \u00e0 recevoir": {
"TVH \u00e0 recevoir - 13%": {},
"TVH \u00e0 recevoir - 14%": {},
"TVH \u00e0 recevoir - 15%": {}
},
"TVP/TVQ \u00e0 recevoir": {}
},
"PLACEMENTS D\u00c9TENUS \u00c0 DES FINS DE TRANSACTION": {},
"STOCKS": {
"Stock": {},
"Stock exp\u00e9di\u00e9 non-factur\u00e9": {}
},
"TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE": {}
},
"ACTIFS NON-COURANTS": {
"IMMOBILISATIONS CORPORELLES": {
"AMORTISSEMENTS CUMUL\u00c9S": {}
},
"IMMOBILISATIONS INCORPORELLES": {
"BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS": {}
},
"PLACEMENTS DISPONIBLES \u00c0 LA VENTE": {}
},
"root_type": "Asset"
},
"CAPITAUX PROPRES": {
"AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL": {},
"B\u00c9N\u00c9FICES NON R\u00c9PARTIS": {},
"CAPITAL-ACTIONS": {},
"DIVIDENDES": {},
"PRIMES": {},
"SURPLUS D'APPORT": {},
"root_type": "Equity",
"\u00c9CARTS DE CONVERSION": {}
},
"CHARGES": {
"CHARGES D'EXPLOITATION": {
"AUTRES FRAIS D'EXPLOITATION": {},
"CO\u00dbT DES PRODUITS VENDUS": {
"Achats": {},
"Achats dans des provinces harmonis\u00e9es": {},
"Achats dans des provinces non-harmonis\u00e9es": {},
"Achats \u00e0 l'\u00e9tranger": {}
},
"FRAIS DE RECHERCHE ET D\u00c9VELOPPEMENT": {},
"FRAIS G\u00c9N\u00c9RAUX": {},
"FRAIS SUR VENTE": {},
"SALAIRES ET CHARGES SOCIALES": {
"Assurance Emploi": {},
"Assurance parentale": {},
"Fonds des services de sant\u00e9": {},
"Imp\u00f4t f\u00e9d\u00e9ral": {},
"Imp\u00f4t provincial": {},
"Normes du travail": {},
"Rentes": {},
"Salaires": {},
"Sant\u00e9 et s\u00e9curit\u00e9 au travail": {},
"Vacances": {}
}
},
"FRAIS NON LI\u00c9S \u00c0 L'EXPLOITATION": {
"AUTRES FRAIS NON LI\u00c9S \u00c0 L'EXPLOITATION": {},
"INT\u00c9R\u00caTS D\u00c9BITEURS": {}
},
"root_type": "Expense"
},
"PASSIF": {
"PASSIFS COURANTS": {
"AUTRES COMPTES CR\u00c9DITEURS": {},
"DETTES FINANCI\u00c8RES COURANTES": {},
"FOURNISSEURS ET COMPTES RATTACH\u00c9S": {
"Comptes fournisseurs": {
"account_type": "Payable"
}
},
"IMP\u00d4TS LI\u00c9S AUX SALAIRES \u00c0 PAYER": {
"AGENCE DU REVENU DU CANADA": {
"ASSURANCE EMPLOI \u00c0 PAYER": {
"AE - Contribution de l'employeur": {},
"AE - Contribution des employ\u00e9s": {}
},
"Imp\u00f4t f\u00e9d\u00e9ral sur les revenus": {}
},
"AGENCE DU REVENU PROVINCIAL": {
"ASSURANCE PARENTALE \u00c0 PAYER": {
"AP - Contribution de l'employeur": {},
"AP - Contribution des employ\u00e9s": {}
},
"Fond des Services de Sant\u00e9 \u00e0 payer": {},
"Imp\u00f4t provincial sur les revenus": {},
"Normes du Travail \u00e0 payer": {},
"RENTES \u00c0 PAYER": {
"Rentes - Contribution de l'employeur": {},
"Rentes - Contribution des employ\u00e9s": {}
},
"Sant\u00e9 et S\u00e9curit\u00e9 au Travail \u00e0 payer": {}
}
},
"IMP\u00d4TS \u00c0 PAYER": {
"TPS \u00e0 payer": {},
"TVH \u00e0 payer": {
"TVH \u00e0 payer - 13%": {},
"TVH \u00e0 payer - 14%": {},
"TVH \u00e0 payer - 15%": {}
},
"TVP/TVQ \u00e0 payer": {}
},
"PASSIFS DE STOCK": {
"Stock re\u00e7u non factur\u00e9": {}
},
"PASSIFS LI\u00c9S AUX ACTIFS D\u00c9TENUS EN VUE DE LEUR CESSION": {}
},
"PASSIFS NON-COURANTS": {
"AUTRES PASSIFS NON-COURANTS": {},
"DETTES FINANCI\u00c8RES NON-COURANTES": {},
"IMP\u00d4TS DIFF\u00c9R\u00c9S": {},
"PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI": {}
},
"root_type": "Liability"
},
"PRODUITS": {
"PRODUITS D'EXPLOITATION": {
"AUTRES PRODUITS D'EXPLOITATION": {},
"Ventes": {},
"Ventes avec des provinces harmonis\u00e9es": {},
"Ventes avec des provinces non-harmonis\u00e9es": {},
"Ventes \u00e0 l'\u00e9tranger": {}
},
"PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION": {
"AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION": {},
"INT\u00c9R\u00caTS": {}
},
"root_type": "Income"
}
}
}

View File

@ -39,7 +39,9 @@
"Bank Margin On LC & LG": {}, "Bank Margin On LC & LG": {},
"Banks Blocked Deposits": {}, "Banks Blocked Deposits": {},
"Banks Call Deposit Accounts": {}, "Banks Call Deposit Accounts": {},
"Banks Current Accounts": {}, "Banks Current Accounts": {
"account_type": "Bank"
},
"account_type": "Bank" "account_type": "Bank"
}, },
"Cash in Hand": { "Cash in Hand": {
@ -58,7 +60,8 @@
"Petty Cash - Others": { "Petty Cash - Others": {
"account_type": "Cash" "account_type": "Cash"
} }
} },
"account_type": "Cash"
}, },
"Cash in Transit": { "Cash in Transit": {
"Credit Cards": { "Credit Cards": {
@ -79,12 +82,17 @@
}, },
"Inventory": { "Inventory": {
"Consigned Stock": { "Consigned Stock": {
"Handling Difference in Inventory": {}, "Handling Difference in Inventory": {
"account_type": "Stock Adjustment"
},
"Items Delivered to Customs on temprary Base": {} "Items Delivered to Customs on temprary Base": {}
}, },
"Stock in Hand": { "Stock in Hand": {
"All Warehouses": {
"account_type": "Stock", "account_type": "Stock",
"is_group": 1 "is_group": 1
},
"account_type": "Stock"
} }
}, },
"Perliminary and Preoperating Expenses": { "Perliminary and Preoperating Expenses": {
@ -124,17 +132,33 @@
"Long Term Assets": { "Long Term Assets": {
"Fixed Assets": { "Fixed Assets": {
"Accumulated Depreciation": { "Accumulated Depreciation": {
"Acc. Depreciation of Motor Vehicles": {}, "Acc. Depreciation of Motor Vehicles": {
"Acc. Deprn.Computer Hardware & Software": {}, "account_type": "Accumulated Depreciation"
"Acc.Deprn.of Furniture & Office Equipment": {}, },
"Amortisation on Leasehold Improvement": {} "Acc. Deprn.Computer Hardware & Software": {
"account_type": "Accumulated Depreciation"
},
"Acc.Deprn.of Furniture & Office Equipment": {
"account_type": "Accumulated Depreciation"
},
"Amortisation on Leasehold Improvement": {
"account_type": "Accumulated Depreciation"
},
"account_type": "Accumulated Depreciation"
}, },
"Fixed Assets (Cost Price)": { "Fixed Assets (Cost Price)": {
"Computer Hardware & Software": {}, "Computer Hardware & Software": {
"Furniture and Equipment": {}, "account_type": "Fixed Asset"
},
"Furniture and Equipment": {
"account_type": "Fixed Asset"
},
"Leasehold Improvement": {}, "Leasehold Improvement": {},
"Motor Vehicules": {}, "Motor Vehicules": {
"Work In Progrees": {} "account_type": "Fixed Asset"
},
"Work In Progrees": {},
"account_type": "Fixed Asset"
} }
}, },
"Intangible Assets": { "Intangible Assets": {
@ -163,7 +187,9 @@
"Cost of Sale": { "Cost of Sale": {
"Cost Of Goods Sold": { "Cost Of Goods Sold": {
"Cost Of Goods Sold I/C Sales": {}, "Cost Of Goods Sold I/C Sales": {},
"Cost of Goods Sold in Trading": {}, "Cost of Goods Sold in Trading": {
"account_type": "Cost of Goods Sold"
},
"account_type": "Cost of Goods Sold" "account_type": "Cost of Goods Sold"
}, },
"Expenses Included In Valuation": { "Expenses Included In Valuation": {
@ -173,9 +199,15 @@
"Depreciation": { "Depreciation": {
"Depreciation & Amortization": { "Depreciation & Amortization": {
"Amortization on Leasehold Improvement": {}, "Amortization on Leasehold Improvement": {},
"Depreciation Of Computer Hard & Soft": {}, "Depreciation Of Computer Hard & Soft": {
"Depreciation Of Furniture & Office Equipment\n\t\t\t": {}, "account_type": "Depreciation"
"Depreciation Of Motor Vehicles": {} },
"Depreciation Of Furniture & Office Equipment\n\t\t\t": {
"account_type": "Depreciation"
},
"Depreciation Of Motor Vehicles": {
"account_type": "Depreciation"
}
} }
}, },
"Direct Expenses": { "Direct Expenses": {
@ -205,8 +237,11 @@
"Royalty to Parent Co.": {} "Royalty to Parent Co.": {}
}, },
"Tax / Zakat Expenses": { "Tax / Zakat Expenses": {
"Income Tax": {}, "Income Tax": {
"Zakat": {} "account_type": "Tax"
},
"Zakat": {},
"account_type": "Tax"
} }
} }
}, },
@ -318,15 +353,6 @@
"account_type": "Payable" "account_type": "Payable"
} }
}, },
"Stock Liabilities": {
"Stock Received But Not Billed": {
"account_type": "Stock Received But Not Billed"
}
},
"Duties and Taxes": {
"account_type": "Tax",
"is_group": 1
},
"Accruals & Provisions": { "Accruals & Provisions": {
"Accruals": { "Accruals": {
"Accrued Personnel Cost": { "Accrued Personnel Cost": {
@ -363,12 +389,21 @@
}, },
"Short Term Loan": {} "Short Term Loan": {}
}, },
"Duties and Taxes": {
"account_type": "Tax",
"is_group": 1
},
"Reservations & Credit Notes": { "Reservations & Credit Notes": {
"Credit Notes": { "Credit Notes": {
"Credit Notes to Customers": {}, "Credit Notes to Customers": {},
"Reservations": {} "Reservations": {}
} }
}, },
"Stock Liabilities": {
"Stock Received But Not Billed": {
"account_type": "Stock Received But Not Billed"
}
},
"Unearned Income": {} "Unearned Income": {}
}, },
"Long Term Liabilities": { "Long Term Liabilities": {
@ -410,7 +445,7 @@
"Sales from Other Region": {} "Sales from Other Region": {}
}, },
"Sales of same region": { "Sales of same region": {
"Management Consultancy Fees": {}, "Management Consultancy Fees 1": {},
"Sales Account": {}, "Sales Account": {},
"Sales of I/C": {} "Sales of I/C": {}
} }

View File

@ -1,414 +0,0 @@
{
"country_code": "at",
"name": "Austria - Chart of Accounts - Einheitskontenrahmen",
"tree": {
"Klasse 0 Aktiva: Anlageverm\u00f6gen": {
"0100 Konzessionen ": {"account_type": "Fixed Asset"},
"0110 Patentrechte und Lizenzen ": {"account_type": "Fixed Asset"},
"0120 Datenverarbeitungsprogramme ": {"account_type": "Fixed Asset"},
"0130 Marken, Warenzeichen und Musterschutzrechte, sonstige Urheberrechte ": {"account_type": "Fixed Asset"},
"0140 Pacht- und Mietrechte ": {"account_type": "Fixed Asset"},
"0150 Bezugs- und ähnliche Rechte ": {"account_type": "Fixed Asset"},
"0160 Geschäfts-/Firmenwert ": {"account_type": "Fixed Asset"},
"0170 Umgründungsmehrwert ": {"account_type": "Fixed Asset"},
"0180 Geleistete Anzahlungen auf immaterielle Vermögensgegenstände": {"account_type": "Fixed Asset"},
"0190 Kumulierte Abschreibungen zu immateriellen Vermögensgegenständen ": {"account_type": "Fixed Asset"},
"0200 Unbebaute Grundstücke, soweit nicht landwirtschaftlich genutzt ": {"account_type": "Fixed Asset"},
"0210 Bebaute Grundstücke (Grundwert) ": {"account_type": "Fixed Asset"},
"0220 Landwirtschaftlich genutzte Grundstücke ": {"account_type": "Fixed Asset"},
"0230 Grundstücksgleiche Rechte ": {"account_type": "Fixed Asset"},
"0300 Betriebs- und Geschäftsgebäude auf eigenem Grund ": {"account_type": "Fixed Asset"},
"0310 Wohn- und Sozialgebäude auf eigenem Grund ": {"account_type": "Fixed Asset"},
"0320 Betriebs- und Geschäftsgebäude auf fremdem Grund ": {"account_type": "Fixed Asset"},
"0330 Wohn- und Sozialgebäude auf fremdem Grund ": {"account_type": "Fixed Asset"},
"0340 Grundstückseinrichtungen auf eigenem Grund ": {"account_type": "Fixed Asset"},
"0350 Grundstückseinrichtungen auf fremdem Grund ": {"account_type": "Fixed Asset"},
"0360 Bauliche Investitionen in fremden (gepachteten) Betriebs- und Geschäftsgebäuden": {"account_type": "Fixed Asset"},
"0370 Bauliche Investitionen in fremden (gepachteten) Wohn- und Sozialgebäuden": {"account_type": "Fixed Asset"},
"0390 Kumulierte Abschreibungen zu Grundstücken ": {"account_type": "Fixed Asset"},
"0400 Maschinen und Geräte ": {"account_type": "Fixed Asset"},
"0500 Maschinenwerkzeuge ": {"account_type": "Fixed Asset"},
"0510 Allgemeine Werkzeuge und Handwerkzeuge ": {"account_type": "Fixed Asset"},
"0520 Prototypen, Formen, Modelle ": {"account_type": "Fixed Asset"},
"0530 Andere Erzeugungshilfsmittel (auch Softwarewerkzeuge)": {"account_type": "Fixed Asset"},
"0540 Hebezeuge und Montageanlagen ": {"account_type": "Fixed Asset"},
"0550 Geringwertige Vermögensgegenstände, soweit im Erzeugungsprozess ": {"account_type": "Fixed Asset"},
"0560 Festwerte technische Anlagen und Maschinen ": {"account_type": "Fixed Asset"},
"0590 Kumulierte Abschreibungen zu technischen Anlagen und Maschinen ": {"account_type": "Fixed Asset"},
"0600 Betriebs- und Geschäftsausstattung, soweit nicht gesondert angeführt ": {"account_type": "Fixed Asset"},
"0610 Andere Anlagen, soweit nicht gesondert angeführt ": {"account_type": "Fixed Asset"},
"0620 Büromaschinen, EDV-Anlagen ": {"account_type": "Fixed Asset"},
"0630 PKW und Kombis ": {"account_type": "Fixed Asset"},
"0640 LKW ": {"account_type": "Fixed Asset"},
"0650 Andere Beförderungsmittel ": {"account_type": "Fixed Asset"},
"0660 Gebinde ": {"account_type": "Fixed Asset"},
"0670 Geringwertige Vermögensgegenstände, soweit nicht im Erzeugungssprozess verwendet": {"account_type": "Fixed Asset"},
"0680 Festwerte außer technische Anlagen und Maschinen ": {"account_type": "Fixed Asset"},
"0690 Kumulierte Abschreibungen zu anderen Anlagen, Betriebs- und Geschäftsausstattung": {"account_type": "Fixed Asset"},
"0700 Geleistete Anzahlungen auf Sachanlagen ": {"account_type": "Fixed Asset"},
"0710 Anlagen in Bau ": {"account_type": "Fixed Asset"},
"0790 Kumulierte Abschreibungen zu geleisteten Anzahlungen auf Sachanlagen ": {"account_type": "Fixed Asset"},
"0800 Anteile an verbundenen Unternehmen ": {"account_type": "Fixed Asset"},
"0810 Beteiligungen an Gemeinschaftsunternehmen ": {"account_type": "Fixed Asset"},
"0820 Beteiligungen an angeschlossenen (assoziierten) Unternehmen ": {"account_type": "Fixed Asset"},
"0830 Eigene Anteile, Anteile an herrschenden oder mit Mehrheit beteiligten ": {"account_type": "Fixed Asset"},
"0840 Sonstige Beteiligungen ": {"account_type": "Fixed Asset"},
"0850 Ausleihungen an verbundene Unternehmen ": {"account_type": "Fixed Asset"},
"0860 Ausleihungen an Unternehmen mit Beteiligungsverhältnis": {"account_type": "Fixed Asset"},
"0870 Ausleihungen an Gesellschafter ": {"account_type": "Fixed Asset"},
"0880 Sonstige Ausleihungen ": {"account_type": "Fixed Asset"},
"0890 Anteile an Kapitalgesellschaften ohne Beteiligungscharakter ": {"account_type": "Fixed Asset"},
"0900 Anteile an Personengesellschaften ohne Beteiligungscharakter ": {"account_type": "Fixed Asset"},
"0910 Genossenschaftsanteile ohne Beteiligungscharakter ": {"account_type": "Fixed Asset"},
"0920 Anteile an Investmentfonds ": {"account_type": "Fixed Asset"},
"0930 Festverzinsliche Wertpapiere des Anlagevermögens ": {"account_type": "Fixed Asset"},
"0980 Geleistete Anzahlungen auf Finanzanlagen ": {"account_type": "Fixed Asset"},
"0990 Kumulierte Abschreibungen zu Finanzanlagen ": {"account_type": "Fixed Asset"},
"root_type": "Asset"
},
"Klasse 1 Aktiva: Vorr\u00e4te": {
"1000 Bezugsverrechnung": {"account_type": "Stock"},
"1100 Rohstoffe": {"account_type": "Stock"},
"1200 Bezogene Teile": {"account_type": "Stock"},
"1300 Hilfsstoffe": {"account_type": "Stock"},
"1350 Betriebsstoffe": {"account_type": "Stock"},
"1360 Vorrat Energietraeger": {"account_type": "Stock"},
"1400 Unfertige Erzeugnisse": {"account_type": "Stock"},
"1500 Fertige Erzeugnisse": {"account_type": "Stock"},
"1600 Handelswarenvorrat": {"account_type": "Stock Received But Not Billed"},
"1700 Noch nicht abrechenbare Leistungen": {"account_type": "Stock"},
"1900 Wertberichtigungen": {"account_type": "Stock"},
"1800 Geleistete Anzahlungen": {"account_type": "Stock"},
"root_type": "Asset"
},
"Klasse 3 Passiva: Verbindlichkeiten": {
"3020 Steuerr\u00fcckstellungen": {"account_type": "Tax"},
"3040 Sonstige R\u00fcckstellungen": {"account_type": "Payable"},
"3110 Verbindlichkeiten gegen\u00fcber Bank": {"account_type": "Payable"},
"3150 Verbindlichkeiten Darlehen": {"account_type": "Payable"},
"3185 Verbindlichkeiten Kreditkarte": {"account_type": "Payable"},
"3380 Verbindlichkeiten aus der Annahme gezogener Wechsel u. d. Ausstellungen eigener Wechsel": {
"account_type": "Payable"
},
"3400 Verbindlichkeiten gegen\u00fc. verb. Untern., Verbindl. gegen\u00fc. Untern., mit denen eine Beteiligungsverh\u00e4lnis besteht": {},
"3460 Verbindlichkeiten gegenueber Gesellschaftern": {"account_type": "Payable"},
"3470 Einlagen stiller Gesellschafter": {"account_type": "Payable"},
"3590 Verbindlichkeiten Kommunalabgaben": {"account_type": "Tax"},
"3600 Verbindlichkeiten Sozialversicherung": {"account_type": "Payable"},
"3000 Allgemeine Verbindlichkeiten (Schuld)": {"account_type": "Payable"},
"3700 Sonstige Verbindlichkeiten": {"account_type": "Payable"},
"3900 Passive Rechnungsabgrenzungsposten": {"account_type": "Payable"},
"3100 Anleihen (einschlie\u00dflich konvertibler)": {"account_type": "Payable"},
"3200 Erhaltene Anzahlungen auf Bestellungen": {"account_type": "Payable"},
"3040 R\u00fcckstellungen f\u00fcr Abfertigung": {"account_type": "Payable"},
"3010 R\u00fcckstellungen f\u00fcr Pensionen": {"account_type": "Payable"},
"3530 USt. \u00a719 (reverse charge)": {
"account_type": "Tax"
},
"3500 Verbindlichkeiten aus Umsatzsteuer": {"account_type": "Tax"},
"3580 Umsatzsteuer Zahllast": {
"account_type": "Tax"
},
"3510 Umsatzsteuer aus i.g. Erwerb 10%": {
"account_type": "Tax"
},
"3520 Umsatzsteuer aus i.g. Erwerb 20%": {
"account_type": "Tax"
},
"3560 Umsatzsteuer-Evidenzkonto f\u00fcr erhaltene Anzahlungen auf Bestellungen": {},
"3360 Verbindlichkeiten aus Lieferungen u. Leistungen EU": {
"account_type": "Payable"
},
"3000 Verbindlichkeiten aus Lieferungen u. Leistungen Inland": {
"account_type": "Payable"
},
"3370 Verbindlichkeiten aus Lieferungen u. Leistungen sonst. Ausland": {
"account_type": "Payable"
},
"3400 Verbindlichkeiten gegen\u00fcber verbundenen Unternehmen": {},
"3570 Verrechnung Finanzamt": {
"account_type": "Tax"
},
"root_type": "Liability"
},
"Klasse 2 Aktiva: Umlaufverm\u00f6gen, Rechnungsabgrenzungen": {
"2030 Forderungen aus Lieferungen und Leistungen Inland (0% USt, umsatzsteuerfrei)": {
"account_type": "Receivable"
},
"2010 Forderungen aus Lieferungen und Leistungen Inland (10% USt, umsatzsteuerfrei)": {
"account_type": "Receivable"
},
"2000 Forderungen aus Lieferungen und Leistungen Inland (20% USt, umsatzsteuerfrei)": {
"account_type": "Receivable"
},
"2040 Forderungen aus Lieferungen und Leistungen Inland (sonstiger USt-Satz)": {
"account_type": "Receivable"
},
"2100 Forderungen aus Lieferungen und Leistungen EU": {
"account_type": "Receivable"
},
"2150 Forderungen aus Lieferungen und Leistungen Ausland (Nicht-EU)": {
"account_type": "Receivable"
},
"2200 Forderungen gegen\u00fcber verbundenen Unternehmen": {
"account_type": "Receivable"
},
"2250 Forderungen gegen\u00fcber Unternehmen, mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
"account_type": "Receivable"
},
"2300 Sonstige Forderungen und Verm\u00f6gensgegenst\u00e4nde": {
"account_type": "Receivable"
},
"2630 Sonstige Wertpapiere": {
"account_type": "Stock"
},
"2750 Kassenbest\u00e4nde in Fremdw\u00e4hrung": {
"account_type": "Cash"
},
"2900 Aktive Rechnungsabrenzungsposten": {
"account_type": "Receivable"
},
"2600 Anteile an verbundenen Unternehmen": {
"account_type": "Equity"
},
"2680 Besitzwechsel ohne Forderungen": {
"account_type": "Receivable"
},
"2950 Aktiviertes Disagio": {
"account_type": "Receivable"
},
"2610 Eigene Anteile und Wertpapiere an mit Mehrheit beteiligten Unternehmen": {
"account_type": "Receivable"
},
"2570 Einfuhrumsatzsteuer (bezahlt)": {"account_type": "Tax"},
"2460 Eingeforderte aber noch nicht eingezahlte Einlagen": {
"account_type": "Receivable"
},
"2180 Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. Ausland": {
"account_type": "Receivable"
},
"2130 Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. EU": {
"account_type": "Receivable"
},
"2080 Einzelwertberichtigungen zu Forderungen aus Lief. und Leist. Inland ": {
"account_type": "Receivable"
},
"2270 Einzelwertberichtigungen zu Forderungen gegen\u00fcber Unternehmen mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
"account_type": "Receivable"
},
"2230 Einzelwertberichtigungen zu Forderungen gegen\u00fcber verbundenen Unternehmen": {
"account_type": "Receivable"
},
"2470 Einzelwertberichtigungen zu sonstigen Forderungen und Verm\u00f6gensgegenst\u00e4nden": {
"account_type": "Receivable"
},
"2700 Kassenbestand": {
"account_type": "Cash"
},
"2190 Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. sonstiges Ausland": {
"account_type": "Receivable"
},
"2130 Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. EU": {
"account_type": "Receivable"
},
"2100 Pauschalwertberichtigungen zu Forderungen aus Lief. und Leist. Inland ": {
"account_type": "Receivable"
},
"2280 Pauschalwertberichtigungen zu Forderungen gegen\u00fcber Unternehmen mit denen ein Beteiligungsverh\u00e4ltnis besteht": {
"account_type": "Receivable"
},
"2240 Pauschalwertberichtigungen zu Forderungen gegen\u00fcber verbundenen Unternehmen": {
"account_type": "Receivable"
},
"2480 Pauschalwertberichtigungen zu sonstigen Forderungen und Verm\u00f6gensgegenst\u00e4nden": {
"account_type": "Receivable"
},
"2740 Postwertzeichen": {
"account_type": "Cash"
},
"2780 Schecks in Euro": {
"account_type": "Cash"
},
"2800 Guthaben bei Kreditinstitut": {
"account_type": "Bank"
},
"2810 Guthaben bei Paypal": {
"account_type": "Bank"
},
"2930 Mietvorauszahlungen": {
"account_type": "Receivable"
},
"2980 Abgrenzung latenter Steuern": {
"account_type": "Receivable"
},
"2500 Vorsteuer": {
"account_type": "Receivable"
},
"2510 Vorsteuer aus innergemeinschaftlichem Erwerb 10%": {
"account_type": "Tax"
},
"2520 Vorsteuer aus innergemeinschaftlichem Erwerb 20%": {
"account_type": "Tax"
},
"2530 Vorsteuer \u00a719/Art 19 ( reverse charge ) ": {
"account_type": "Tax"
},
"2690 Wertberichtigungen zu Wertpapieren und Anteilen": {
"account_type": "Receivable"
},
"root_type": "Asset"
},
"Klasse 4: Betriebliche Erträge": {
"4000 Erlöse 20 %": {"account_type": "Income Account"},
"4020 Erl\u00f6se 0 % steuerbefreit": {"account_type": "Income Account"},
"4010 Erl\u00f6se 10 %": {"account_type": "Income Account"},
"4030 Erl\u00f6se 13 %": {"account_type": "Income Account"},
"4040 Erl\u00f6se 0 % innergemeinschaftliche Lieferungen": {"account_type": "Income Account"},
"4400 Erl\u00f6sreduktion 0 % steuerbefreit": {"account_type": "Expense Account"},
"4410 Erl\u00f6sreduktion 10 %": {"account_type": "Expense Account"},
"4420 Erl\u00f6sreduktion 20 %": {"account_type": "Expense Account"},
"4430 Erl\u00f6sreduktion 13 %": {"account_type": "Expense Account"},
"4440 Erl\u00f6sreduktion 0 % innergemeinschaftliche Lieferungen": {"account_type": "Expense Account"},
"4500 Ver\u00e4nderungen des Bestandes an fertigen und unfertigen Erzeugn. sowie an noch nicht abrechenbaren Leistungen": {"account_type": "Income Account"},
"4580 Aktivierte Eigenleistungen": {"account_type": "Income Account"},
"4600 Erl\u00f6se aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {"account_type": "Income Account"},
"4630 Ertr\u00e4ge aus dem Abgang vom Anlageverm\u00f6gen, ausgen. Finanzanlagen": {"account_type": "Income Account"},
"4660 Ertr\u00e4ge aus der Zuschreibung zum Anlageverm\u00f6gen, ausgen. Finanzanlagen": {"account_type": "Income Account"},
"4700 Ertr\u00e4ge aus der Aufl\u00f6sung von R\u00fcckstellungen": {"account_type": "Income Account"},
"4800 \u00dcbrige betriebliche Ertr\u00e4ge": {"account_type": "Income Account"},
"root_type": "Income"
},
"Klasse 5: Aufwand f\u00fcr Material und Leistungen": {
"5000 Einkauf Partnerleistungen": {"account_type": "Cost of Goods Sold"},
"5100 Verbrauch an Rohstoffen": {"account_type": "Cost of Goods Sold"},
"5200 Verbrauch von bezogenen Fertig- und Einzelteilen": {"account_type": "Cost of Goods Sold"},
"5300 Verbrauch von Hilfsstoffen": {"account_type": "Cost of Goods Sold"},
"5340 Verbrauch Verpackungsmaterial": {"account_type": "Cost of Goods Sold"},
"5470 Verbrauch von Kleinmaterial": {"account_type": "Cost of Goods Sold"},
"5450 Verbrauch von Reinigungsmaterial": {"account_type": "Cost of Goods Sold"},
"5400 Verbrauch von Betriebsstoffen": {"account_type": "Cost of Goods Sold"},
"5500 Verbrauch von Werkzeugen und anderen Erzeugungshilfsmittel": {"account_type": "Cost of Goods Sold"},
"5600 Verbrauch von Brenn- und Treibstoffen, Energie und Wasser": {"account_type": "Cost of Goods Sold"},
"5700 Bearbeitung durch Dritte": {"account_type": "Cost of Goods Sold"},
"5900 Aufwandsstellenrechnung Material": {"account_type": "Cost of Goods Sold"},
"5820 Skontoertr\u00e4ge (20% USt.)": {"account_type": "Income Account"},
"5810 Skontoertr\u00e4ge (10% USt.)": {"account_type": "Income Account"},
"5010 Handelswareneinkauf 10 %": {"account_type": "Cost of Goods Sold"},
"5020 Handelswareneinkauf 20 %": {"account_type": "Cost of Goods Sold"},
"5040 Handelswareneinkauf innergemeinschaftlicher Erwerb 10 % VSt/10 % USt": {"account_type": "Cost of Goods Sold"},
"5050 Handelswareneinkauf innergemeinschaftlicher Erwerb 20 % VSt/20 % USt": {"account_type": "Cost of Goods Sold"},
"5070 Handelswareneinkauf innergemeinschaftlicher Erwerb ohne Vorsteuerabzug und 10 % USt": {"account_type": "Cost of Goods Sold"},
"5080 Handelswareneinkauf innergemeinschaftlicher Erwerb ohne Vorsteuerabzug und 20 % USt": {"account_type": "Cost of Goods Sold"},
"root_type": "Expense"
},
"Klasse 6: Personalaufwand": {
"6000 L\u00f6hne": {"account_type": "Payable"},
"6200 Geh\u00e4lter": {"account_type": "Payable"},
"6400 Aufwendungen f\u00fcr Abfertigungen": {"account_type": "Payable"},
"6450 Aufwendungen f\u00fcr Altersversorgung": {"account_type": "Payable"},
"6500 Gesetzlicher Sozialaufwand Arbeiter": {"account_type": "Payable"},
"6560 Gesetzlicher Sozialaufwand Angestellte": {"account_type": "Payable"},
"6600 Lohnabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {"account_type": "Payable"},
"6660 Gehaltsabh\u00e4ngige Abgaben und Pflichtbeitr\u00e4gte": {"account_type": "Payable"},
"6700 Sonstige Sozialaufwendungen": {"account_type": "Payable"},
"6900 Aufwandsstellenrechnung Personal": {"account_type": "Payable"},
"root_type": "Expense"
},
"Klasse 7: Abschreibungen und sonstige betriebliche Aufwendungen": {
"7010 Abschreibungen auf das Anlageverm\u00f6gen (ausgenommen Finanzanlagen)": {"account_type": "Depreciation"},
"7100 Sonstige Steuern und Geb\u00fchren": {"account_type": "Tax"},
"7200 Instandhaltung u. Reinigung durch Dritte, Entsorgung, Energie": {"account_type": "Expense Account"},
"7300 Transporte durch Dritte": {"account_type": "Expense Account"},
"7310 Fahrrad - Aufwand": {"account_type": "Expense Account"},
"7320 Kfz - Aufwand": {"account_type": "Expense Account"},
"7330 LKW - Aufwand": {"account_type": "Expense Account"},
"7340 Lastenrad - Aufwand": {"account_type": "Expense Account"},
"7350 Reise- und Fahraufwand": {"account_type": "Expense Account"},
"7360 Tag- und N\u00e4chtigungsgelder": {"account_type": "Expense Account"},
"7380 Nachrichtenaufwand": {"account_type": "Expense Account"},
"7400 Miet- und Pachtaufwand": {"account_type": "Expense Account"},
"7440 Leasingaufwand": {"account_type": "Expense Account"},
"7480 Lizenzaufwand": {"account_type": "Expense Account"},
"7500 Aufwand f\u00fcr beigestelltes Personal": {"account_type": "Expense Account"},
"7540 Provisionen an Dritte": {"account_type": "Expense Account"},
"7580 Aufsichtsratsverg\u00fctungen": {"account_type": "Expense Account"},
"7610 Druckerzeugnisse und Vervielf\u00e4ltigungen": {"account_type": "Expense Account"},
"7650 Werbung und Repr\u00e4sentationen": {"account_type": "Expense Account"},
"7700 Versicherungen": {"account_type": "Expense Account"},
"7750 Beratungs- und Pr\u00fcfungsaufwand": {"account_type": "Expense Account"},
"7800 Forderungsverluste und Schadensf\u00e4lle": {"account_type": "Expense Account"},
"7840 Verschiedene betriebliche Aufwendungen": {"account_type": "Expense Account"},
"7910 Aufwandsstellenrechung der Hersteller": {"account_type": "Expense Account"},
"7060 Sofortabschreibungen geringwertig": {"account_type": "Expense Account"},
"7070 Abschreibungen vom Umlaufverm\u00f6gen, soweit diese die im Unternehmen \u00fcblichen Abschreibungen \u00fcbersteigen": {"account_type": "Depreciation"},
"7900 Aufwandsstellenrechnung": {"account_type": "Expense Account"},
"7770 Aus- und Fortbildung": {"account_type": "Expense Account"},
"7820 Buchwert abgegangener Anlagen, ausgenommen Finanzanlagen": {"account_type": "Expense Account"},
"7600 B\u00fcromaterial und Drucksorten": {"account_type": "Expense Account"},
"7630 Fachliteratur und Zeitungen ": {"account_type": "Expense Account"},
"7960 Herstellungskosten der zur Erzielung der Umsatzerl\u00f6se erbrachten Leistungen": {"account_type": "Expense Account"},
"7780 Mitgliedsbeitr\u00e4ge": {"account_type": "Expense Account"},
"7880 Skontoertr\u00e4ge auf sonstige betriebliche Aufwendungen": {"account_type": "Expense Account"},
"7990 Sonstige betrieblichen Aufwendungen": {"account_type": "Expense Account"},
"7680 Spenden und Trinkgelder": {"account_type": "Expense Account"},
"7790 Spesen des Geldverkehrs": {"account_type": "Expense Account"},
"7830 Verluste aus dem Abgang vom Anlageverm\u00f6gen, ausgenommen Finanzanlagen": {"account_type": "Expense Account"},
"7970 Vertriebskosten": {"account_type": "Expense Account"},
"7980 Verwaltungskosten": {"account_type": "Expense Account"},
"root_type": "Expense"
},
"Klasse 8: Finanz- und ausserordentliche Ertr\u00e4ge und Aufwendungen": {
"8000 Ertr\u00e4ge aus Beteiligungen": {"account_type": "Income Account"},
"8050 Ertr\u00e4ge aus anderen Wertpapieren und Ausleihungen des Finanzanlageverm\u00f6gens": {"account_type": "Income Account"},
"8100 Zinsen aus Bankguthaben": {"account_type": "Income Account"},
"8110 Zinsen aus gewaehrten Darlehen": {"account_type": "Income Account"},
"8130 Verzugszinsenertraege": {"account_type": "Income Account"},
"8220 Aufwendungen aus Beteiligungen": {"account_type": "Expense Account"},
"8260 Aufwendungen aus sonst. Fiananzanlagen und aus Wertpapieren des Umlaufverm\u00f6gens": {},
"8280 Zinsen und \u00e4hnliche Aufwendungem": {"account_type": "Expense Account"},
"8400 Au\u00dferordentliche Ertr\u00e4ge": {"account_type": "Income Account"},
"8450 Au\u00dferordentliche Aufwendungen": {"account_type": "Expense Account"},
"8500 Steuern vom Einkommen und vom Ertrag": {
"account_type": "Tax"
},
"8600 Aufl\u00f6sung unversteuerten R\u00fccklagen": {"account_type": "Income Account"},
"8700 Aufl\u00f6sung von Kapitalr\u00fccklagen": {"account_type": "Income Account"},
"8750 Aufl\u00f6sung von Gewinnr\u00fccklagen": {"account_type": "Income Account"},
"8800 Zuweisung zu unversteuerten R\u00fccklagen": {"account_type": "Expense Account"},
"8900 Zuweisung zu Gewinnr\u00fccklagen": {"account_type": "Expense Account"},
"8100 Buchwert abgegangener Beteiligungen": {"account_type": "Expense Account"},
"8130 Buchwert abgegangener Wertpapiere des Umlaufverm\u00f6gens": {"account_type": "Expense Account"},
"8120 Buchwert abgegangener sonstiger Finanzanlagen": {"account_type": "Expense Account"},
"8990 Gewinnabfuhr bzw. Verlust\u00fcberrechnung aus Ergebnisabf\u00fchrungsvertr\u00e4gen": {"account_type": "Expense Account"},
"8350 nicht ausgenutzte Lieferantenskonti": {"account_type": "Expense Account"},
"root_type": "Income"
},
"Klasse 9 Passiva: Eigenkapital, R\u00fccklagen, stille Einlagen, Abschlusskonten": {
"9000 Gezeichnetes bzw. gewidmetes Kapital": {
"account_type": "Equity"
},
"9200 Kapitalr\u00fccklagen": {
"account_type": "Equity"
},
"9300 Gewinnr\u00fccklagen": {
"account_type": "Equity"
},
"9400 Bewertungsreserven uns sonst. unversteuerte R\u00fccklagen": {
"account_type": "Equity"
},
"9600 Private Entnahmen": {"account_type": "Equity"},
"9610 Privatsteuern": {"account_type": "Equity"},
"9700 Einlagen stiller Gesellschafter ": {"account_type": "Equity"},
"9900 Evidenzkonto": {"account_type": "Equity"},
"9800 Er\u00f6ffnungsbilanzkonto (EBK)": {"account_type": "Equity"},
"9880 Jahresergebnis laut Gewinn- und Verlustrechnung (G+V)": {"account_type": "Equity"},
"9850 Schlussbilanzkonto (SBK)": {"account_type": "Round Off"},
"9190 nicht eingeforderte ausstehende Einlagen und berechtigte Entnahmen von Gesellschaftern": {
"account_type": "Equity"
},
"root_type": "Equity"
}
}
}

View File

@ -3,7 +3,7 @@
"name": "Brasileira - Planilha de Contas", "name": "Brasileira - Planilha de Contas",
"tree": { "tree": {
"ATIVO": { "ATIVO": {
"CIRCULANTE": { "CIRCULANTE 1": {
"CONTAS RETIFICADORAS": { "CONTAS RETIFICADORAS": {
"(-) Duplicatas Descontadas": {}, "(-) Duplicatas Descontadas": {},
"(-) Outras Contas Retificadoras": {}, "(-) Outras Contas Retificadoras": {},
@ -23,32 +23,30 @@
"ICMS e Contribui\u00e7\u00f5es a Recuperar": {}, "ICMS e Contribui\u00e7\u00f5es a Recuperar": {},
"IPI a Recuperar": {}, "IPI a Recuperar": {},
"Imposto de Renda a Recuperar": {}, "Imposto de Renda a Recuperar": {},
"Outras": {}, "Outras 9": {},
"Outros Impostos e Contribui\u00e7\u00f5es a Recuperar": {}, "Outros Impostos e Contribui\u00e7\u00f5es a Recuperar": {},
"PIS e COFINS a Recuperar": {}, "PIS e COFINS a Recuperar": {},
"Tributos Municipais a Recuperar": {} "Tributos Municipais a Recuperar": {}
}, },
"DESPESAS DO EXERC\u00cdCIO SEGUINTE": { "DESPESAS DO EXERC\u00cdCIO SEGUINTE": {
"Despesas do Exerc\u00edcio Seguinte": {}, "Despesas do Exerc\u00edcio Seguinte 1": {},
"Outras Contas": {} "Outras Contas 4": {}
}, },
"DISPONIBILIDADES": { "DISPONIBILIDADES": {
"Bancos": { "Bancos": {
"account_type": "Cash" "account_type": "Bank"
}, },
"Caixa": { "Caixa": {
"account_type": "Bank" "account_type": "Bank"
}, },
"Contas Banc\u00e1rias \u2013 Doa\u00e7\u00f5es": {}, "Contas Banc\u00e1rias \u2013 Doa\u00e7\u00f5es": {
"Contas Banc\u00e1rias \u2013 Outros Recursos Sujeitos a Restri\u00e7\u00f5es": {}, "account_type": "Bank"
"Contas Banc\u00e1rias \u2013 Subven\u00e7\u00f5es": {}, },
"Outras": {}, "account_type": "Bank"
"Recursos no Exterior Decorrentes de Exporta\u00e7\u00e3o": {}, },
"Valores Mobili\u00e1rios - Mercado de Capitais Externo": {}, "Dinheiro": {
"Valores Mobili\u00e1rios - Mercado de Capitais Interno": {}, "account_type": "Cash",
"Valores Mobili\u00e1rios \u2013 Aplica\u00e7\u00f5es de Doa\u00e7\u00f5es": {}, "is_group": 1
"Valores Mobili\u00e1rios \u2013 Aplica\u00e7\u00f5es de Outros Recursos Sujeitos a Restri\u00e7\u00f5es": {},
"Valores Mobili\u00e1rios \u2013 Aplica\u00e7\u00f5es de Subven\u00e7\u00f5es": {}
}, },
"ESTOQUES": { "ESTOQUES": {
"Constru\u00e7\u00f5es em Andamento de Im\u00f3veis Destinados \u00e0 Venda": {}, "Constru\u00e7\u00f5es em Andamento de Im\u00f3veis Destinados \u00e0 Venda": {},
@ -57,19 +55,20 @@
"Insumos (materiais diretos)": {}, "Insumos (materiais diretos)": {},
"Insumos Agropecu\u00e1rios": {}, "Insumos Agropecu\u00e1rios": {},
"Mercadorias para Revenda": {}, "Mercadorias para Revenda": {},
"Outras": {}, "Outras 11": {},
"Produtos Acabados": {}, "Produtos Acabados": {},
"Produtos Agropecu\u00e1rios Acabados": {}, "Produtos Agropecu\u00e1rios Acabados": {},
"Produtos Agropecu\u00e1rios em Forma\u00e7\u00e3o": {}, "Produtos Agropecu\u00e1rios em Forma\u00e7\u00e3o": {},
"Produtos em Elabora\u00e7\u00e3o": {}, "Produtos em Elabora\u00e7\u00e3o": {},
"Servi\u00e7os em andamento": {} "Servi\u00e7os em andamento": {},
"account_type": "Stock"
} }
}, },
"N\u00c3O CIRCULANTE": { "N\u00c3O CIRCULANTE": {
"DIFERIDO": { "DIFERIDO": {
"(-) Amortiza\u00e7\u00e3o do Diferido": {}, "(-) Amortiza\u00e7\u00e3o do Diferido": {},
"Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991) 1": {},
"Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991) 1": {},
"Demais Aplica\u00e7\u00f5es em Despesas Amortiz\u00e1veis": {}, "Demais Aplica\u00e7\u00f5es em Despesas Amortiz\u00e1veis": {},
"Despesas Pr\u00e9-Operacionais ou Pr\u00e9-Industriais": {}, "Despesas Pr\u00e9-Operacionais ou Pr\u00e9-Industriais": {},
"Despesas com Pesquisas Cient\u00edficas ou Tecnol\u00f3gicas": {} "Despesas com Pesquisas Cient\u00edficas ou Tecnol\u00f3gicas": {}
@ -82,15 +81,23 @@
"Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991)": {},
"Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991)": {},
"Direitos Contratuais de Explora\u00e7\u00e3o de Florestas": {}, "Direitos Contratuais de Explora\u00e7\u00e3o de Florestas": {},
"Edif\u00edcios e Constru\u00e7\u00f5es": {}, "Edif\u00edcios e Constru\u00e7\u00f5es": {
"Embarca\u00e7\u00f5es": {}, "account_type": "Fixed Asset"
},
"Embarca\u00e7\u00f5es": {
"account_type": "Fixed Asset"
},
"Equipamentos, M\u00e1quinas e Instala\u00e7\u00f5es Industriais": {}, "Equipamentos, M\u00e1quinas e Instala\u00e7\u00f5es Industriais": {},
"Florestamento e Reflorestamento": {}, "Florestamento e Reflorestamento": {},
"M\u00f3veis, Utens\u00edlios e Instala\u00e7\u00f5es Comerciais": {}, "M\u00f3veis, Utens\u00edlios e Instala\u00e7\u00f5es Comerciais": {
"account_type": "Fixed Asset"
},
"Outras Imobiliza\u00e7\u00f5es": {}, "Outras Imobiliza\u00e7\u00f5es": {},
"Recursos Minerais": {}, "Recursos Minerais": {},
"Terrenos": {}, "Terrenos": {},
"Ve\u00edculos": {} "Ve\u00edculos": {
"account_type": "Fixed Asset"
}
}, },
"INTANG\u00cdVEL": { "INTANG\u00cdVEL": {
"(-) Amortiza\u00e7\u00e3o do Intang\u00edvel": {}, "(-) Amortiza\u00e7\u00e3o do Intang\u00edvel": {},
@ -101,34 +108,34 @@
"Franquias": {}, "Franquias": {},
"Fundo de Com\u00e9rcio": {}, "Fundo de Com\u00e9rcio": {},
"Marcas e Patentes": {}, "Marcas e Patentes": {},
"Outras": {}, "Outras 12": {},
"Software ou Programas de Computador": {} "Software ou Programas de Computador": {}
}, },
"INVESTIMENTOS": { "INVESTIMENTOS": {
"(-) Des\u00e1gios e Provis\u00e3o para Perdas Prov\u00e1veis em Investimentos": {}, "(-) Des\u00e1gios e Provis\u00e3o para Perdas Prov\u00e1veis em Investimentos": {},
"(-) Outras Contas Retificadoras": {}, "(-) Outras Contas Retificadoras 1": {},
"Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria - Diferen\u00e7a IPC/BTNF (Lei no 8.200/1991) 2": {},
"Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991)": {}, "Corre\u00e7\u00e3o Monet\u00e1ria Especial (Lei no 8.200/1991) 2": {},
"Investimentos Decorrentes de Incentivos Fiscais": {}, "Investimentos Decorrentes de Incentivos Fiscais": {},
"Outras Contas": {}, "Outras Contas 5": {},
"Outros Investimentos": {}, "Outros Investimentos": {},
"Participa\u00e7\u00f5es Permanentes em Coligadas ou Controladas": {}, "Participa\u00e7\u00f5es Permanentes em Coligadas ou Controladas": {},
"\u00c1gios em Investimentos": {} "\u00c1gios em Investimentos": {}
}, },
"REALIZ\u00c1VEL A LONGO PRAZO": { "REALIZ\u00c1VEL A LONGO PRAZO": {
"(-) Duplicatas Descontadas": {}, "(-) Duplicatas Descontadas 1": {},
"(-) Outras Contas Retificadoras": {}, "(-) Outras Contas Retificadoras 2": {},
"(-) Provis\u00f5es para Ajuste ao Valor Prov\u00e1vel de Realiza\u00e7\u00e3o": {}, "(-) Provis\u00f5es para Ajuste ao Valor Prov\u00e1vel de Realiza\u00e7\u00e3o 1": {},
"(-) Provis\u00f5es para Cr\u00e9ditos de Liquida\u00e7\u00e3o Duvidosa": {}, "(-) Provis\u00f5es para Cr\u00e9ditos de Liquida\u00e7\u00e3o Duvidosa 1": {},
"Clientes": { "Clientes 1": {
"account_type": "Receivable" "account_type": "Receivable"
}, },
"Cr\u00e9ditos Fiscais CSLL \u2013 Diferen\u00e7as Tempor\u00e1rias e Base de C\u00e1lculo Negativa": {}, "Cr\u00e9ditos Fiscais CSLL \u2013 Diferen\u00e7as Tempor\u00e1rias e Base de C\u00e1lculo Negativa 1": {},
"Cr\u00e9ditos Fiscais IRPJ \u2013 Diferen\u00e7as Tempor\u00e1rias e Preju\u00edzos Fiscais": {}, "Cr\u00e9ditos Fiscais IRPJ \u2013 Diferen\u00e7as Tempor\u00e1rias e Preju\u00edzos Fiscais 1": {},
"Cr\u00e9ditos com Pessoas Ligadas (F\u00edsicas/Jur\u00eddicas)": {}, "Cr\u00e9ditos com Pessoas Ligadas (F\u00edsicas/Jur\u00eddicas)": {},
"Cr\u00e9ditos por Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es": {}, "Cr\u00e9ditos por Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es 1": {},
"Dep\u00f3sitos Judiciais": {}, "Dep\u00f3sitos Judiciais": {},
"Outras Contas": {}, "Outras Contas 6": {},
"Valores Mobili\u00e1rios": {} "Valores Mobili\u00e1rios": {}
} }
}, },
@ -138,7 +145,7 @@
"CUSTO DOS BENS E SERVI\u00c7OS PRODUZIDOS": { "CUSTO DOS BENS E SERVI\u00c7OS PRODUZIDOS": {
"CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA PRODUZIDOS": { "CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA PRODUZIDOS": {
"Alimenta\u00e7\u00e3o do Trabalhador": {}, "Alimenta\u00e7\u00e3o do Trabalhador": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil 1": {},
"Constitui\u00e7\u00e3o de Provis\u00f5es": {}, "Constitui\u00e7\u00e3o de Provis\u00f5es": {},
"Consumo de Insumos": {}, "Consumo de Insumos": {},
"Custo do Pessoal Aplicado na Produ\u00e7\u00e3o": {}, "Custo do Pessoal Aplicado na Produ\u00e7\u00e3o": {},
@ -149,12 +156,14 @@
"Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {},
"Loca\u00e7\u00e3o de M\u00e3o-de-obra": {}, "Loca\u00e7\u00e3o de M\u00e3o-de-obra": {},
"Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o": {}, "Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o": {},
"Outros Custos": {}, "Outros Custos 7": {
"account_type": "Expenses Included In Valuation"
},
"Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o": {}, "Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o": {},
"Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {},
"Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {},
"Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 1": {},
"Remunera\u00e7\u00e3o a Dirigentes de Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Remunera\u00e7\u00e3o a Dirigentes de Ligados \u00e0 Produ\u00e7\u00e3o": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {},
@ -163,56 +172,56 @@
"Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {} "Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}
}, },
"CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA PRODUZIDOS DA ATIVIDADE RURAL": { "CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA PRODUZIDOS DA ATIVIDADE RURAL": {
"Alimenta\u00e7\u00e3o do Trabalhador": {}, "Alimenta\u00e7\u00e3o do Trabalhador 2": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil 3": {},
"Constitui\u00e7\u00e3o de Provis\u00f5es": {}, "Constitui\u00e7\u00e3o de Provis\u00f5es 2": {},
"Consumo de Insumos": {}, "Consumo de Insumos 1": {},
"Custo do Pessoal Aplicado na Produ\u00e7\u00e3o": {}, "Custo do Pessoal Aplicado na Produ\u00e7\u00e3o 1": {},
"Encargos Sociais \u2013 FGTS": {}, "Encargos Sociais \u2013 FGTS 2": {},
"Encargos Sociais \u2013 Outros": {}, "Encargos Sociais \u2013 Outros 2": {},
"Encargos Sociais \u2013 Previd\u00eancia Social": {}, "Encargos Sociais \u2013 Previd\u00eancia Social 2": {},
"Encargos de Deprecia\u00e7\u00e3o, Amortiza\u00e7\u00e3o e Exaust\u00e3o": {}, "Encargos de Deprecia\u00e7\u00e3o, Amortiza\u00e7\u00e3o e Exaust\u00e3o 2": {},
"Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o 1": {},
"Loca\u00e7\u00e3o de M\u00e3o-de-obra": {}, "Loca\u00e7\u00e3o de M\u00e3o-de-obra 2": {},
"Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o": {}, "Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o 1": {},
"Outros Custos": {}, "Outros Custos 9": {},
"Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o": {}, "Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o 1": {},
"Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o 1": {},
"Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o 1": {},
"Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica 2": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 3": {},
"Remunera\u00e7\u00e3o a Dirigentes de Ligados \u00e0 Produ\u00e7\u00e3o": {}, "Remunera\u00e7\u00e3o a Dirigentes de Ligados \u00e0 Produ\u00e7\u00e3o 1": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR 2": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS 2": {},
"Servi\u00e7os Prestados Pessoa Jur\u00eddica": {}, "Servi\u00e7os Prestados Pessoa Jur\u00eddica 2": {},
"Servi\u00e7os Prestados por Cooperativa de Trabalho": {}, "Servi\u00e7os Prestados por Cooperativa de Trabalho 2": {},
"Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {} "Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 2": {}
}, },
"CUSTO DOS SERVI\u00c7OS PRODUZIDOS": { "CUSTO DOS SERVI\u00c7OS PRODUZIDOS": {
"Alimenta\u00e7\u00e3o do Trabalhador": {}, "Alimenta\u00e7\u00e3o do Trabalhador 1": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil 2": {},
"Constitui\u00e7\u00e3o de Provis\u00f5es": {}, "Constitui\u00e7\u00e3o de Provis\u00f5es 1": {},
"Custo do Pessoal Aplicado na Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Custo do Pessoal Aplicado na Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Encargos Sociais \u2013 FGTS": {}, "Encargos Sociais \u2013 FGTS 1": {},
"Encargos Sociais \u2013 Outros": {}, "Encargos Sociais \u2013 Outros 1": {},
"Encargos Sociais \u2013 Previd\u00eancia Social": {}, "Encargos Sociais \u2013 Previd\u00eancia Social 1": {},
"Encargos de Deprecia\u00e7\u00e3o, Amortiza\u00e7\u00e3o e Exaust\u00e3o": {}, "Encargos de Deprecia\u00e7\u00e3o, Amortiza\u00e7\u00e3o e Exaust\u00e3o 1": {},
"Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Fundo de Aposentadoria Programada Individual de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Loca\u00e7\u00e3o de M\u00e3o-de-obra": {}, "Loca\u00e7\u00e3o de M\u00e3o-de-obra 1": {},
"Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Manuten\u00e7\u00e3o e Reparo de Bens Aplicados na Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Material Aplicado na Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Material Aplicado na Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Outros Custos": {}, "Outros Custos 8": {},
"Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Outros Gastos com Pessoal Ligado \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Plano de Previd\u00eancia Privada de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Planos de Poupan\u00e7a e Investimentos de Empregados Ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica 1": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 2": {},
"Remunera\u00e7\u00e3o a Dirigentes ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {}, "Remunera\u00e7\u00e3o a Dirigentes ligados \u00e0 Produ\u00e7\u00e3o de Servi\u00e7os": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR 1": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS 1": {},
"Servi\u00e7os Prestados Pessoa Jur\u00eddica": {}, "Servi\u00e7os Prestados Pessoa Jur\u00eddica 1": {},
"Servi\u00e7os Prestados por Cooperativa de Trabalho": {}, "Servi\u00e7os Prestados por Cooperativa de Trabalho 1": {},
"Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {} "Servi\u00e7os Prestados por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 1": {}
} }
}, },
"root_type": "Expense" "root_type": "Expense"
@ -220,6 +229,9 @@
"PASSIVO": { "PASSIVO": {
"CIRCULANTE": { "CIRCULANTE": {
"OBRIGA\u00c7\u00d5ES DE CURTO PRAZO": { "OBRIGA\u00c7\u00d5ES DE CURTO PRAZO": {
" Gastos incluidos en la valoraci\u00f3n": {
"account_type": "Stock Received But Not Billed"
},
"(-) Contas Retificadoras": {}, "(-) Contas Retificadoras": {},
"Adiantamentos de Clientes": {}, "Adiantamentos de Clientes": {},
"Arrendamento Mercantil (Financeiro) a Curto Prazo - Exterior": {}, "Arrendamento Mercantil (Financeiro) a Curto Prazo - Exterior": {},
@ -252,21 +264,21 @@
}, },
"N\u00c3O-CIRCULANTE": { "N\u00c3O-CIRCULANTE": {
"OBRIGA\u00c7\u00d5ES A LONGO PRAZO": { "OBRIGA\u00c7\u00d5ES A LONGO PRAZO": {
"(-) Contas Retificadoras": {}, "(-) Contas Retificadoras 1": {},
"Arrendamento Mercantil (Financeiro) a Longo Prazo - Sistema Financeiro Nacional": {}, "Arrendamento Mercantil (Financeiro) a Longo Prazo - Sistema Financeiro Nacional": {},
"Arrendamento Mercantil (Financeiro) a Longo Prazo \u2013 Exterior": {}, "Arrendamento Mercantil (Financeiro) a Longo Prazo \u2013 Exterior": {},
"Cr\u00e9ditos de Pessoas Ligadas (F\u00edsicas/Jur\u00eddicas)": {}, "Cr\u00e9ditos de Pessoas Ligadas (F\u00edsicas/Jur\u00eddicas)": {},
"Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos": {}, "Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos 1": {},
"D\u00e9bitos Fiscais CSLL - Diferen\u00e7as Tempor\u00e1rias": {}, "D\u00e9bitos Fiscais CSLL - Diferen\u00e7as Tempor\u00e1rias 1": {},
"D\u00e9bitos Fiscais IRPJ - Diferen\u00e7as Tempor\u00e1rias": {}, "D\u00e9bitos Fiscais IRPJ - Diferen\u00e7as Tempor\u00e1rias 1": {},
"Empr\u00e9stimos de S\u00f3cios/Acionistas N\u00e3o Administradores": {}, "Empr\u00e9stimos de S\u00f3cios/Acionistas N\u00e3o Administradores": {},
"Financiamentos a Longo Prazo - Sistema Financeiro Nacional": {}, "Financiamentos a Longo Prazo - Sistema Financeiro Nacional": {},
"Financiamentos a Longo Prazo \u2013 Brasil - Outros": {}, "Financiamentos a Longo Prazo \u2013 Brasil - Outros": {},
"Financiamentos a Longo Prazo \u2013 Exterior": {}, "Financiamentos a Longo Prazo \u2013 Exterior": {},
"Fornecedores": { "Fornecedores 1": {
"account_type": "Payable" "account_type": "Payable"
}, },
"Outras Contas": {}, "Outras Contas 1": {},
"Outras Provis\u00f5es de Natureza C\u00edvel": {}, "Outras Provis\u00f5es de Natureza C\u00edvel": {},
"Outras Provis\u00f5es de Natureza Fiscal": {}, "Outras Provis\u00f5es de Natureza Fiscal": {},
"Outras Provis\u00f5es de Natureza Trabalhista": {}, "Outras Provis\u00f5es de Natureza Trabalhista": {},
@ -274,7 +286,7 @@
}, },
"RECEITAS DIFERIDAS": { "RECEITAS DIFERIDAS": {
"(-) Custos Correspondentes \u00e0s Receitas Diferidas": {}, "(-) Custos Correspondentes \u00e0s Receitas Diferidas": {},
"Receitas Diferidas": {} "Receitas Diferidas 1": {}
} }
}, },
"PATRIM\u00d4NIO L\u00cdQUIDO": { "PATRIM\u00d4NIO L\u00cdQUIDO": {
@ -288,11 +300,11 @@
"Capital Subscrito de Domiciliados e Residentes no Exterior": {}, "Capital Subscrito de Domiciliados e Residentes no Exterior": {},
"Capital Subscrito de Domiciliados e Residentes no Pa\u00eds": {} "Capital Subscrito de Domiciliados e Residentes no Pa\u00eds": {}
}, },
"OUTRAS CONTAS": { "OUTRAS CONTAS 2": {
"(-) A\u00e7\u00f5es em Tesouraria": {}, "(-) A\u00e7\u00f5es em Tesouraria": {},
"(-) Preju\u00edzos Acumulados": {}, "(-) Preju\u00edzos Acumulados": {},
"Lucros Acumulados e/ou Saldo \u00e0 Disposi\u00e7\u00e3o da Assembl\u00e9ia": {}, "Lucros Acumulados e/ou Saldo \u00e0 Disposi\u00e7\u00e3o da Assembl\u00e9ia": {},
"Outras": {} "Outras 8": {}
}, },
"RESERVAS": { "RESERVAS": {
"Outras Reservas": {}, "Outras Reservas": {},
@ -306,13 +318,13 @@
}, },
"PATRIM\u00d4NIO SOCIAL": { "PATRIM\u00d4NIO SOCIAL": {
"FUNDO PATRIMONIAL": { "FUNDO PATRIMONIAL": {
"Fundo Patrimonial": {} "Fundo Patrimonial 1": {}
}, },
"OUTRAS CONTAS": { "OUTRAS CONTAS 3": {
"D\u00e9ficits Acumulados": {}, "D\u00e9ficits Acumulados": {},
"Super\u00e1vits Acumulados": {} "Super\u00e1vits Acumulados": {}
}, },
"RESERVAS": { "RESERVAS 1": {
"Reservas Estatut\u00e1rias": {}, "Reservas Estatut\u00e1rias": {},
"Reservas Patrimoniais": {} "Reservas Patrimoniais": {}
} }
@ -321,19 +333,19 @@
}, },
"RESULTADO L\u00cdQUIDO DO PER\u00cdODO": { "RESULTADO L\u00cdQUIDO DO PER\u00cdODO": {
"PROVIS\u00c3O PARA CSLL E IRPJ (ATIVIDADE RURAL)": { "PROVIS\u00c3O PARA CSLL E IRPJ (ATIVIDADE RURAL)": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ 3": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ 4": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ 5": {
"(-) Contribui\u00e7\u00e3o Social sobre o Lucro L\u00edquido": {}, "(-) Contribui\u00e7\u00e3o Social sobre o Lucro L\u00edquido 1": {},
"(-) Provis\u00e3o para Imposto de Renda - Pessoa Jur\u00eddica": {} "(-) Provis\u00e3o para Imposto de Renda - Pessoa Jur\u00eddica 1": {}
} }
} }
} }
}, },
"PROVIS\u00c3O PARA CSLL E IRPJ (ATIVIDADES EM GERAL)": { "PROVIS\u00c3O PARA CSLL E IRPJ (ATIVIDADES EM GERAL)": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ 1": {
"PROVIS\u00c3O PARA CSLL E IRPJ": { "PROVIS\u00c3O PARA CSLL E IRPJ 2": {
"(-) Contribui\u00e7\u00e3o Social sobre o Lucro L\u00edquido": {}, "(-) Contribui\u00e7\u00e3o Social sobre o Lucro L\u00edquido": {},
"(-) Provis\u00e3o para Imposto de Renda - Pessoa Jur\u00eddica": {} "(-) Provis\u00e3o para Imposto de Renda - Pessoa Jur\u00eddica": {}
} }
@ -358,94 +370,98 @@
"RESULTADO OPERACIONAL DA ATIVIDADE RURAL": { "RESULTADO OPERACIONAL DA ATIVIDADE RURAL": {
"CUSTO DOS BENS E SERVI\u00c7OS VENDIDOS": { "CUSTO DOS BENS E SERVI\u00c7OS VENDIDOS": {
"CUSTO DOS PRODUTOS DA ATIVIDADE RURAL VENDIDOS": { "CUSTO DOS PRODUTOS DA ATIVIDADE RURAL VENDIDOS": {
"AJUSTES DE ESTOQUES DECORRENTES DE ARBITRAMENTO": {}, "AJUSTES DE ESTOQUES DECORRENTES DE ARBITRAMENTO": {
"account_type": "Stock Adjustment"
},
"Custo dos Produtos Vendidos da Atividade Rural": {} "Custo dos Produtos Vendidos da Atividade Rural": {}
} }
}, },
"DESPESAS OPERACIONAIS": { "DESPESAS OPERACIONAIS 3": {
"DESPESAS OPERACIONAIS DA ATIVIDADE RURAL": { "DESPESAS OPERACIONAIS DA ATIVIDADE RURAL": {
"Alimenta\u00e7\u00e3o do Trabalhador": {}, "Alimenta\u00e7\u00e3o do Trabalhador 3": {},
"Alugu\u00e9is": {}, "Alugu\u00e9is 1": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil 4": {},
"Assist\u00eancia M\u00e9dica, Odontol\u00f3gica e Farmac\u00eautica a Empregados": {}, "Assist\u00eancia M\u00e9dica, Odontol\u00f3gica e Farmac\u00eautica a Empregados": {},
"Bens de Natureza Permanente Deduzidos como Despesa": {}, "Bens de Natureza Permanente Deduzidos como Despesa": {},
"CPMF": {}, "CPMF 1": {},
"Cofins": {}, "Cofins 1": {},
"Demais Impostos, Taxas e Contribui\u00e7\u00f5es, exceto IR e CSLL": {}, "Demais Impostos, Taxas e Contribui\u00e7\u00f5es, exceto IR e CSLL": {},
"Demais Provis\u00f5es": {}, "Demais Provis\u00f5es 1": {},
"Despesas com Ve\u00edculos e de Conserva\u00e7\u00e3o de Bens e Instala\u00e7\u00f5es": {}, "Despesas com Ve\u00edculos e de Conserva\u00e7\u00e3o de Bens e Instala\u00e7\u00f5es 1": {},
"Despesas com viagens, di\u00e1rias e ajusta de custo": {}, "Despesas com viagens, di\u00e1rias e ajusta de custo": {},
"Doa\u00e7\u00f5es a Entidades Civis": {}, "Doa\u00e7\u00f5es a Entidades Civis 1": {},
"Doa\u00e7\u00f5es a Institui\u00e7\u00f5es de Ensino e Pesquisa (Lei no 9.249/1995, art.13, \u00a7 2o)": {}, "Doa\u00e7\u00f5es a Institui\u00e7\u00f5es de Ensino e Pesquisa (Lei no 9.249/1995, art.13, \u00a7 2o) 1": {},
"Doa\u00e7\u00f5es e Patroc\u00ednios de Car\u00e1ter Cultural e Art\u00edstico (Lei no 8.313/1991)": {}, "Doa\u00e7\u00f5es e Patroc\u00ednios de Car\u00e1ter Cultural e Art\u00edstico (Lei no 8.313/1991) 1": {},
"Encargos Sociais - Previd\u00eancia Social": {}, "Encargos Sociais - Previd\u00eancia Social 3": {},
"Encargos Sociais \u2013 FGTS": {}, "Encargos Sociais \u2013 FGTS 3": {},
"Encargos Sociais \u2013 Outros": {}, "Encargos Sociais \u2013 Outros 3": {},
"Encargos de Deprecia\u00e7\u00e3o e Amortiza\u00e7\u00e3o": {}, "Encargos de Deprecia\u00e7\u00e3o e Amortiza\u00e7\u00e3o 1": {
"account_type": "Depreciation"
},
"Fundo de Aposentadoria Programada Individual de Empregados": {}, "Fundo de Aposentadoria Programada Individual de Empregados": {},
"Gratifica\u00e7\u00f5es a Administradores": {}, "Gratifica\u00e7\u00f5es a Administradores": {},
"Loca\u00e7\u00e3o de M\u00e3o-de-obra": {}, "Loca\u00e7\u00e3o de M\u00e3o-de-obra 3": {},
"Multas": {}, "Multas 1": {},
"Ordenados, Sal\u00e1rios Gratifica\u00e7\u00f5es e Outras Remunera\u00e7\u00f5es a Empregados": {}, "Ordenados, Sal\u00e1rios Gratifica\u00e7\u00f5es e Outras Remunera\u00e7\u00f5es a Empregados": {},
"Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es": {}, "Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es 1": {},
"Outras Despesas Operacionais": {}, "Outras Despesas Operacionais 5": {},
"Outros Gastos com Pessoal": {}, "Outros Gastos com Pessoal": {},
"PIS/Pasep": {}, "PIS/Pasep 1": {},
"Perdas em Opera\u00e7\u00f5es de Cr\u00e9dito": {}, "Perdas em Opera\u00e7\u00f5es de Cr\u00e9dito": {},
"Pesquisas Cient\u00edficas e Tecnol\u00f3gicas": {}, "Pesquisas Cient\u00edficas e Tecnol\u00f3gicas": {},
"Plano de Previd\u00eancia Privada de Empregados": {}, "Plano de Previd\u00eancia Privada de Empregados": {},
"Planos de Poupan\u00e7a e Investimentos de Empregados": {}, "Planos de Poupan\u00e7a e Investimentos de Empregados": {},
"Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica 3": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 4": {},
"Propaganda, Publicidade e Patroc\u00ednio": {}, "Propaganda, Publicidade e Patroc\u00ednio": {},
"Propaganda, Publicidade e Patroc\u00ednio (Associa\u00e7\u00f5es Desportivas que Mantenham Equipe de Futebol Profissional)": {}, "Propaganda, Publicidade e Patroc\u00ednio (Associa\u00e7\u00f5es Desportivas que Mantenham Equipe de Futebol Profissional)": {},
"Provis\u00e3o para Perda de Estoque": {}, "Provis\u00e3o para Perda de Estoque": {},
"Provis\u00f5es para F\u00e9rias e 13o Sal\u00e1rio de Empregados": {}, "Provis\u00f5es para F\u00e9rias e 13o Sal\u00e1rio de Empregados 1": {},
"Remunera\u00e7\u00e3o a Dirigentes e a Conselho de Administra\u00e7\u00e3o": {}, "Remunera\u00e7\u00e3o a Dirigentes e a Conselho de Administra\u00e7\u00e3o": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR 3": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS 3": {},
"Servi\u00e7os Prestados por Cooperativa de Trabalho": {} "Servi\u00e7os Prestados por Cooperativa de Trabalho 3": {}
} }
}, },
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 6": {
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 7": {
"(-) Amortiza\u00e7\u00e3o de \u00c1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {}, "(-) Amortiza\u00e7\u00e3o de \u00c1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {},
"(-) Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {}, "(-) Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {},
"(-) Contrapartida dos Ajustes ao Valor Presente": {}, "(-) Contrapartida dos Ajustes ao Valor Presente": {},
"(-) Contrapartida dos ajustes de valor do imobilizado e intang\u00edvel": {}, "(-) Contrapartida dos ajustes de valor do imobilizado e intang\u00edvel": {},
"(-) Juros sobre o Capital Pr\u00f3prio": {}, "(-) Juros sobre o Capital Pr\u00f3prio": {},
"(-) Outras Despesas Financeiras": {}, "(-) Outras Despesas Financeiras": {},
"(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade 1": {},
"(-) Perdas em Opera\u00e7\u00f5es Day-Trade": {}, "(-) Perdas em Opera\u00e7\u00f5es Day-Trade 1": {},
"(-) Perdas em Opera\u00e7\u00f5es Realizadas no Exterior": {}, "(-) Perdas em Opera\u00e7\u00f5es Realizadas no Exterior 1": {},
"(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente 1": {},
"(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias 1": {},
"(-) Resultados Negativos em SCP": {}, "(-) Resultados Negativos em SCP": {},
"(-) Varia\u00e7\u00f5es Cambiais Passivas": {} "(-) Varia\u00e7\u00f5es Cambiais Passivas 1": {}
} }
}, },
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 4": {
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 5": {
"Amortiza\u00e7\u00e3o de Des\u00e1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {}, "Amortiza\u00e7\u00e3o de Des\u00e1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {},
"Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {}, "Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {},
"Contrapartida dos Ajustes ao Valor Presente": {}, "Contrapartida dos Ajustes ao Valor Presente": {},
"Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos": {}, "Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos 2": {},
"Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade 1": {},
"Ganhos em Opera\u00e7\u00f5es Day-Trade": {}, "Ganhos em Opera\u00e7\u00f5es Day-Trade 1": {},
"Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente 1": {},
"Outras Receitas Financeiras": {}, "Outras Receitas Financeiras": {},
"Outras Receitas Operacionais": {}, "Outras Receitas Operacionais 6": {},
"Pr\u00eamios Recebidos na Emiss\u00e3o de Deb\u00eantures": {}, "Pr\u00eamios Recebidos na Emiss\u00e3o de Deb\u00eantures": {},
"Receitas de Juros sobre o Capital Pr\u00f3prio": {}, "Receitas de Juros sobre o Capital Pr\u00f3prio": {},
"Rendimentos e Ganhos de Capital Auferidos no Exterior": {}, "Rendimentos e Ganhos de Capital Auferidos no Exterior 1": {},
"Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias 1": {},
"Resultados Positivos em SCP": {}, "Resultados Positivos em SCP": {},
"Revers\u00e3o dos Saldos das Provis\u00f5es Operacionais": {}, "Revers\u00e3o dos Saldos das Provis\u00f5es Operacionais 1": {},
"Varia\u00e7\u00f5es Cambiais Ativas": {} "Varia\u00e7\u00f5es Cambiais Ativas 1": {}
} }
}, },
"RECEITA OPERACIONAL L\u00cdQUIDA DA ATIVIDADE RURAL": { "RECEITA OPERACIONAL L\u00cdQUIDA DA ATIVIDADE RURAL": {
"DEDU\u00c7\u00d5ES DA RECEITA BRUTA": { "DEDU\u00c7\u00d5ES DA RECEITA BRUTA 1": {
"(-) Cofins": {}, "(-) Cofins": {},
"(-) Demais Impostos e Contribui\u00e7\u00f5es Incidentes sobre Vendas e Servi\u00e7os": {}, "(-) Demais Impostos e Contribui\u00e7\u00f5es Incidentes sobre Vendas e Servi\u00e7os": {},
"(-) ICMS": {}, "(-) ICMS": {},
@ -461,140 +477,140 @@
}, },
"RESULTADO L\u00cdQUIDO DO PER\u00cdODO ANTES DO IRPJ E DA CSLL - ATIVIDADE GERAL": { "RESULTADO L\u00cdQUIDO DO PER\u00cdODO ANTES DO IRPJ E DA CSLL - ATIVIDADE GERAL": {
"OUTRAS RECEITAS E OUTRAS DESPESAS": { "OUTRAS RECEITAS E OUTRAS DESPESAS": {
"RECEITAS E DESPESAS N\u00c3O OPERACIONAIS": { "RECEITAS E DESPESAS N\u00c3O OPERACIONAIS 2": {
"DESPESAS N\u00c3O OPERACIONAIS": { "DESPESAS N\u00c3O OPERACIONAIS 1": {
"(-) Outras Despesas N\u00e3o Operacionais": {}, "(-) Outras Despesas N\u00e3o Operacionais 1": {},
"(-) Perdas de Capital por Varia\u00e7\u00e3o Percentual em Participa\u00e7\u00e3o Societ\u00e1ria Avaliada pelo Patrim\u00f4nio L\u00edquido": {}, "(-) Perdas de Capital por Varia\u00e7\u00e3o Percentual em Participa\u00e7\u00e3o Societ\u00e1ria Avaliada pelo Patrim\u00f4nio L\u00edquido": {},
"(-) Valor Cont\u00e1bil dos Bens e Direitos Alienados": {} "(-) Valor Cont\u00e1bil dos Bens e Direitos Alienados 1": {}
}, },
"RECEITAS N\u00c3O OPERACIONAIS": { "RECEITAS N\u00c3O OPERACIONAIS 1": {
"Ganhos de Capital por Varia\u00e7\u00e3o Percentual em Participa\u00e7\u00e3o Societ\u00e1ria Avaliada pelo Patrim\u00f4nio L\u00edquido": {}, "Ganhos de Capital por Varia\u00e7\u00e3o Percentual em Participa\u00e7\u00e3o Societ\u00e1ria Avaliada pelo Patrim\u00f4nio L\u00edquido": {},
"Outras Receitas N\u00e3o Operacionais": {}, "Outras Receitas N\u00e3o Operacionais 1": {},
"Receitas de Aliena\u00e7\u00f5es de Bens e Direitos do Ativo Permanente": {} "Receitas de Aliena\u00e7\u00f5es de Bens e Direitos do Ativo Permanente": {}
} }
} }
}, },
"PARTICIPA\u00c7\u00d5ES": { "PARTICIPA\u00c7\u00d5ES 1": {
"PARTICIPA\u00c7\u00d5ES NOS LUCROS": { "PARTICIPA\u00c7\u00d5ES NOS LUCROS 1": {
"OUTRAS PARTICIPA\u00c7\u00d5ES": { "OUTRAS PARTICIPA\u00c7\u00d5ES 1": {
"(-) Outras": {}, "(-) Outras 1": {},
"(-) Participa\u00e7\u00f5es de Administradores e Partes Benefici\u00e1rias": {}, "(-) Participa\u00e7\u00f5es de Administradores e Partes Benefici\u00e1rias 1": {},
"(-) Participa\u00e7\u00f5es de Deb\u00eantures": {} "(-) Participa\u00e7\u00f5es de Deb\u00eantures 1": {}
}, },
"PARTICIPA\u00c7\u00d5ES DE EMPREGADOS": { "PARTICIPA\u00c7\u00d5ES DE EMPREGADOS 1": {
"(-) Contribui\u00e7\u00f5es para Assist\u00eancia ou Previd\u00eancia de Empregados": {}, "(-) Contribui\u00e7\u00f5es para Assist\u00eancia ou Previd\u00eancia de Empregados 1": {},
"(-) Outras Participa\u00e7\u00f5es de Empregados": {}, "(-) Outras Participa\u00e7\u00f5es de Empregados 1": {},
"(-) Participa\u00e7\u00f5es de Empregados": {} "(-) Participa\u00e7\u00f5es de Empregados 1": {}
} }
} }
}, },
"RESULTADO OPERACIONAL": { "RESULTADO OPERACIONAL 1": {
"CUSTO DOS BENS E SERVI\u00c7OS VENDIDOS": { "CUSTO DOS BENS E SERVI\u00c7OS VENDIDOS 1": {
"AJUSTES DE ESTOQUES DECORRENTES DE ARBITRAMENTO": {}, "AJUSTES DE ESTOQUES DECORRENTES DE ARBITRAMENTO 1": {},
"CUSTO DAS MERCADORIAS REVENDIDAS": { "CUSTO DAS MERCADORIAS REVENDIDAS": {
"Custo das Mercadorias Revendidas": {}, "Custo das Mercadorias Revendidas 1": {},
"Custo dos Servi\u00e7os Vendidos": {} "Custo dos Servi\u00e7os Vendidos": {}
}, },
"CUSTO DAS UNIDADES IMOBILI\u00c1RIAS VENDIDAS": { "CUSTO DAS UNIDADES IMOBILI\u00c1RIAS VENDIDAS": {
"Custo das Unidades Imobili\u00e1rias Vendidas": {} "Custo das Unidades Imobili\u00e1rias Vendidas 1": {}
}, },
"CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA VENDIDOS": { "CUSTO DOS PRODUTOS DE FABRICA\u00c7\u00c3O PR\u00d3PRIA VENDIDOS": {
"Custo dos Produtos de Fabrica\u00e7\u00e3o Pr\u00f3pria Vendidos": {} "Custo dos Produtos de Fabrica\u00e7\u00e3o Pr\u00f3pria Vendidos 1": {}
} }
}, },
"DESPESAS OPERACIONAIS": { "DESPESAS OPERACIONAIS 4": {
"DESPESAS OPERACIONAIS DAS ATIVIDADES EM GERAL": { "DESPESAS OPERACIONAIS DAS ATIVIDADES EM GERAL": {
"Alimenta\u00e7\u00e3o do Trabalhador": {}, "Alimenta\u00e7\u00e3o do Trabalhador 4": {},
"Alugu\u00e9is": {}, "Alugu\u00e9is 2": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil 5": {},
"Assist\u00eancia M\u00e9dica, Odontol\u00f3gica e Farmac\u00eautica a Empregados": {}, "Assist\u00eancia M\u00e9dica, Odontol\u00f3gica e Farmac\u00eautica a Empregados 1": {},
"Bens de Natureza Permanente Deduzidos como Despesa": {}, "Bens de Natureza Permanente Deduzidos como Despesa 1": {},
"CPMF": {}, "CPMF 2": {},
"Cofins": {}, "Cofins 2": {},
"Demais Impostos, Taxas e Contribui\u00e7\u00f5es, exceto IR e CSLL": {}, "Demais Impostos, Taxas e Contribui\u00e7\u00f5es, exceto IR e CSLL 1": {},
"Demais Provis\u00f5es": {}, "Demais Provis\u00f5es 2": {},
"Despesas com Ve\u00edculos e de Conserva\u00e7\u00e3o de Bens e Instala\u00e7\u00f5es": {}, "Despesas com Ve\u00edculos e de Conserva\u00e7\u00e3o de Bens e Instala\u00e7\u00f5es 2": {},
"Despesas com viagens, di\u00e1rias e ajusta de custo": {}, "Despesas com viagens, di\u00e1rias e ajusta de custo 1": {},
"Doa\u00e7\u00f5es a Entidades Civis": {}, "Doa\u00e7\u00f5es a Entidades Civis 2": {},
"Doa\u00e7\u00f5es a Institui\u00e7\u00f5es de Ensino e Pesquisa (Lei n\u00ba 9.249/1995, art.13, \u00a7 2\u00ba)": {}, "Doa\u00e7\u00f5es a Institui\u00e7\u00f5es de Ensino e Pesquisa (Lei n\u00ba 9.249/1995, art.13, \u00a7 2\u00ba) 2": {},
"Doa\u00e7\u00f5es e Patroc\u00ednios de Car\u00e1ter Cultural e Art\u00edstico (Lei no 8.313/1991)": {}, "Doa\u00e7\u00f5es e Patroc\u00ednios de Car\u00e1ter Cultural e Art\u00edstico (Lei no 8.313/1991) 2": {},
"Encargos Sociais \u2013 FGTS": {}, "Encargos Sociais \u2013 FGTS 4": {},
"Encargos Sociais \u2013 Outros": {}, "Encargos Sociais \u2013 Outros 4": {},
"Encargos Sociais \u2013 Previd\u00eancia Social": {}, "Encargos Sociais \u2013 Previd\u00eancia Social 4": {},
"Encargos de Deprecia\u00e7\u00e3o e Amortiza\u00e7\u00e3o": {}, "Encargos de Deprecia\u00e7\u00e3o e Amortiza\u00e7\u00e3o 2": {},
"Fundo de Aposentadoria Programada Individual de Empregados": {}, "Fundo de Aposentadoria Programada Individual de Empregados 1": {},
"Gratifica\u00e7\u00f5es a Administradores": {}, "Gratifica\u00e7\u00f5es a Administradores 1": {},
"Loca\u00e7\u00e3o de M\u00e3o-de-obra": {}, "Loca\u00e7\u00e3o de M\u00e3o-de-obra 4": {},
"Multas": {}, "Multas 2": {},
"Ordenados, Sal\u00e1rios Gratifica\u00e7\u00f5es e Outras Remunera\u00e7\u00f5es a Empregados": {}, "Ordenados, Sal\u00e1rios Gratifica\u00e7\u00f5es e Outras Remunera\u00e7\u00f5es a Empregados 1": {},
"Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es": {}, "Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es 2": {},
"Outras Despesas Operacionais": {}, "Outras Despesas Operacionais 8": {},
"Outros Gastos com Pessoal": {}, "Outros Gastos com Pessoal 1": {},
"PIS/Pasep": {}, "PIS/Pasep 2": {},
"Perdas em Opera\u00e7\u00f5es de Cr\u00e9dito": {}, "Perdas em Opera\u00e7\u00f5es de Cr\u00e9dito 1": {},
"Pesquisas Cient\u00edficas e Tecnol\u00f3gicas": {}, "Pesquisas Cient\u00edficas e Tecnol\u00f3gicas 1": {},
"Plano de Previd\u00eancia Privada de Empregados": {}, "Plano de Previd\u00eancia Privada de Empregados 1": {},
"Planos de Poupan\u00e7a e Investimentos de Empregados": {}, "Planos de Poupan\u00e7a e Investimentos de Empregados 1": {},
"Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o Pessoa Jur\u00eddica 4": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio 5": {},
"Propaganda, Publicidade e Patroc\u00ednio": {}, "Propaganda, Publicidade e Patroc\u00ednio (Associa\u00e7\u00f5es Desportivas que Mantenham Equipe de Futebol Profissional) 1": {},
"Propaganda, Publicidade e Patroc\u00ednio (Associa\u00e7\u00f5es Desportivas que Mantenham Equipe de Futebol Profissional)": {}, "Propaganda, Publicidade e Patroc\u00ednio 1": {},
"Provis\u00e3o para Perda de Estoque": {}, "Provis\u00e3o para Perda de Estoque 1": {},
"Provis\u00f5es para F\u00e9rias e 13o Sal\u00e1rio de Empregados": {}, "Provis\u00f5es para F\u00e9rias e 13o Sal\u00e1rio de Empregados 2": {},
"Remunera\u00e7\u00e3o a Dirigentes e a Conselho de Administra\u00e7\u00e3o": {}, "Remunera\u00e7\u00e3o a Dirigentes e a Conselho de Administra\u00e7\u00e3o 1": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 EXTERIOR 4": {},
"Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS": {}, "Royalties e Assist\u00eancia T\u00e9cnica \u2013 PA\u00cdS 4": {},
"Servi\u00e7os Prestados por Cooperativa de Trabalho": {} "Servi\u00e7os Prestados por Cooperativa de Trabalho 4": {}
} }
}, },
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 9": {
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 10": {
"(-) Amortiza\u00e7\u00e3o de \u00c1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {}, "(-) Amortiza\u00e7\u00e3o de \u00c1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido 1": {},
"(-) Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {}, "(-) Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade 1": {},
"(-) Contrapartida dos Ajustes ao Valor Presente": {}, "(-) Contrapartida dos Ajustes ao Valor Presente 1": {},
"(-) Contrapartida dos Ajustes de Valor do Imobilizado e Intang\u00edvel": {}, "(-) Contrapartida dos Ajustes de Valor do Imobilizado e Intang\u00edvel 1": {},
"(-) Juros sobre o Capital Pr\u00f3prio": {}, "(-) Juros sobre o Capital Pr\u00f3prio 1": {},
"(-) Outras Despesas Financeiras": {}, "(-) Outras Despesas Financeiras 1": {},
"(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade 2": {},
"(-) Perdas em Opera\u00e7\u00f5es Day-Trade": {}, "(-) Perdas em Opera\u00e7\u00f5es Day-Trade 2": {},
"(-) Perdas em Opera\u00e7\u00f5es Realizadas no Exterior": {}, "(-) Perdas em Opera\u00e7\u00f5es Realizadas no Exterior 2": {},
"(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente 2": {},
"(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias 2": {},
"(-) Resultados Negativos em SCP": {}, "(-) Resultados Negativos em SCP 1": {},
"(-) Varia\u00e7\u00f5es Cambiais Passivas": {} "(-) Varia\u00e7\u00f5es Cambiais Passivas 2": {}
} }
}, },
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 7": {
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 8": {
"Amortiza\u00e7\u00e3o de Des\u00e1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido": {}, "Amortiza\u00e7\u00e3o de Des\u00e1gio nas Aquisi\u00e7\u00f5es de Investimentos Avaliados pelo Patrim\u00f4nio L\u00edquido 1": {},
"Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade": {}, "Contrapartida de outros Ajustes \u00e0s Normas Internacionais de Contabilidade 1": {},
"Contrapartida dos Ajustes ao Valor Presente": {}, "Contrapartida dos Ajustes ao Valor Presente 1": {},
"Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos": {}, "Doa\u00e7\u00f5es e Subven\u00e7\u00f5es para Investimentos 3": {},
"Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade 2": {},
"Ganhos em Opera\u00e7\u00f5es Day-Trade": {}, "Ganhos em Opera\u00e7\u00f5es Day-Trade 2": {},
"Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente 2": {},
"Outras Receitas Financeiras": {}, "Outras Receitas Financeiras 1": {},
"Outras Receitas Operacionais": {}, "Outras Receitas Operacionais 9": {},
"Pr\u00eamios Recebidos na Emiss\u00e3o de Deb\u00eantures": {}, "Pr\u00eamios Recebidos na Emiss\u00e3o de Deb\u00eantures 1": {},
"Receitas de Juros sobre o Capital Pr\u00f3prio": {}, "Receitas de Juros sobre o Capital Pr\u00f3prio 1": {},
"Rendimentos e Ganhos de Capital Auferidos no Exterior": {}, "Rendimentos e Ganhos de Capital Auferidos no Exterior 2": {},
"Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias 2": {},
"Resultados Positivos em SCP": {}, "Resultados Positivos em SCP 1": {},
"Revers\u00e3o dos Saldos das Provis\u00f5es Operacionais": {}, "Revers\u00e3o dos Saldos das Provis\u00f5es Operacionais 2": {},
"Varia\u00e7\u00f5es Cambiais Ativas": {} "Varia\u00e7\u00f5es Cambiais Ativas 2": {}
} }
}, },
"RECEITA LIQUIDA": { "RECEITA LIQUIDA": {
"DEDU\u00c7\u00d5ES DA RECEITA BRUTA": { "DEDU\u00c7\u00d5ES DA RECEITA BRUTA 2": {
"(-) Cofins": {}, "(-) Cofins 1": {},
"(-) Demais Impostos e Contribui\u00e7\u00f5es Incidentes sobre Vendas e Servi\u00e7os": {}, "(-) Demais Impostos e Contribui\u00e7\u00f5es Incidentes sobre Vendas e Servi\u00e7os 1": {},
"(-) ICMS": {}, "(-) ICMS 1": {},
"(-) ISS": {}, "(-) ISS 1": {},
"(-) PIS/Pasep": {}, "(-) PIS/Pasep 1": {},
"(-) Vendas Canceladas, Devolu\u00e7\u00f5es e Descontos Incondicionais": {} "(-) Vendas Canceladas, Devolu\u00e7\u00f5es e Descontos Incondicionais 1": {}
}, },
"RECEITA BRUTA": { "RECEITA BRUTA 1": {
"Outras": {}, "Outras 13": {},
"Receita da Presta\u00e7\u00e3o de Servi\u00e7os \u2013 Mercado Interno": {}, "Receita da Presta\u00e7\u00e3o de Servi\u00e7os \u2013 Mercado Interno": {},
"Receita da Revenda de Mercadorias no Mercado Interno": {}, "Receita da Revenda de Mercadorias no Mercado Interno": {},
"Receita da Venda no Mercado Interno de Produtos de Fabrica\u00e7\u00e3o Pr\u00f3pria": {}, "Receita da Venda no Mercado Interno de Produtos de Fabrica\u00e7\u00e3o Pr\u00f3pria": {},
@ -612,7 +628,7 @@
"SUPER\u00c1VIT/D\u00c9FICIT L\u00cdQUIDO DO PER\u00cdODO": { "SUPER\u00c1VIT/D\u00c9FICIT L\u00cdQUIDO DO PER\u00cdODO": {
"OUTRAS RECEITAS E DESPESAS": { "OUTRAS RECEITAS E DESPESAS": {
"RECEITAS E DESPESAS N\u00c3O OPERACIONAIS": { "RECEITAS E DESPESAS N\u00c3O OPERACIONAIS": {
"RECEITAS E DESPESAS N\u00c3O OPERACIONAIS": { "RECEITAS E DESPESAS N\u00c3O OPERACIONAIS 1": {
"DESPESAS N\u00c3O OPERACIONAIS": { "DESPESAS N\u00c3O OPERACIONAIS": {
"(-) Outras Despesas N\u00e3o Operacionais": {}, "(-) Outras Despesas N\u00e3o Operacionais": {},
"(-) Valor Cont\u00e1bil dos Bens e Direitos Alienados": {} "(-) Valor Cont\u00e1bil dos Bens e Direitos Alienados": {}
@ -628,8 +644,11 @@
"CUSTO DOS PRODUTOS E SERVI\u00c7OS VENDIDOS": { "CUSTO DOS PRODUTOS E SERVI\u00c7OS VENDIDOS": {
"CUSTO DOS PRODUTOS VENDIDOS": { "CUSTO DOS PRODUTOS VENDIDOS": {
"CUSTO DOS PRODUTOS VENDIDOS PARA AS DEMAIS ATIVIDADES": { "CUSTO DOS PRODUTOS VENDIDOS PARA AS DEMAIS ATIVIDADES": {
"Custos dos Produtos Vendidos em Geral": {}, "Custos dos Produtos Vendidos em Geral": {
"Outros Custos": {} "account_type": "Cost of Goods Sold"
},
"Outros Custos 4": {},
"account_type": "Cost of Goods Sold"
}, },
"CUSTO DOS PRODUTOS VENDIDOS PARA ASSIST\u00caNCIA SOCIAL": { "CUSTO DOS PRODUTOS VENDIDOS PARA ASSIST\u00caNCIA SOCIAL": {
"Custos dos Produtos para Assist\u00eancia Social - Gratuidades": {}, "Custos dos Produtos para Assist\u00eancia Social - Gratuidades": {},
@ -639,13 +658,14 @@
"CUSTO DOS PRODUTOS VENDIDOS PARA EDUCA\u00c7\u00c3O": { "CUSTO DOS PRODUTOS VENDIDOS PARA EDUCA\u00c7\u00c3O": {
"Custos dos Produtos para Educa\u00e7\u00e3o - Gratuidades": {}, "Custos dos Produtos para Educa\u00e7\u00e3o - Gratuidades": {},
"Custos dos Produtos para Educa\u00e7\u00e3o - Vendidos": {}, "Custos dos Produtos para Educa\u00e7\u00e3o - Vendidos": {},
"Outros Custos": {} "Outros Custos 6": {}
}, },
"CUSTO DOS PRODUTOS VENDIDOS PARA SA\u00daDE": { "CUSTO DOS PRODUTOS VENDIDOS PARA SA\u00daDE": {
"Custos dos Produtos para Sa\u00fade - Gratuidades": {}, "Custos dos Produtos para Sa\u00fade - Gratuidades": {},
"Custos dos Produtos para Sa\u00fade \u2013 Vendidos": {}, "Custos dos Produtos para Sa\u00fade \u2013 Vendidos": {},
"Outros Custos": {} "Outros Custos 5": {}
} },
"account_type": "Cost of Goods Sold"
}, },
"CUSTO DOS SERVI\u00c7OS PRESTADOS": { "CUSTO DOS SERVI\u00c7OS PRESTADOS": {
"CUSTO DOS SERVI\u00c7OS PRESTADOS PARA AS DEMAIS ATIVIDADES": { "CUSTO DOS SERVI\u00c7OS PRESTADOS PARA AS DEMAIS ATIVIDADES": {
@ -654,11 +674,11 @@
}, },
"CUSTO DOS SERVI\u00c7OS PRESTADOS PARA ASSIST\u00caNCIA SOCIAL": { "CUSTO DOS SERVI\u00c7OS PRESTADOS PARA ASSIST\u00caNCIA SOCIAL": {
"Custo dos Servi\u00e7os Prestados a Conv\u00eanios/Contratos/Parcerias": {}, "Custo dos Servi\u00e7os Prestados a Conv\u00eanios/Contratos/Parcerias": {},
"Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es": {}, "Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es 1": {},
"Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas 1": {},
"Custo dos Servi\u00e7os Prestados a Gratuidade": {}, "Custo dos Servi\u00e7os Prestados a Gratuidade 1": {},
"Custo dos Servi\u00e7os Prestados a Pacientes Particulares": {}, "Custo dos Servi\u00e7os Prestados a Pacientes Particulares": {},
"Outros Custos": {} "Outros Custos 2": {}
}, },
"CUSTO DOS SERVI\u00c7OS PRESTADOS PARA EDUCA\u00c7\u00c3O": { "CUSTO DOS SERVI\u00c7OS PRESTADOS PARA EDUCA\u00c7\u00c3O": {
"Custo dos Servi\u00e7os Prestados a Alunos N\u00e3o Bolsistas": {}, "Custo dos Servi\u00e7os Prestados a Alunos N\u00e3o Bolsistas": {},
@ -667,22 +687,22 @@
"Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {},
"Custo dos Servi\u00e7os Prestados a Gratuidade": {}, "Custo dos Servi\u00e7os Prestados a Gratuidade": {},
"Custo dos Servi\u00e7os Prestados ao PROUNI": {}, "Custo dos Servi\u00e7os Prestados ao PROUNI": {},
"Outros Custos": {} "Outros Custos 1": {}
}, },
"CUSTO DOS SERVI\u00c7OS PRESTADOS PARA SA\u00daDE": { "CUSTO DOS SERVI\u00c7OS PRESTADOS PARA SA\u00daDE": {
"Custo dos Servi\u00e7os Prestados a Conv\u00eanios SUS": {}, "Custo dos Servi\u00e7os Prestados a Conv\u00eanios SUS": {},
"Custo dos Servi\u00e7os Prestados a Conv\u00eanios/Contratos/Parcerias": {}, "Custo dos Servi\u00e7os Prestados a Conv\u00eanios/Contratos/Parcerias 1": {},
"Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es": {}, "Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es 2": {},
"Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Custo dos Servi\u00e7os Prestados a Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas 2": {},
"Custo dos Servi\u00e7os Prestados a Gratuidade": {}, "Custo dos Servi\u00e7os Prestados a Gratuidade 2": {},
"Custo dos Servi\u00e7os Prestados a Pacientes Particulares": {}, "Custo dos Servi\u00e7os Prestados a Pacientes Particulares 1": {},
"Outros Custos": {} "Outros Custos 3": {}
} }
} }
}, },
"DESPESAS OPERACIONAIS": { "DESPESAS OPERACIONAIS": {
"DESPESAS OPERACIONAIS": { "DESPESAS OPERACIONAIS 1": {
"DESPESAS OPERACIONAIS": { "DESPESAS OPERACIONAIS 2": {
"Alugu\u00e9is": {}, "Alugu\u00e9is": {},
"Arrendamento Mercantil": {}, "Arrendamento Mercantil": {},
"Assist\u00eancia M\u00e9dica, Odontol\u00f3gica, Medicamentos, Aparelhos Ortop\u00e9dicos e Similares": {}, "Assist\u00eancia M\u00e9dica, Odontol\u00f3gica, Medicamentos, Aparelhos Ortop\u00e9dicos e Similares": {},
@ -701,7 +721,7 @@
"Indeniza\u00e7\u00f5es Trabalhistas": {}, "Indeniza\u00e7\u00f5es Trabalhistas": {},
"Multas": {}, "Multas": {},
"Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es": {}, "Outras Contribui\u00e7\u00f5es e Doa\u00e7\u00f5es": {},
"Outras Despesas Operacionais": {}, "Outras Despesas Operacionais 4": {},
"PIS/PASEP": {}, "PIS/PASEP": {},
"Presta\u00e7\u00e3o de Servi\u00e7o por Pessoa Jur\u00eddica": {}, "Presta\u00e7\u00e3o de Servi\u00e7o por Pessoa Jur\u00eddica": {},
"Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {}, "Presta\u00e7\u00e3o de Servi\u00e7os por Pessoa F\u00edsica sem V\u00ednculo Empregat\u00edcio": {},
@ -714,8 +734,8 @@
} }
}, },
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS": {
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 1": {
"OUTRAS DESPESAS OPERACIONAIS": { "OUTRAS DESPESAS OPERACIONAIS 2": {
"(-) Outras Despesas de Aplica\u00e7\u00f5es": {}, "(-) Outras Despesas de Aplica\u00e7\u00f5es": {},
"(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "(-) Perdas Incorridas no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {},
"(-) Perdas em Opera\u00e7\u00f5es Day-Trade": {}, "(-) Perdas em Opera\u00e7\u00f5es Day-Trade": {},
@ -723,18 +743,18 @@
"(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "(-) Preju\u00edzos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {},
"(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "(-) Resultados Negativos em Participa\u00e7\u00f5es Societ\u00e1rias": {},
"(-) Varia\u00e7\u00f5es Cambiais Passivas": {}, "(-) Varia\u00e7\u00f5es Cambiais Passivas": {},
"Outras Despesas Operacionais": {} "Outras Despesas Operacionais 3": {}
} }
} }
}, },
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS": {
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 1": {
"OUTRAS RECEITAS OPERACIONAIS": { "OUTRAS RECEITAS OPERACIONAIS 2": {
"Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {}, "Ganhos Auferidos no Mercado de Renda Vari\u00e1vel, exceto Day-Trade": {},
"Ganhos em Opera\u00e7\u00f5es Day-Trade": {}, "Ganhos em Opera\u00e7\u00f5es Day-Trade": {},
"Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {}, "Ganhos na Aliena\u00e7\u00e3o de Participa\u00e7\u00f5es N\u00e3o Integrantes do Ativo Permanente": {},
"Outras": {}, "Outras 7": {},
"Outras Receitas Operacionais": {}, "Outras Receitas Operacionais 3": {},
"Outras Receitas de Aplica\u00e7\u00f5es Financeiras": {}, "Outras Receitas de Aplica\u00e7\u00f5es Financeiras": {},
"Rendimentos e Ganhos de Capital Auferidos no Exterior": {}, "Rendimentos e Ganhos de Capital Auferidos no Exterior": {},
"Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias": {}, "Resultados Positivos em Participa\u00e7\u00f5es Societ\u00e1rias": {},
@ -748,13 +768,13 @@
"DEDU\u00c7\u00d5ES DA RECEITA BRUTA": { "DEDU\u00c7\u00d5ES DA RECEITA BRUTA": {
"(-) Devolu\u00e7\u00f5es e Descontos Incondicionais": {}, "(-) Devolu\u00e7\u00f5es e Descontos Incondicionais": {},
"(-) Vendas Canceladas": {}, "(-) Vendas Canceladas": {},
"Outras": {} "Outras 5": {}
}, },
"RECEITA DE PRESTA\u00c7\u00c3O DOS SERVI\u00c7OS": { "RECEITA DE PRESTA\u00c7\u00c3O DOS SERVI\u00c7OS": {
"Contribui\u00e7\u00f5es": {}, "Contribui\u00e7\u00f5es 2": {},
"Doa\u00e7\u00f5es": {}, "Doa\u00e7\u00f5es 2": {},
"Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas 2": {},
"Outras": {}, "Outras 6": {},
"Servi\u00e7os Educacionais": {} "Servi\u00e7os Educacionais": {}
}, },
"RECEITA DE SERVI\u00c7OS DE SA\u00daDE": { "RECEITA DE SERVI\u00c7OS DE SA\u00daDE": {
@ -763,35 +783,35 @@
"Conv\u00eanios \u2013 SUS": {}, "Conv\u00eanios \u2013 SUS": {},
"Doa\u00e7\u00f5es": {}, "Doa\u00e7\u00f5es": {},
"Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {},
"Outras": {}, "Outras 2": {},
"Pacientes Particulares": {} "Pacientes Particulares": {}
}, },
"RECEITA DE VENDA DE PRODUTOS": { "RECEITA DE VENDA DE PRODUTOS": {
"Da atividade de Assist\u00eancia Social": {}, "Da atividade de Assist\u00eancia Social": {},
"Da atividade de Educa\u00e7\u00e3o": {}, "Da atividade de Educa\u00e7\u00e3o": {},
"Da atividade de Sa\u00fade": {}, "Da atividade de Sa\u00fade": {},
"Outras": {} "Outras 1": {}
}, },
"RECEITAS DE OUTRAS ATIVIDADES": { "RECEITAS DE OUTRAS ATIVIDADES": {
"Contribui\u00e7\u00f5es Confederativas/Associativas": {}, "Contribui\u00e7\u00f5es Confederativas/Associativas": {},
"Contribui\u00e7\u00f5es Sindicais": {}, "Contribui\u00e7\u00f5es Sindicais": {},
"Doa\u00e7\u00f5es/Subven\u00e7\u00f5es": {}, "Doa\u00e7\u00f5es/Subven\u00e7\u00f5es": {},
"Mensalidades": {}, "Mensalidades": {},
"Outras": {}, "Outras 4": {},
"Outras Contribui\u00e7\u00f5es": {} "Outras Contribui\u00e7\u00f5es": {}
}, },
"RECEITAS DE SERVI\u00c7OS DE ASSIST\u00caNCIA SOCIAL": { "RECEITAS DE SERVI\u00c7OS DE ASSIST\u00caNCIA SOCIAL": {
"Contribui\u00e7\u00f5es": {}, "Contribui\u00e7\u00f5es 1": {},
"Conv\u00eanios - Outros": {}, "Conv\u00eanios - Outros 1": {},
"Doa\u00e7\u00f5es": {}, "Doa\u00e7\u00f5es 1": {},
"Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas": {}, "Doa\u00e7\u00f5es/Subven\u00e7\u00f5es Vinculadas 1": {},
"Outras": {}, "Outras 3": {},
"Pacientes Particulares": {} "Pacientes Particulares 1": {}
} }
} }
} }
}, },
"root_type": "" "root_type": "Asset"
} }
} }
} }

View File

@ -0,0 +1,412 @@
{
"country_code": "ca",
"name": "Canada - Plan comptable pour les provinces francophones",
"tree": {
"Actif": {
"Actif \u00e0 court terme": {
"Avances": {
"Avances aux actionnaires": {},
"Avances aux employ\u00e9s": {},
"Avances sur commissions": {}
},
"Banque": {
"account_type": "Bank",
"is_group": 1
},
"Comptes \u00e0 recevoir": {
"Comptes clients": {
"account_type": "Receivable"
},
"Provision pour cr\u00e9ances douteuses": {}
},
"Encaisse": {
"is_group": 1
},
"Frais pay\u00e9s d\u2019avance": {
"Assurances pay\u00e9s d'avance": {},
"Publicit\u00e9 pay\u00e9 d'avance": {},
"Taxes pay\u00e9s d'avance": {}
},
"Petite caisse": {
"account_type": "Cash",
"is_group": 1
},
"Stocks": {
"Mati\u00e8res premi\u00e8res": {},
"Stock de produits fini": {},
"Stock exp\u00e9di\u00e9 non-factur\u00e9": {},
"Travaux en cours": {},
"account_type": "Stock"
},
"Subventions \u00e0 recevoir": {},
"TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE": {},
"Taxes \u00e0 recevoir": {
"TPS \u00e0 recevoir": {},
"TVH \u00e0 recevoir": {
"TVH \u00e0 recevoir - 13%": {},
"TVH \u00e0 recevoir - 14%": {},
"TVH \u00e0 recevoir - 15%": {}
},
"TVP/TVQ \u00e0 recevoir": {}
}
},
"Autres actifs": {
" Frais de premier \u00e9tablissement": {},
"Achalandage": {},
"Brevets, droits": {},
"Frais de recherche et de d\u00e9veloppement - actif": {}
},
"Immobilisations": {
" Amortissement accumul\u00e9 - b\u00e2timent": {},
" Amortissement accumul\u00e9 - entrep\u00f4t": {},
" Amortissement accumul\u00e9 - logiciels": {},
" Amortissement accumul\u00e9 - machinerie et \u00e9quipement": {},
" Amortissement accumul\u00e9 - \u00e9quipement informatique": {},
"Amortissement accumul\u00e9 - am\u00e9liorations locatives": {},
"Amortissement accumul\u00e9 - biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": {},
"Amortissement accumul\u00e9 - mat\u00e9riel roulant": {},
"Amortissement accumul\u00e9 - mobilier et \u00e9quipement de bureau": {},
"Am\u00e9liorations locatives": {
"account_type": "Fixed Asset"
},
"Biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": {
"account_type": "Fixed Asset"
},
"B\u00e2timent": {
"account_type": "Fixed Asset"
},
"Entrep\u00f4t": {
"account_type": "Fixed Asset"
},
"Logiciels": {
"account_type": "Fixed Asset"
},
"Machinerie et \u00e9quipement": {
"account_type": "Fixed Asset"
},
"Mat\u00e9riel roulant": {
"account_type": "Fixed Asset"
},
"Mobilier et \u00e9quipement de bureau": {
"account_type": "Fixed Asset"
},
"Terrain": {
"account_type": "Fixed Asset"
},
"account_type": "Fixed Asset",
"\u00c9quipement informatique": {
"account_type": "Fixed Asset"
}
},
"Placements": {
"D\u00e9p\u00f4ts": {},
"Placement": {}
},
"root_type": "Asset"
},
"Avoir des actionnaires": {
" B\u00e9n\u00e9fice de la p\u00e9riode": {},
"Bonis": {},
"B\u00e9n\u00e9fices non r\u00e9partis": {},
"Capital - actions ordinaire": {},
"Capital - actions privil\u00e9gi\u00e9": {},
"Dividendes": {},
"Surplus d\u2019apport": {},
"root_type": "Equity"
},
"Charges": {
"Charges d'exploitation": {
"Salaires et charges sociales": {
"Assurance - emploi": {
"account_type": "Chargeable"
},
"Assurance parentale": {},
"Fonds des services de sant\u00e9": {},
"Imp\u00f4t f\u00e9d\u00e9ral": {},
"Imp\u00f4t provincial": {},
"Normes du travail": {},
"Rentes": {},
"Salaires": {
"account_type": "Chargeable"
},
"sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": {
"account_type": "Chargeable"
}
}
},
"Frais fixes": {
"Frais de fabrication": {
" R\u00e9parations et entretien - moules et matrices": {},
"Ammortissements": {
"Amortissements - am\u00e9liorations locatives": {
"account_type": "Depreciation"
},
"Amortissements - biens lou\u00e9s contrat de location - acquisition": {
"account_type": "Depreciation"
},
"Amortissements - b\u00e2timent": {
"account_type": "Depreciation"
},
"Amortissements - entrep\u00f4t": {
"account_type": "Depreciation"
},
"Amortissements - machinerie et \u00e9quipement": {
"account_type": "Depreciation"
},
"Amortissements - mat\u00e9riel roulant": {
"account_type": "Depreciation"
},
"Amortissements - moules et matrices": {
"account_type": "Depreciation"
},
"account_type": "Depreciation"
},
"Assurances": {
" Assurances - feu": {},
" Assurances - responsabilit\u00e9": {},
" Assurances - vol": {}
},
"Avantages sociaux - frais de fabrication": {},
"D\u00e9penses - mat\u00e9riel roulant": {},
"Entretien du terrain \u00e0 contrat": {},
"Fournitures d\u2019emballage": {},
"Fournitures d\u2019usine": {},
"Location de machinerie": {},
"Loyer - b\u00e2timent": {},
"Loyer - entrep\u00f4t": {},
"Op\u00e9rations indirectes de la main-d\u2019\u0153uvre directe": {
"is_group": 1
},
"R\u00e9parations et entretien - b\u00e2timent": {},
"R\u00e9parations et entretien - machinerie et \u00e9quipement": {},
"Salaires de soutien": {},
"Salaires de supervision": {},
"Taxes fonci\u00e8res": {},
"\u00c9nergie": {}
},
"Frais de formation": {
" Salaires - administration - frais fixe formation": {},
"Avantages sociaux - frais fixe formation": {},
"Cr\u00e9dits d\u2019imp\u00f4ts \u00e0 la formation": {},
"Honoraires": {},
"Main-d\u2019\u0153uvre directe - frais fixe formation": {},
"Main-d\u2019\u0153uvre indirecte - frais fixe formation": {},
"Salaires - bureau - frais fixe formation": {},
"Salaires - vente": {}
},
"Frais de non-qualit\u00e9": {
" Avantages sociaux - non-qualit\u00e9": {},
" Main-d\u2019\u0153uvre directe - non-qualit\u00e9": {
"Main-d\u2019\u0153uvre directe - gaspillage": {},
"Main-d\u2019\u0153uvre directe - r\u00e9parations de garantie": {},
"Main-d\u2019\u0153uvre directe - travail a reprendre": {}
},
"Mat\u00e9riel - non-qualit\u00e9": {
"Mat\u00e9riel - gaspillage": {},
"Mat\u00e9riel - r\u00e9parations de garantie": {},
"Mat\u00e9riel - travail a reprendre": {}
},
"Salaire - inspecteur (contr\u00f4le de la qualit\u00e9)": {}
},
"Frais de recherche et de d\u00e9veloppement - charge": {
" Mati\u00e8res premi\u00e8res - R&D": {},
"Avantages sociaux - R&D": {},
"Cr\u00e9dits d\u2019imp\u00f4ts - R&D": {},
"Honoraires professionnels - R&D": {},
"Main-d\u2019\u0153uvre directe - R&D": {},
"Sous-traitance - R&D": {}
},
"Frais financiers": {
" Escomptes de caisse sur achats": {},
" Int\u00e9r\u00eats et frais de banque": {},
" Int\u00e9r\u00eats sur emprunts - actionnaires": {},
" Int\u00e9r\u00eats sur emprunts - machinerie": {},
" Int\u00e9r\u00eats sur emprunts - mat\u00e9riel roulant": {},
"Escomptes de caisse sur ventes": {},
"Int\u00e9r\u00eats sur hypoth\u00e8que": {}
},
"Frais fixe de vente": {
" Frais de voyages - camionneurs": {},
" Frais de voyages - service apr\u00e8s-vente": {},
"Amortissement - camions": {},
"Amortissements - frais fixe de vente": {
" Amortissements - autos": {},
" Amortissements - bureau de vente": {}
},
"Assurances - camions": {},
"Assurances d\u2019autos - vendeurs": {},
"Avantages sociaux - frais fixe de vente": {},
"Catalogues": {},
"D\u00e9penses - bureau de vente": {},
"Emballage \u00e0 la livraison": {},
"Entretien et r\u00e9parations - camions": {},
"Frais de repr\u00e9sentation": {},
"Frais de voyages - vendeurs": {},
"Frais d\u2019autos - service apr\u00e8s-vente": {},
"Frais d\u2019autos - vendeurs": {},
"Loyer - bureau de vente": {},
"Prototypes et \u00e9chantillons": {},
"Publicit\u00e9": {},
"Salaires - camionneurs": {},
"Salaires - frais fixe de vente": {
"Salaires - exp\u00e9diteurs": {},
"Salaires - g\u00e9rants": {},
"Salaires - service apr\u00e8s-vente": {},
"Salaires - vendeurs": {}
}
},
"Frais fixe d\u2019administration": {
" Assurances d\u2019autos - administration": {},
"Amortissements - frais fixe d'administration": {
"Amortissements - autos - frais fixe d'administration": {},
"Amortissements - logiciels": {},
"Amortissements - mobilier de bureau": {},
"Amortissements - \u00e9quipement informatique": {}
},
"Avantages sociaux - frais fixe d'administration": {},
"Dons et associations": {},
"Entretien et r\u00e9parations - bureau": {},
"Frais de perception": {},
"Frais de voyages - administration": {},
"Frais de v\u00e9rification": {},
"Frais d\u2019autos - administration": {},
"Frais juridiques": {},
"Location - \u00e9quipement de bureau": {},
"Mauvaises cr\u00e9ances": {},
"Papeterie et d\u00e9penses de bureau": {},
"Salaires - frais fixe d'administration": {
"Salaires - administration": {},
"Salaires - bureau": {}
},
"Taxe sur le capital": {},
"Taxes, licences, permis": {},
"Timbres": {},
"T\u00e9l\u00e9communications": {}
}
},
"Frais variables": {
"Frais variables de fabrication": {
" Emballage \u00e0 la production": {
"account_type": "Cost of Goods Sold"
},
" Sous-traitance": {
"account_type": "Cost of Goods Sold"
},
"Achats de mati\u00e8res premi\u00e8res": {
"account_type": "Cost of Goods Sold"
},
"Achats de mat\u00e9riel direct": {
"account_type": "Cost of Goods Sold"
},
"Achats de produits non fabriqu\u00e9s": {
"account_type": "Expenses Included In Valuation"
},
"Avantages sociaux": {
"account_type": "Cost of Goods Sold"
},
"Main-d\u2019\u0153uvre directe": {
"account_type": "Cost of Goods Sold"
},
"Variation des stocks": {
"account_type": "Stock Adjustment"
},
"account_type": "Cost of Goods Sold"
},
"Frais variables de vente": {
"Commissions": {},
"Redevances": {},
"Transport (\u00e0 contrat)": {}
}
},
"root_type": "Expense"
},
"Passif": {
"PASSIFS NON-COURANTS": {
"AUTRES PASSIFS NON-COURANTS": {},
"DETTES FINANCI\u00c8RES NON-COURANTES": {},
"IMP\u00d4TS DIFF\u00c9R\u00c9S": {},
"PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI": {}
},
"Passif \u00e0 court terme": {
" Commissions \u00e0 payer": {},
"Assurance collective \u00e0 payer": {},
"Autres comptes cr\u00e9diteurs": {},
"Comptes \u00e0 payer": {
"Comptes fournisseurs": {
"account_type": "Payable"
}
},
"D\u00e9p\u00f4ts de clients": {},
"Emprunt de banque": {},
"Imp\u00f4ts li\u00e9s aux salaires \u00e0 payer": {
"Agence du revenu du Canada": {
"Assurance - emploi \u00e0 payer": {
"AE - Contribution de l'employeur": {},
"AE - Contribution des employ\u00e9s": {}
},
"Imp\u00f4t f\u00e9d\u00e9ral sur salaires \u00e0 payer": {}
},
"Agence du revenu du Qu\u00e9bec": {
"Fond des Services de Sant\u00e9 \u00e0 payer": {},
"Imp\u00f4t provincial sur salaires \u00e0 payer": {},
"Normes du Travail \u00e0 payer": {},
"Provision pour sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": {},
"R\u00e9gime des rentes du Qu\u00e9bec \u00e0 payer": {
"Rentes - Contribution de l'employeur": {},
"Rentes - Contribution des employ\u00e9s": {}
},
"R\u00e9gime qu\u00e9becois d'assurance parentale": {
"AP - Contribution de l'employeur": {},
"AP - Contribution des employ\u00e9s": {}
}
},
"Caisse de retraite \u00e0 payer": {}
},
"Imp\u00f4ts \u00e0 payer": {
"Imp\u00f4t f\u00e9d\u00e9ral sur le revenu \u00e0 payer": {},
"Imp\u00f4t provincial sur le revenu \u00e0 payer": {},
"TPS \u00e0 payer": {},
"TVH \u00e0 payer": {
"TVH \u00e0 payer - 13%": {},
"TVH \u00e0 payer - 14%": {},
"TVH \u00e0 payer - 15%": {}
},
"TVP/TVQ \u00e0 payer": {}
},
"Passifs de stock": {
"Stock re\u00e7u non factur\u00e9": {
"account_type": "Stock Received But Not Billed"
}
},
"Provision pour vacances et cong\u00e9s": {},
"Revenus per\u00e7us d\u2019avance": {},
"Salaires \u00e0 payer": {}
},
"Passif \u00e0 long terme": {
"Avances des actionnaires": {},
"Cr\u00e9dits d\u2019imp\u00f4ts report\u00e9s": {},
"Hypoth\u00e8que \u00e0 payer": {},
"Liens sur machinerie": {},
"Liens sur mat\u00e9riel roulant": {},
"Obligation d\u00e9coulant d\u2019un contrat de location - acquisition": {},
"Passif d\u2019imp\u00f4ts futurs": {}
},
"root_type": "Liability"
},
"Produits": {
"Revenus de ventes": {
" Escomptes de volume sur ventes": {},
"Autres produits d'exploitation": {},
"Ventes": {},
"Ventes avec des provinces harmonis\u00e9es": {},
"Ventes avec des provinces non-harmonis\u00e9es": {},
"Ventes \u00e0 l'\u00e9tranger": {}
},
"Revenus non li\u00e9 \u00e0 la vente": {
"Autres revenus non li\u00e9s \u00e0 la vente": {},
"Revenues d'int\u00e9r\u00eats": {}
},
"root_type": "Income"
}
}
}

View File

@ -0,0 +1,99 @@
{
"country_code": "fr",
"name": "France - Chart of Accounts",
"tree": {
"Frais": {
"601 achats stock\u00e9s, mat premi\u00e8res": {
"account_type": "Cost of Goods Sold"
},
"6031 variation des stock\u00e9s mat premi\u00e8res": {
"account_type": "Stock Adjustment"
},
"6081 frais accessoires d'achats mat premi\u00e8res": {
"account_type": "Expenses Included In Valuation"
},
"Dotations aux amortissements, d\u00e9pr\u00e9ciations": {
"account_type": "Depreciation"
},
"root_type": "Expense"
},
"le revenu": {
"701 ventes de produits finis": {},
"root_type": "Income"
},
"les atouts": {
"Amortissements des immobilisations corporelles ": {
"Autres immobilisations corporelles (m\u00eame ventilation que celle du compte 218)": {
"account_type": "Accumulated Depreciation"
},
"Constructions (m\u00eame ventilation que celle du compte 213) ": {
"account_type": "Accumulated Depreciation"
},
"Installations mat\u00e9riel et outillage industriels (m\u00eame ventilation que celle du compte 215)": {
"account_type": "Accumulated Depreciation"
},
"account_type": "Accumulated Depreciation"
},
"Banques": {
"51201 Soci\u00e9t\u00e9 g\u00e9n\u00e9rale": {
"account_type": "Bank"
},
"account_type": "Bank"
},
"Caisse": {
"5301 Caisse si\u00e8ge social": {
"account_type": "Cash"
},
"account_type": "Cash"
},
"Clients et comptes rattach\u00e9s": {
"41119 Autres Clients": {
"account_type": "Receivable"
},
"account_type": "Receivable"
},
"Immobilisations corporelles en cours": {
"Autres immobilisations corporelles": {
"account_type": "Fixed Asset"
},
"Constructions": {
"account_type": "Fixed Asset"
},
"Installations techniques mat\u00e9riel et outillage industriels ": {
"account_type": "Fixed Asset"
},
"account_type": "Fixed Asset"
},
"Stock": {
"account_type": "Stock",
"is_group": 1
},
"root_type": "Asset"
},
"passifs": {
"Fournisseurs - Factures non parvenues ": {
"4081 Fournisseurs - Factures non parvenues ": {
"account_type": "Stock Received But Not Billed"
},
"account_type": "Stock Received But Not Billed"
},
"Fournisseurs et comptes rattach\u00e9s": {
"4011 Fournisseurs - Achats de biens et prestations de services": {
"account_type": "Payable"
},
"account_type": "Payable"
},
"root_type": "Liability",
"\u00c9tat - Taxes sur le chiffre d'affaires": {
"TVA collect\u00e9e (Taux Normal)": {
"account_type": "Tax"
},
"account_type": "Tax"
}
},
"\u00c9quit\u00e9": {
"is_group": 1,
"root_type": "Equity"
}
}
}

View File

@ -2,91 +2,350 @@
"country_code": "gt", "country_code": "gt",
"name": "Guatemala - Cuentas", "name": "Guatemala - Cuentas",
"tree": { "tree": {
"Activos": { "02 - Pasivos": {
"Activo Corriente": {
"Caja y Bancos": {},
"Cuentas por Cobrar": {},
"Impuestos por Cobrar": {
"IVA por Cobrar": {},
"Retenciones de IVA recibidas": {}
},
"Inventario": {
"is_group": 1,
"account_type": "Stock"
}
},
"No Corriente": {
"Activos Fijos": {},
"Cargos Diferidos": {}
},
"root_type": "Asset"
},
"Pasivos": {
"Pasivo Corriente": { "Pasivo Corriente": {
"Acreedores 1": {
"account_type": "Payable"
},
"Cuentas por Pagar": {},
"Impuestos por Pagar": {},
"Otras Cuentas por Pagar": {},
"Prestaciones": {},
"Proveedores": { "Proveedores": {
"Inventario Recibido pero No Cobrado": { "Inventario Recibido pero No Cobrado": {
"account_type": "Stock Received But Not Billed" "account_type": "Stock Received But Not Billed"
} }
}, },
"Impuestos por Pagar": {}, "Sueldos por Liquidar": {}
"Sueldos por Liquidar": {},
"Prestaciones": {},
"Cuentas por Pagar": {},
"Otras Cuentas por Pagar": {},
"Acreedores": {}
}, },
"Pasivo No Corriente": { "Pasivo No Corriente": {
"Provisión para Indemnizaciones": {}, "Acreedores": {},
"Acreedores": {} "Provisi\u00f3n para Indemnizaciones": {}
}, },
"root_type": "Liability" "root_type": "Liability"
}, },
"Patrimonio": { "03 - Patrimonio": {
"Capital": {}, "Capital": {},
"Utilidades Retenidas": {},
"Resultados del Ejercicio": {}, "Resultados del Ejercicio": {},
"Utilidades Retenidas": {},
"root_type": "Asset" "root_type": "Asset"
}, },
"Costos": { "04 - Ingresos": {
"Costo de Ventas": {},
"Costos Incluidos en la Valuación": {
"account_type": "Expenses Included In Valuation"
},
"Stock Adjustment": {
"account_type": "Stock Adjustment"
},
"root_type": "Expense"
},
"Gastos": {
"Gastos de Personal": {},
"Honorarios Profesionales": {},
"Servicios Básicos": {},
"Alquileres": {},
"Seguros": {},
"Mantenimiento": {},
"Depreciaciones": {},
"Gastos Diversos": {},
"root_type": "Expense"
},
"Ingresos": {
"Productos": {}, "Productos": {},
"Servicios": {}, "Servicios": {},
"root_type": "Income" "root_type": "Income"
}, },
"Otros Gastos y Productos Financieros": { "05 - Costos": {
"Otros Ingresos": { "Costo de Ventas": {
"Otros Gastos y Productos Financieros": { "account_type": "Cost of Goods Sold"
"Intereses": {}, },
"Otros Gastos Financieros": {} "Costos Incluidos en la Valuaci\u00f3n": {
"account_type": "Expenses Included In Valuation"
},
"Merma o Ajuste de Inventario": {
"account_type": "Stock Adjustment"
},
"root_type": "Expense"
},
"06 - Gastos": {
"Alquileres": {},
"Depreciaciones": {
"account_type": "Depreciation"
},
"Gastos Diversos": {},
"Gastos de Personal": {},
"Honorarios Profesionales": {},
"Mantenimiento": {},
"Seguros": {},
"Servicios B\u00e1sicos": {},
"root_type": "Expense"
},
"07 - Otros Gastos y Productos Financieros": {
"Otros Gastos": {
"Otros Gastos y Productos Financieros 2": {
"Intereses 1": {},
"Otros Gastos Financieros 1": {}
} }
}, },
"Otros Gastos": { "Otros Ingresos": {
"Otros Gastos y Productos Financieros": { "Otros Gastos y Productos Financieros 1": {
"Intereses": {}, "Intereses": {},
"Otros Gastos Financieros": {} "Otros Gastos Financieros": {}
} }
}, },
"root_type": "Expense" "root_type": "Expense"
},
"1 - Activos": {
"1. Activo Corriente": {
"1.10 Activos Corrientes Adicionales": {
"1.10.1 Inversiones Corrientes no Clasificados como Equivalentes de Caja y Bancos": {},
"1.10.2 Activos Diferidos o Restringidos": {
"1.10.2.1 Cr\u00e9dito Fiscal (IVA Por Cobrar)": {
"account_type": "Chargeable",
"is_group": 1
},
"account_type": "Chargeable"
},
"account_type": "Chargeable"
},
"1.2 Inversion en Propiedades": {
"1.2.1 Inversion Inmobiliaria Bajo Construccion": {
"account_type": "Chargeable"
},
"1.2.2 Inversion Inmobiliaria Construida": {
"account_type": "Chargeable",
"is_group": 1
},
"account_type": "Chargeable"
},
"1.3 Activos Intangibles": {
"account_type": "Chargeable",
"is_group": 1
},
"1.4 Activos Financieros": {
"1.4.1 Inversion o Participaci\u00f3n Accionaria en Empresas Afiliadas": {
"account_type": "Chargeable",
"is_group": 1
},
"1.4.2 Inversiones Burs\u00e1tiles e Instrumentos Financieros": {
"account_type": "Chargeable",
"is_group": 1
},
"1.4.3 Activos Financieros Derivados": {
"account_type": "Chargeable",
"is_group": 1
},
"1.4.4 Otros Activos Financieros": {
"account_type": "Chargeable",
"is_group": 1
},
"1.4.5 Provisi\u00f3n por Riesgo de Cr\u00e9dito (agregado) (Contra-activo)": {
"account_type": "Round Off",
"is_group": 1
},
"1.4.6 Activos Financieros Clasificados por Designaci\u00f3n": {
"account_type": "Chargeable",
"is_group": 1
},
"account_type": "Chargeable"
},
"1.5 Activos Biol\u00f3gicos": {
"1.5.1 Activos Biol\u00f3gicos al Costo": {
"account_type": "Stock",
"is_group": 1
},
"1.5.2 Activos Biol\u00f3gicos a Valor Razonable": {
"1.5.2.1 Animales": {
"account_type": "Stock",
"is_group": 1
},
"1.5.2.2 Plantas": {
"1.5.2.2.1 Division productiva 1er nivel EJEMPLO": {
"1.5.2.2.1.1 Division Productiva 2do nivel EJEMPLO": {
"1.5.2.2.1.1.1 Division Productiva 3er Nivel EJEMPLO": {
"1.5.2.2.1.1.1.1 Divisi\u00f3n Productiva 4\u00ba Nivel EJEMPLO": {},
"account_type": "Stock"
},
"account_type": "Stock"
},
"account_type": "Stock"
},
"account_type": "Stock"
},
"account_type": "Stock"
},
"account_type": "Stock"
},
"1.6 Activos Devengables y Otros Activos": {
"1.6.1 Pagos Anticipados y Otros Activos Circulantes": {
"1.6.1.0 Seguro Pagado Anticipadamente": {
"account_type": "Chargeable"
},
"account_type": "Chargeable"
},
"1.6.2 Cobrables Relacionados con Impuestos": {
"account_type": "Chargeable",
"is_group": 1
},
"1.6.3 Proveedores de Servicio": {
"account_type": "Chargeable",
"is_group": 1
},
"1.6.4 Contratos de Construccion": {
"account_type": "Chargeable",
"is_group": 1
},
"1.6.5 Costos de Montaje": {
"account_type": "Chargeable",
"is_group": 1
},
"1.6.6 Activos Adicionales y Otros": {
"account_type": "Chargeable",
"is_group": 1
},
"account_type": "Chargeable"
},
"1.7 Inventario": {
"1.7.1 Materia Prima": {
"account_type": "Stock",
"is_group": 1
},
"1.7.10 Inventarios Pignorados Como Garant\u00eda de Pasivo": {
"account_type": "Stock",
"is_group": 1
},
"1.7.11 Inventarios a Valor Razonable Menos Costos de Venta": {
"account_type": "Stock",
"is_group": 1
},
"1.7.2 Mercader\u00eda (Mercanc\u00edas)": {
"account_type": "Stock",
"is_group": 1
},
"1.7.3 Suministros de Producci\u00f3n y Consumibles": {
"account_type": "Stock",
"is_group": 1
},
"1.7.4 Repuestos": {
"1.7.4.0 Respuestos en Transito": {
"account_type": "Stock",
"is_group": 1
},
"account_type": "Stock"
},
"1.7.5 Combustibles": {
"account_type": "Stock",
"is_group": 1
},
"1.7.6 Trabajo en Progeso": {
"account_type": "Stock",
"is_group": 1
},
"1.7.7 Producto Terminado": {
"account_type": "Stock",
"is_group": 1
},
"1.7.8 Art\u00edculos de Inventario Adicionales": {
"account_type": "Stock",
"is_group": 1
},
"1.7.9 Otros Inventarios": {
"1.7.9.1 Merma o Ajuste de Inventario": {
"account_type": "Stock Adjustment",
"is_group": 1
},
"account_type": "Stock"
},
"account_type": "Stock"
},
"1.8 Cobrables": {
"1.8.1 Ventas al Cr\u00e9dito": {
"account_type": "Receivable",
"is_group": 1
},
"1.8.2 Activos bajo Contrato": {
"account_type": "Receivable",
"is_group": 1
},
"1.8.3 Otras Cuentas por Cobrar": {
"1.8.3.1 Cuentas por Cobrar a Otras Entidades no Afiliadas": {
"1.8.3.1.1 Compa\u00f1\u00eda No Afiliada (EJEMPLO)": {
"account_type": "Receivable"
},
"account_type": "Receivable"
},
"1.8.3.2 Cuentas Por Cobrar Compa\u00f1\u00edas Afiliadas": {
"1.8.3.2.1 Compa\u00f1\u00eda subsidiaria (EJEMPLO)": {
"account_type": "Receivable"
},
"account_type": "Receivable"
},
"1.8.3.3 Cuentas por Cobrar a Empleados": {
"1.8.3.3.1 Prestamo EJEMPLO": {
"account_type": "Receivable"
},
"account_type": "Receivable"
},
"account_type": "Receivable"
},
"1.8.4 Ajustes": {
"account_type": "Chargeable",
"is_group": 1
},
"account_type": "Receivable"
},
"1.9 Caja y Equivalentes": {
"1.9.1 Caja": {
"account_type": "Cash",
"is_group": 1
},
"1.9.2 Equivalentes de Efectivo (Bancos)": {
"1.9.2.1 Bancos Nacionales": {
"1.9.2.1.1 Banco Industrial": {
"account_type": "Bank",
"is_group": 1
},
"1.9.2.1.2 Banco Agromercantil de Guatemala": {
"account_type": "Bank"
},
"1.9.2.1.3 Banco Prom\u00e9rica": {
"account_type": "Bank"
},
"1.9.2.1.4 Banco de Am\u00e9rica Central": {
"account_type": "Bank"
},
"1.9.2.1.5 Banco G&T Continental": {
"account_type": "Bank"
},
"1.9.2.1.6 Banco Internacional": {
"account_type": "Bank"
},
"1.9.2.1.7 Banco de Desarrollo Rural": {
"account_type": "Bank"
},
"1.9.2.1.8 Banco de los Trabajadores": {
"account_type": "Bank"
},
"1.9.2.1.9 Vivibanco": {
"account_type": "Bank"
},
"account_type": "Bank"
},
"1.9.2.2 Bancos Internacionales": {
"1.9.2.2.1 HSBC": {
"account_type": "Bank"
},
"account_type": "Bank"
},
"1.9.2.3 Cadena de Bloques (Blockchain)": {
"1.9.2.3.1 Billetera Bitcoin 1234567890abcdefg": {
"account_type": "Cash"
},
"account_type": "Cash"
},
"account_type": "Bank"
},
"1.9.3 Inversiones a Corto Plazo": {
"account_type": "Bank",
"is_group": 1
},
"1.9.4 Otros Equivalentes de Caja y Bancos": {
"account_type": "Cash",
"is_group": 1
},
"account_type": "Bank"
},
"Impuestos por Cobrar": {
"Retenciones de IVA recibidas": {}
}
},
"No Corriente": {
"Activos Fijos": {
"account_type": "Fixed Asset"
},
"Cargos Diferidos": {}
},
"root_type": "Asset"
} }
} }
} }

View File

@ -0,0 +1,369 @@
{
"country_code": "id",
"name": "Indonesia - Chart of Accounts",
"tree": {
"1000.0000 Aktiva": {
"1100.0000 Aktiva Lancar": {
"1110.0000 Kas": {
"1111.000 Kas Rupiah": {
"1111.0010 Kas Kecil": {
"account_type": "Cash"
},
"1111.0020 Kas Besar": {
"account_type": "Cash"
},
"account_type": "Cash"
},
"1112.000 Kas Mata Uang Lain": {
"1112.0010 Kas USD": {
"account_type": "Cash"
}
}
},
"1120.000 Bank ": {
"1121.000 Bank Rupiah": {
"1121.0010 Bank 1": {
"account_type": "Bank"
},
"1121.0020 Bank 2": {
"account_type": "Bank"
}
},
"1122.000 Bank Other Currency": {
"1122.0010 Bank 1": {
"account_type": "Bank"
},
"1122.0020 Bank 2": {
"account_type": "Bank"
}
},
"account_type": "Bank"
},
"1130.000 Piutang": {
"1131.000 Piutang Dagang": {
"1131.0010 Piutang Dagang": {
"account_type": "Receivable"
}
},
"1132.000 Piutang Lain lain": {
"1132.001 Piutang Lain-lain 1": {
"account_type": "Receivable"
}
}
},
"1140.000 Persediaan Barang": {
"1141.000 Persediaan Barang": {
"account_type": "Stock",
"is_group": 1
},
"1142.000 Uang Muka Pembelian": {
"1142.001 Uang Muka Pembelian": {
"account_type": "Bank"
}
}
},
"1150.000 Biaya di Bayar di Muka": {
"1151.000 Biaya di Bayar di Muka": {
"1151.001 Biaya di Bayar di Muka": {
"1151.00111 Biaya d Bayar di Muka": {}
}
}
},
"1160.000 Pendapatan Yang Akan di Terima": {
"1161.000 Pendapatan Yang di Terima": {
"1161.001 Pendapatan Yang Akan di Terima": {}
}
},
"1170.000 Akun sementara": {
"1171.000 Pembukaan sementara": {
"account_type": "Temporary"
}
}
},
"1200.000 Aktiva Tetap": {
"1210.000 Aktiva": {
"1211.000 Aktiva": {
"1211.001 Aktiva": {
"account_type": "Fixed Asset"
}
},
"1212.000 Akumulasi Penyusutan Aktiva": {
"1212.001 Akumulasi Penyusutan Aktiva": {
"account_type": "Accumulated Depreciation"
}
}
},
"1230.000 Investasi": {
"1231.000 Investasi": {
"1231.001 Investai Saham": {
"1231.0011 Investasi Saham": {}
},
"1231.002 Investasi Perumahan": {
"1231.0021 Investasi Perumahan": {}
},
"1231.003 Deposito": {
"is_group": 1
}
}
}
},
"root_type": "Asset"
},
"2000.000 Passiva": {
"2100.000 Pasiva Lancar": {
"2110.000 Hutang Dagang": {
"2111.000 Hutang Dagang Rupiah": {
"2111.001 Hutang Dagang Dalam Negeri": {
"account_type": "Payable"
},
"2111.002 Hutang Dagang Luar Negeri": {
"account_type": "Payable"
},
"2111.003 Hutang Dagang Biaya Kirim Dalam Negeri": {
"account_type": "Payable"
},
"2111.004 HUtang Dagang Biaya Kirim Luar Negeri": {
"account_type": "Payable"
}
},
"2112.000 Hutang Dagang Other Currency": {
"2112.001 Hutang Dagang Luar Negeri (USD)": {
"account_type": "Payable"
},
"2112.002 Hutang Dagang Luar Negeri (SGD)": {
"account_type": "Payable"
},
"2112.003 Hutang Dagang Biaya Kirim Luar Negeri (USD)": {
"account_type": "Payable"
},
"2112.004 Hutang Dagang Biaya Kirim Luar Negeri (SGD)": {
"account_type": "Payable"
},
"2112.005 Hutang Dagang Biaya Kirim Dalam Negeri": {
"account_type": "Payable"
}
},
"2115.000 Stock Diterima Tapi Tidak Ditagih": {
"account_type": "Stock Received But Not Billed"
}
},
"2120.000 Pendapatan di Terima di Muka": {
"2121.000 Pendapatan di Terima di Muka": {
"2121.001 Dp Penjualan": {
"account_type": "Bank"
}
}
},
"2130.000 Biaya Yang Akan di Bayar": {
"2131.000 Biaya Yang Akan di Bayar": {
"2131.001 Biaya Yang Akan di Bayar": {}
},
"2132.000 Biaya Yang Akan di Bayar - Freight": {
"2132.001 Biaya Yang Akan di Bayar - Freight": {
"account_type": "Expenses Included In Valuation"
}
}
},
"2140.000 Hutang Pajak": {
"2141.000 Hutang Pajak": {
"account_type": "Payable"
}
}
},
"2200.000 Passiva Tetap": {
"2210.000 Hutang Pada Pihak ke 3": {
"2211.000 Pinjaman Pihak ke 3 Rutin": {
"2211.001 Hutang": {}
},
"2212.000 Pinjaman Pihak ke 3 Tidak Rutin": {
"2212.001 Hutang": {}
},
"2213.000 Hutang Bunga Pinjaman Pihak Ke 3 Tidak Rutin": {
"2213.001 Hutang Bunga": {}
}
},
"2220.000 Hutang Pada Bank": {
"2221.000 Hutang Bank": {
"2221.001 Hutang": {}
}
},
"2230.000 Hutang Leasing Kendaraan": {
"2231.000 Hutang Leasing Kendaraan": {
"2231.001 Hutang Leasing Kendaraan": {}
}
},
"2240.000 Hutang Lain Lain": {
"2241.000 Hutang Lain Lain": {
"2241.001 Hutang": {}
}
}
},
"root_type": "Liability"
},
"3000.000 Modal": {
"3100.000 Modal": {
"3110.000 Modal di Setor": {},
"3120.000 Prive P.Saham": {},
"3130.000 Saldo pembukaan Equity": {}
},
"3200.000 Laba": {
"3210.000 Laba di Tahan": {},
"3220.000 Laba Tahun Berjalan": {},
"3230.000 Laba Periode Berjalan": {}
},
"root_type": "Equity"
},
"4000.000 Penjualan": {
"4100.000 Penjualan Barang Dagangan": {
"4110.000 Penjualan": {},
"4120.000 Retur Penjualan": {},
"4130.000 Potongan Penjualan": {}
},
"4200.000 Harga Pokok Pembelian": {
"4210.000 HPP Pembelian": {
"account_type": "Cost of Goods Sold"
}
},
"4300.000 Pendapatan Service/Jasa": {
"4310.000 Pendapatan Service": {}
},
"4400.000 Pendapatan Lain lain": {
"4410.000 Pendapatan Bunga Bank": {},
"4420.000 Pendapatan Bunga Dari Pihak Ke 3": {},
"4430.000 Pendapatan Keuntungan Penjualan Aktiva": {},
"4440.000 Pendapatan Komisi": {},
"4450.000 Pendapatan Sewa Gudang": {},
"4460.000 Pendapatan Sewa Lain lain": {},
"4470.000 Pendapatan Penjualan Barang BS": {},
"4480.000 Pendapatan Lain lain": {}
},
"root_type": "Income"
},
"5000.000 Beban": {
"5100.000 Beban Langsung": {
"5110.000 Beban Penjualan": {
"5110.001 Biaya BBM": {},
"5110.002 Biaya Tol": {},
"5110.003 Biaya Parkir": {},
"5110.004 Biaya Upah Angkat/Turun Barang": {},
"5110.005 Biaya Kuli": {},
"5110.006 Biaya Perjalanan Dinas": {},
"5110.007 Biaya Barang Rusak": {},
"5110.008 Biaya Perbaikan Kendaraan Operasional": {},
"5110.009 Biaya Asuransi Kendaraan Operasional": {},
"5110.010 Biaya Leasing Kendaraan Operasional": {},
"5110.011 Biaya Kebutuhan Penjualan": {},
"5110.012 Biaya Sample": {},
"5110.013 Biaya Bonus, Hadiah, dan Sampel": {},
"5110.014 Biaya Entertainment dan Pergaulan": {},
"5110.015 Biaya Sewa Gudang": {},
"5110.016 Biaya Sewa Peralatan Gudang": {},
"5110.017 Biaya Piutang Tak Tertagih": {},
"5110.018 Potongan Supplier": {},
"5110.019 Biaya Penjualan Lain Lain": {},
"5110.020 Penyesuaian Stock": {
"account_type": "Stock Adjustment"
},
"5110.021 Biaya Susut Barang": {}
},
"5120.000 Biaya Gaji & Kesejahteraan Pegawai": {
"5120.001 Biaya Gaji Staff & Karyawan Tetap": {},
"5120.002 Biaya Gaji Karyawan Harian": {},
"5120.003 Biaya Pengobatan": {},
"5120.004 Biaya Asuransi Kesehatan Pegawai": {},
"5120.005 Biaya THR, Bonus, dan Komisi": {},
"5120.006 Biaya Konsumsi": {},
"5120.007 Biaya Gaji & Kesejahteraan Lainnya": {}
},
"5130.000 Biaya Kantor & Gudang": {
"5130.001 Biaya PLN Gudang & Kantor": {},
"5130.002 Biaya PAM Gudang & Kantor": {},
"5130.003 Biaya TLP Gudang & Kantor": {},
"5130.004 Biaya Fotocopy, Photo, Print Out": {},
"5130.005 Biaya Alat Tulis Kantor": {},
"5130.006 Biaya Stamp Duty & Pos": {},
"5130.007 Biaya Servis Peralatan Gudang": {},
"5130.008 Biaya Pemeliharaan Bgn Gudang": {},
"5130.009 Biaya Humas & Pergaulan": {},
"5130.010 Biaya Perlengkapan Gudang": {},
"5130.011 Iuran Bulanan": {},
"5130.012 Biaya Serba Serbi": {},
"5130.013 Biaya Sewa Kantor": {},
"5130.014 Biaya Asuransi Bangunan": {},
"5130.015 Biaya Sumbangan": {},
"5130.016 Biaya Perizinan Usaha dan Bangunan": {},
"5130.017 Biaya Perizinan Kendaraan Operasional": {},
"5130.018 Biaya KTR & GDG Lain Lain": {}
}
},
"5200.000 Beban Tidak Langsung": {
"5210.000 Biaya Gaji & Kesejahteraan Pegawai Indirect": {
"5210.001 Biaya Gaji Staff": {},
"5210.002 Biaya THR dan Bonus Staff": {},
"5210.003 Biaya Pengobatan & Kesehatan": {},
"5210.004 Biaya Konsumsi": {},
"5210.005 Biaya Gaji Lain Lain": {}
},
"5220.000 Biaya Operational Indirect": {
"5220.001 Biaya BBM": {},
"5220.002 Biaya Tol & Parkir": {},
"5220.003 Biaya TLP & HP": {},
"5220.004 Biaya Perjalanan Dinas": {},
"5220.005 Biaya Perbaikan Kendaraan Dinas": {},
"5220.006 Biaya Asuransi Kendaraan Dinas": {},
"5220.007 Biaya Leasing Kendaraan Dinas": {},
"5220.008 Biaya Entertainment dan Pergaulan": {},
"5220.009 Biaya Hadiah dan Bonus": {}
},
"5230.000 Biaya Kantor Indirect": {
"5230.001 Biaya PLN Kantor": {},
"5230.002 Biaya PAM Kantor": {},
"5230.003 Biaya TLP Kantor": {},
"5230.004 Biaya Sewa Kantor": {},
"5230.005 Biaya Asuransi Bangunan": {},
"5230.006 Biaya Alat Tulis Kantor": {},
"5230.007 Biaya Fotocopy, Photo, Print Out": {},
"5230.008 Biaya Kirim Dokumen": {},
"5230.009 Biaya Perlengkapan & Peralatan Kantor": {},
"5230.010 Service Peralatan Kantor": {},
"5230.011 Biaya Pemeliharaan Bangunan Kantor": {},
"5230.012 Biaya Iuran Bulanan": {},
"5230.013 Biaya Sumbangan": {},
"5230.014 Biaya Perizinan Bangunan": {},
"5230.015 Biaya Perizinan Kendaraan Dinas": {},
"5230.016 Biaya KTR Lain Lain": {},
"5230.017 Biaya Stamp Duty & Pos": {}
}
},
"5300.000 Biaya Penyusutan": {
"5310.000 Biaya Penyusutan": {
"5310.001 By Peny Aktiva ": {
"account_type": "Depreciation"
}
}
},
"5400.000 Biaya Amortisasi": {
"5410.000 Biaya Amortisasi": {}
},
"5500.000 Beban Lain lain": {
"5510.000 Beban Lain lain": {
"5510.001 Beban Adm Bank": {},
"5510.002 Beban Provisi Pinjaman Bank": {},
"5510.003 Beban Notaris Dan ADM Kredit Bank": {},
"5510.004 Beban Bunga Kredit Rekening Koran Bank": {},
"5510.005 Beban Bunga Pinjaman Pada Pihak Ke 3": {},
"5510.006 Beban Pajak Bumi & Bangunan": {},
"5510.007 Beban Pajak Penghasilan ": {},
"5510.008 Beban Pajak PPN": {},
"5510.009 Selisih Pembayaran Customer": {
"account_type": "Round Off"
},
"5510.010 Selisih Kurs": {
"account_type": "Round Off"
}
}
},
"root_type": "Expense"
}
}
}

View File

@ -5,15 +5,15 @@
"ACTIVO": { "ACTIVO": {
"ACTIVO CIRCULANTE": { "ACTIVO CIRCULANTE": {
"DOCUMENTOS Y CUENTAS POR COBRAR": { "DOCUMENTOS Y CUENTAS POR COBRAR": {
"COMPA\u00d1IAS AFILIADAS Y RELACIONADAS": {}, "COMPA\u00d1IAS AFILIADAS Y RELACIONADAS 1": {},
"CUENTAS POR COBRAR ACCIONISTAS": { "CUENTAS POR COBRAR ACCIONISTAS": {
"CUENTAS POR COBRAR SOCIOS": { "CUENTAS POR COBRAR SOCIOS 1": {
"account_type": "Receivable" "account_type": "Receivable"
} }
}, },
"CUENTAS POR COBRAR EMPLEADOS": { "CUENTAS POR COBRAR EMPLEADOS": {
"ANTICIPO DE NOMINA": {}, "ANTICIPO DE NOMINA": {},
"CUENTAS POR COBRAR EMPLEADOS": { "CUENTAS POR COBRAR EMPLEADOS 1": {
"account_type": "Receivable" "account_type": "Receivable"
}, },
"CUENTAS POR COBRAR SOCIOS": { "CUENTAS POR COBRAR SOCIOS": {
@ -21,8 +21,8 @@
}, },
"PRESTAMOS PERSONALES": {}, "PRESTAMOS PERSONALES": {},
"SEGURO DE VEHICULOS": {}, "SEGURO DE VEHICULOS": {},
"UTILIDADES": {}, "UTILIDADES 1": {},
"VACACIONES": {}, "VACACIONES 1": {},
"VIATICOS VENDEDORES": {} "VIATICOS VENDEDORES": {}
}, },
"CUENTAS POR COBRAR EXTERIOR": {}, "CUENTAS POR COBRAR EXTERIOR": {},
@ -41,10 +41,11 @@
"EFECTOS POR COBRAR": { "EFECTOS POR COBRAR": {
"EFECTOS POR COBRAR NACIONALES": { "EFECTOS POR COBRAR NACIONALES": {
"account_type": "Receivable" "account_type": "Receivable"
} },
"account_type": "Receivable"
}, },
"INTERESES POR COBRAR": {}, "INTERESES POR COBRAR": {},
"OTRAS CUENTAS POR COBRAR": { "OTRAS CUENTAS POR COBRAR 1": {
"ADELANTO A PROVEEDORES": {}, "ADELANTO A PROVEEDORES": {},
"CHEQUES DEVUELTOS": {}, "CHEQUES DEVUELTOS": {},
"DEPOSITOS VARIOS": {}, "DEPOSITOS VARIOS": {},
@ -67,23 +68,29 @@
}, },
"BANCOS E INTITUCIONES FINANCIERAS": { "BANCOS E INTITUCIONES FINANCIERAS": {
"BANCO X MXN": {}, "BANCO X MXN": {},
"BANCO X USD": {} "BANCO X USD": {},
"account_type": "Bank"
}, },
"CAJAS": { "CAJAS": {
"CAJA CHICA": {}, "CAJA CHICA": {
"CAJA PRINCIPAL": {}, "account_type": "Cash"
"FONDO A DEPOSITAR": {} },
"CAJA PRINCIPAL": {
"account_type": "Cash"
},
"FONDO A DEPOSITAR": {},
"account_type": "Cash"
}, },
"INVERSIONES A CORTO PLAZO": { "INVERSIONES A CORTO PLAZO": {
"INVERSIONES EN BONOS M.E.": {}, "INVERSIONES EN BONOS M.E.": {},
"INVERSIONES EN BONOS M.N.": {}, "INVERSIONES EN BONOS M.N. 1": {},
"INVERSIONES TEMPORALES": {}, "INVERSIONES TEMPORALES": {},
"PAPELES COMERCIALES": {} "PAPELES COMERCIALES": {}
} }
}, },
"GASTOS OPERACIONALES": { "GASTOS OPERACIONALES": {
"GASTOS PREPAGADOS OPERATIVOS": { "GASTOS PREPAGADOS OPERATIVOS": {
"ALQUILERES": {}, "ALQUILERES 1": {},
"PUBLICIDAD": {}, "PUBLICIDAD": {},
"SEGURO PREPAGADOS": {} "SEGURO PREPAGADOS": {}
} }
@ -102,40 +109,50 @@
} }
}, },
"INVENTARIOS": { "INVENTARIOS": {
"INVENTARIO EN TRANSITO": { "account_type": "Stock",
"MERCANCIA EN TRANSITO": {}, "is_group": 1
"MERCANCIA EN TRANSITOS": {}
},
"INVENTARIOS DE MERCANCIA": {
"INVENTARIO FINAL": {},
"INVENTARIO MERCANCIA ACTUALIZACION DEL VALOR": {},
"INVENTARIOS DE MERCANCIA EXTERIOR": {},
"INVENTARIOS DE MERCANCIA NACIONAL": {}
}
} }
}, },
"ACTIVO LARGO PLAZO": { "ACTIVO LARGO PLAZO": {
"ACTIVO FIJO NETO": { "ACTIVO FIJO NETO": {
"ACTIVO FIJO": { "ACTIVO FIJO": {
"INMUEBLES COSTO ORIGINAL": {}, "INMUEBLES COSTO ORIGINAL": {
"account_type": "Fixed Asset"
},
"LICENCIA Y SOFTWARE COSTO ORIGINAL": {}, "LICENCIA Y SOFTWARE COSTO ORIGINAL": {},
"MAQUINARIAS Y EQUIPOS COSTO ORIGINAL": {}, "MAQUINARIAS Y EQUIPOS COSTO ORIGINAL": {
"MUEBLES Y ENSERES COSTO ORIGINAL": {}, "account_type": "Fixed Asset"
},
"MUEBLES Y ENSERES COSTO ORIGINAL": {
"account_type": "Fixed Asset"
},
"TERRENO COSTO ORIGINAL": {}, "TERRENO COSTO ORIGINAL": {},
"VEHICULOS COSTO ORIGINAL": {} "VEHICULOS COSTO ORIGINAL": {
"account_type": "Fixed Asset"
},
"account_type": "Fixed Asset"
}, },
"DEPRECIACION Y AMORTIZACION ACUMULADAS": { "DEPRECIACION Y AMORTIZACION ACUMULADAS": {
"INMUEBLES COSTO ORIGINAL": {}, "INMUEBLES COSTO ORIGINAL 1": {
"LICENCIA Y SOFTWARE COSTO ORIGINAL": {}, "account_type": "Accumulated Depreciation"
"MAQUINARIAS Y EQUIPOS COSTO ORIGINAL": {}, },
"LICENCIA Y SOFTWARE COSTO ORIGINAL 1": {},
"MAQUINARIAS Y EQUIPOS COSTO ORIGINAL 1": {
"account_type": "Accumulated Depreciation"
},
"MEJORAS A PROPIEDAD COSTO ORIGINAL": {}, "MEJORAS A PROPIEDAD COSTO ORIGINAL": {},
"MUEBLES Y ENSERES COSTO ORIGINAL": {}, "MUEBLES Y ENSERES COSTO ORIGINAL 1": {
"account_type": "Accumulated Depreciation"
},
"TERRENOS COSTO ORIGINAL": {}, "TERRENOS COSTO ORIGINAL": {},
"VEHICULOS COSTO ORIGINAL": {} "VEHICULOS COSTO ORIGINAL 1": {
"account_type": "Accumulated Depreciation"
},
"account_type": "Accumulated Depreciation"
} }
}, },
"CARGOS DIFERIDOS": { "CARGOS DIFERIDOS": {
"CARGOS DIFERIDOS": { "CARGOS DIFERIDOS 1": {
"GASTOS DE CONSTITUCION": {}, "GASTOS DE CONSTITUCION": {},
"MARCA DE FABRICA": {}, "MARCA DE FABRICA": {},
"OTRAS CUENTAS POR COBRAR": { "OTRAS CUENTAS POR COBRAR": {
@ -145,7 +162,7 @@
}, },
"IMPUESTOS DIFERIDOS": { "IMPUESTOS DIFERIDOS": {
"IMPUESTOS DIFERIDOS ISR ": { "IMPUESTOS DIFERIDOS ISR ": {
"IMPUESTOS DIFERIDOS ISR ": {} "IMPUESTOS DIFERIDOS ISR 1": {}
} }
}, },
"INVERSIONES LARGO PLAZO": { "INVERSIONES LARGO PLAZO": {
@ -156,44 +173,44 @@
} }
}, },
"OTROS ACTIVOS": { "OTROS ACTIVOS": {
"OTROS ACTIVOS": { "OTROS ACTIVOS 1": {
"DEPOSITOS GARANTIA ARRENDAMIENTO LOCAL": {}, "DEPOSITOS GARANTIA ARRENDAMIENTO LOCAL": {},
"DEPOSITOS GARANTIA BANCOS": {}, "DEPOSITOS GARANTIA BANCOS": {},
"DEPOSITOS GARANTIA PROVEEDORES": {} "DEPOSITOS GARANTIA PROVEEDORES": {}
} }
} }
}, },
"root_type": "" "root_type": "Asset"
}, },
"CAPITAL": { "CAPITAL": {
"CAPITAL SOCIAL": { "CAPITAL SOCIAL": {
"ACCIONES EN TESORERIA": { "ACCIONES EN TESORERIA": {
"ACCIONES EN TESORERIA": { "ACCIONES EN TESORERIA 1": {
"ACCIONES EN TESORERIA": {}, "ACCIONES EN TESORERIA 2": {},
"ACTUALIZACION DE VALOR": {} "ACTUALIZACION DE VALOR": {}
} }
}, },
"CAPITAL SOCIAL PAGADO": { "CAPITAL SOCIAL PAGADO": {
"CAPITAL SOCIAL PAGADO": { "CAPITAL SOCIAL PAGADO 1": {
"ACTUALIZACION DEL VALOR": {}, "ACTUALIZACION DEL VALOR 1": {},
"CAPITAL SOCIAL": {} "CAPITAL SOCIAL 1": {}
} }
} }
}, },
"GANANCIAS Y PERDIDAS": { "GANANCIAS Y PERDIDAS": {
"GANACIAS Y PERDIDAS": { "GANACIAS Y PERDIDAS": {
"GANACIAS Y PERDIDAS": {} "GANACIAS Y PERDIDAS 1": {}
} }
}, },
"RESERVA DE CAPITAL": { "RESERVA DE CAPITAL": {
"OTRAS RESERVAS": { "OTRAS RESERVAS": {
"OTRAS RESERVAS": { "OTRAS RESERVAS 1": {
"ACTUALIZACION DEL VALOR": {}, "ACTUALIZACION DEL VALOR": {},
"VALOR ORIGINAL": {} "VALOR ORIGINAL": {}
} }
}, },
"RESERVA LEGAL": { "RESERVA LEGAL": {
"RESERVA LEGAL": { "RESERVA LEGAL 1": {
"RESERVA P/FUTURO AUMENTO DE CAPITAL": {}, "RESERVA P/FUTURO AUMENTO DE CAPITAL": {},
"VALOR ORIGINAL RESERVA LEGAL": {} "VALOR ORIGINAL RESERVA LEGAL": {}
} }
@ -201,7 +218,7 @@
}, },
"SUPERAVIT": { "SUPERAVIT": {
"RESULT.POR TENDENCIA DE ACTIVO NO MONETARIOS": { "RESULT.POR TENDENCIA DE ACTIVO NO MONETARIOS": {
"RESULT.POR TENDENCIA DE ACTIVO NO MONETARIOS": {} "RESULT.POR TENDENCIA DE ACTIVO NO MONETARIOS 1": {}
}, },
"SUPERAVIT GANADO": { "SUPERAVIT GANADO": {
"RESULTADO POR EXPOS. A LA INFLACION": { "RESULTADO POR EXPOS. A LA INFLACION": {
@ -215,22 +232,21 @@
} }
} }
}, },
"root_type": "" "root_type": "Equity"
}, },
"COSTO": { "COSTO": {
"COSTO DE VENTAS": { " Gastos incluidos en la valoraci\u00f3n": {
"COSTO DE VENTAS": { "account_type": "Expenses Included In Valuation"
"COSTO DE VENTAS": {
"COSTO DE VENTAS": {}
}
}
}, },
"root_type": "" "COSTO DE VENTAS": {
"account_type": "Cost of Goods Sold"
},
"root_type": "Expense"
}, },
"CUENTAS DE ORDEN": { "CUENTAS DE ORDEN": {
"CUENTAS DE ORDEN": { "CUENTAS DE ORDEN 1": {
"CUENTAS DE ORDEN DEUDORAS": {
"CUENTAS DE ORDEN DEUDORAS": { "CUENTAS DE ORDEN DEUDORAS": {
"CUENTAS DE ORDEN DEUDORAS 1": {
"CARTAS DE CREDITOS": {}, "CARTAS DE CREDITOS": {},
"MERCANCIAS COMPRADAS EN TRANSITO": {}, "MERCANCIAS COMPRADAS EN TRANSITO": {},
"MERCANCIAS EN CONSIGNACION": {} "MERCANCIAS EN CONSIGNACION": {}
@ -238,14 +254,14 @@
} }
}, },
"CUENTAS DE ORDEN ACREEDORAS": { "CUENTAS DE ORDEN ACREEDORAS": {
"CUENTAS DE ORDEN ACREEDORAS": { "CUENTAS DE ORDEN ACREEDORAS 1": {
"CUENTAS DE ORDEN ACREEDORAS": { "CUENTAS DE ORDEN ACREEDORAS 2": {
"MERCANCIA EN CONSIGNACION P. COMPRA": {}, "MERCANCIA EN CONSIGNACION P. COMPRA": {},
"MERCANCIA VENDIDAS EN TRANSITO": {} "MERCANCIA VENDIDAS EN TRANSITO": {}
} }
} }
}, },
"root_type": "" "root_type": "Asset"
}, },
"GASTOS": { "GASTOS": {
"GASTOS OPERATIVOS": { "GASTOS OPERATIVOS": {
@ -256,10 +272,19 @@
"DEPRECIACION": { "DEPRECIACION": {
"INMUEBLES": {}, "INMUEBLES": {},
"LICENCIA Y SOFTWARE": {}, "LICENCIA Y SOFTWARE": {},
"MAQUINARIAS Y EQUIPOS": {}, "MAQUINARIAS Y EQUIPOS": {
"MEJORAS A PROPIEDAD": {}, "account_type": "Depreciation"
"MUEBLES Y ENSERES": {}, },
"VEHICULOS": {} "MEJORAS A PROPIEDAD": {
"account_type": "Depreciation"
},
"MUEBLES Y ENSERES": {
"account_type": "Depreciation"
},
"VEHICULOS": {
"account_type": "Depreciation"
},
"account_type": "Depreciation"
} }
}, },
"GASTOS COMERCIALIZACION": { "GASTOS COMERCIALIZACION": {
@ -270,10 +295,10 @@
"EVENTOS ESPECIALES": {}, "EVENTOS ESPECIALES": {},
"MATERIALES PROMOCIONALES": {}, "MATERIALES PROMOCIONALES": {},
"MEDIOS": {}, "MEDIOS": {},
"PATENTE INDUSTRIA Y COMERCIO": {}, "PATENTE INDUSTRIA Y COMERCIO 1": {},
"PRODUCCION MATERIAL P.O.P.": {}, "PRODUCCION MATERIAL P.O.P.": {},
"PROMOCIONES": {}, "PROMOCIONES": {},
"PUBLICIDAD": {}, "PUBLICIDAD 1": {},
"TRANSPORTE Y FLETES": {} "TRANSPORTE Y FLETES": {}
} }
}, },
@ -285,7 +310,7 @@
"BENEFICIOS COMEDOR": {}, "BENEFICIOS COMEDOR": {},
"BENEFICIOS SERVICIOS MEDICOS": {}, "BENEFICIOS SERVICIOS MEDICOS": {},
"BENEFICIOS UNIFORMES": {}, "BENEFICIOS UNIFORMES": {},
"BONIFICACION UNICA ESPECIAL": {}, "BONIFICACION UNICA ESPECIAL 1": {},
"BONO VACACIONAL": {}, "BONO VACACIONAL": {},
"COMISION AL PERSONAL": {}, "COMISION AL PERSONAL": {},
"CONTRIBUCIONES": {}, "CONTRIBUCIONES": {},
@ -294,23 +319,27 @@
"HONORARIOS POR PARTIPACION JUNTA DIRECTIVA": {}, "HONORARIOS POR PARTIPACION JUNTA DIRECTIVA": {},
"HORAS EXTRAORDINARIAS": {}, "HORAS EXTRAORDINARIAS": {},
"HORAS EXTRAS": {}, "HORAS EXTRAS": {},
"INTERESES S/PRESTACIONES SOCIALES": {}, "INTERESES S/PRESTACIONES SOCIALES 2": {},
"PRESTACIONES SOCIALES": {}, "PRESTACIONES SOCIALES 1": {},
"PRIMA POR RENDIMIENTO": {}, "PRIMA POR RENDIMIENTO": {},
"PROGRAMA DE ALIMENTACION EMPLEADOS": {}, "PROGRAMA DE ALIMENTACION EMPLEADOS": {},
"SUELDOS DIRECTIVOS": {}, "SUELDOS DIRECTIVOS": {},
"SUELDOS EMPLEADOS": {}, "SUELDOS EMPLEADOS": {},
"TRANSPORTE Y ALIMENTACION": {}, "TRANSPORTE Y ALIMENTACION": {},
"UTILIDADES": {}, "UTILIDADES 2": {},
"VACACIONES": {}, "VACACIONES 2": {},
"VIATICOS Y GASTOS DE REPRESENTACION": {} "VIATICOS Y GASTOS DE REPRESENTACION": {}
} }
}, },
"GASTOS GENERALES": { "GASTOS GENERALES": {
"GASTOS GENERALES": { "GASTOS GENERALES 1": {
"AGUA POTABLE Y REFRIGERIO": {}, "AGUA POTABLE Y REFRIGERIO": {},
"AJUSTE DE INVENTARIOS DONADOS": {}, "AJUSTE DE INVENTARIOS DONADOS": {
"AJUSTE DE INVENTARIOS OBSOLETOS": {}, "account_type": "Stock Adjustment"
},
"AJUSTE DE INVENTARIOS OBSOLETOS": {
"account_type": "Stock Adjustment"
},
"ARRENDAMIENTO": {}, "ARRENDAMIENTO": {},
"ARTICULOS DE OFICINA": {}, "ARTICULOS DE OFICINA": {},
"ASEO URBANO": {}, "ASEO URBANO": {},
@ -320,7 +349,7 @@
"BONIFICACION UNICA ESPECIAL": {}, "BONIFICACION UNICA ESPECIAL": {},
"COMBUSTIBLES": {}, "COMBUSTIBLES": {},
"COMIDAS, VIAJES Y TRASLADOS": {}, "COMIDAS, VIAJES Y TRASLADOS": {},
"CONDOMINIOS": {}, "CONDOMINIOS 1": {},
"CONVENSION DE COMERCIALIZACION": {}, "CONVENSION DE COMERCIALIZACION": {},
"DERECHO DE FRENTE": {}, "DERECHO DE FRENTE": {},
"ENERGIA ELECTRICA": {}, "ENERGIA ELECTRICA": {},
@ -342,7 +371,7 @@
"REMANENTES DISTRIBUIBLES": {}, "REMANENTES DISTRIBUIBLES": {},
"REPARACIONES": {}, "REPARACIONES": {},
"REPAROS": {}, "REPAROS": {},
"SEGUROS": {}, "SEGUROS 1": {},
"SERVICIOS CONTRATADOS A TERCEROS": {}, "SERVICIOS CONTRATADOS A TERCEROS": {},
"SERVICIOS DE PUBLICIDAD": {}, "SERVICIOS DE PUBLICIDAD": {},
"SERVICIOS PUBLICOS": {}, "SERVICIOS PUBLICOS": {},
@ -356,17 +385,17 @@
} }
} }
}, },
"root_type": "" "root_type": "Expense"
}, },
"INGRESOS": { "INGRESOS": {
"INGRESOS OPERACIONALES": { "INGRESOS OPERACIONALES": {
"INGRESOS OPERACIONALES": { "INGRESOS OPERACIONALES 1": {
"DESCUENTOS Y DEVOLUCION EN VENTAS": { "DESCUENTOS Y DEVOLUCION EN VENTAS": {
"DESCUENTOS EN VENTAS": {}, "DESCUENTOS EN VENTAS": {},
"DEVOLUCIONES EN VENTAS": {} "DEVOLUCIONES EN VENTAS": {}
}, },
"INGRESOS POR SERVICIOS": { "INGRESOS POR SERVICIOS": {
"INGRESOS POR SERVICIOS": {} "INGRESOS POR SERVICIOS 1": {}
}, },
"VENTAS": { "VENTAS": {
"VENTAS EXPORTACION": {}, "VENTAS EXPORTACION": {},
@ -376,7 +405,7 @@
} }
} }
}, },
"root_type": "" "root_type": "Income"
}, },
"OTROS INGRESOS (EGRESOS)": { "OTROS INGRESOS (EGRESOS)": {
"EGRESOS": { "EGRESOS": {
@ -384,17 +413,17 @@
"EGRESOS NO GRAVABLES": { "EGRESOS NO GRAVABLES": {
"IMPUESTOS A LAS TRANSACIONES FINANCIERAS": {} "IMPUESTOS A LAS TRANSACIONES FINANCIERAS": {}
}, },
"GASTOS FINANCIEROS": { "GASTOS FINANCIEROS 1": {
"COMISIONES TICKET DE ALIMENTACION": {}, "COMISIONES TICKET DE ALIMENTACION": {},
"COMISIONES Y GASTOS BANCARIOS": {}, "COMISIONES Y GASTOS BANCARIOS": {},
"INTERESES BANCOS NACIONALES": {}, "INTERESES BANCOS NACIONALES": {},
"INTERESES POR FINANCIAMIENTOS": {}, "INTERESES POR FINANCIAMIENTOS": {},
"OTROS EGRESOS": {} "OTROS EGRESOS": {}
}, },
"OTROS EGRESOS": { "OTROS EGRESOS 1": {
"AJUSTE DE A\u00d1OS ANTERIORES": {}, "AJUSTE DE A\u00d1OS ANTERIORES": {},
"FLUCTUACION CAMBIARIA NO REALIZADAS": {}, "FLUCTUACION CAMBIARIA NO REALIZADAS": {},
"INTERESES S/PRESTACIONES SOCIALES": {}, "INTERESES S/PRESTACIONES SOCIALES 1": {},
"PERDIDA POR ROBO DE INVENTARIO": {}, "PERDIDA POR ROBO DE INVENTARIO": {},
"PERDIDAS EN DIFERENCIAL CAMBIARIO": {}, "PERDIDAS EN DIFERENCIAL CAMBIARIO": {},
"PERDIDAS EN INVERSIONES DE BONOS P.": {}, "PERDIDAS EN INVERSIONES DE BONOS P.": {},
@ -404,26 +433,29 @@
} }
}, },
"OTROS INGRESOS": { "OTROS INGRESOS": {
"OTROS INGRESOS": { "OTROS INGRESOS 1": {
"INGRESOS FINANCIEROS": { "INGRESOS FINANCIEROS": {
"INTERESES DE BANCOS EXTRANJEROS": {}, "INTERESES DE BANCOS EXTRANJEROS": {},
"INTERESES DE BANCOS NACIONALES": {}, "INTERESES DE BANCOS NACIONALES": {},
"OTROS INGRESOS FINANCIEROS": {} "OTROS INGRESOS FINANCIEROS": {}
}, },
"OTROS INGRESOS": { "OTROS INGRESOS 2": {
"GANANCIAS EN DIFERENCIAL CAMBIARIO": {}, "GANANCIAS EN DIFERENCIAL CAMBIARIO": {},
"GANANCIAS EN VENTAS DE ACTIVOS FIJOS": {}, "GANANCIAS EN VENTAS DE ACTIVOS FIJOS": {},
"GANANCIAS EN VENTAS DE INVERSIONES": {}, "GANANCIAS EN VENTAS DE INVERSIONES": {},
"INTERESES VARIOS": {}, "INTERESES VARIOS": {},
"OTROS INGRESOS": {} "OTROS INGRESOS 3": {}
} }
} }
}, },
"root_type": "" "root_type": "Income"
}, },
"PASIVO": { "PASIVO": {
" Stock recibidas, pero no facturada": {
"account_type": "Stock Received But Not Billed"
},
"OTROS PASIVOS A CORTO PLAZO": { "OTROS PASIVOS A CORTO PLAZO": {
"OTROS PASIVOS A CORTO PLAZO": { "OTROS PASIVOS A CORTO PLAZO 1": {
"IMPUESTOS POR PAGAR": { "IMPUESTOS POR PAGAR": {
"1% DE RET CEDULAR ARRENDAMIETOS (GUANAJUATO)": {}, "1% DE RET CEDULAR ARRENDAMIETOS (GUANAJUATO)": {},
"10% ISR RETENIDO ARRENDAMIENTO": {}, "10% ISR RETENIDO ARRENDAMIENTO": {},
@ -443,19 +475,15 @@
"PASIVO A CORTO PLAZO": { "PASIVO A CORTO PLAZO": {
"ACUMULACIONES LABORALES": { "ACUMULACIONES LABORALES": {
"APORTES EMPLEADOS": { "APORTES EMPLEADOS": {
"APORTES EMPLEADOS": {}, "APORTES EMPLEADOS 1": {},
"FONDO DE AHORRO": {}, "FONDO DE AHORRO": {},
"FONDO FIDEICOMISO": {} "FONDO FIDEICOMISO": {}
} }
}, },
"DIVIDENDO POR PAGAR": { "DIVIDENDO POR PAGAR": {
"DIVIDENDO POR PAGAR": { "DIVIDENDO POR PAGAR 1": {
"DIVDENDO POR COBRAR NO COBRADOS": { "DIVDENDO POR COBRAR NO COBRADOS": {},
"account_type": "Receivable" "DIVIDENDO POR PAGAR VIGENTES": {}
},
"DIVIDENDO POR PAGAR VIGENTES": {
"account_type": "Payable"
}
} }
}, },
"DOCUMENTOS Y CUENTAS POR PAGAR": { "DOCUMENTOS Y CUENTAS POR PAGAR": {
@ -463,7 +491,8 @@
"CUENTAS POR PAGAR ACCIONISTAS": { "CUENTAS POR PAGAR ACCIONISTAS": {
"CUENTAS POR PAGAR SOCIOS": { "CUENTAS POR PAGAR SOCIOS": {
"account_type": "Payable" "account_type": "Payable"
} },
"account_type": "Payable"
}, },
"PROVEEDORES EXTRANJEROS": {}, "PROVEEDORES EXTRANJEROS": {},
"PROVEEDORES OCASIONALES": { "PROVEEDORES OCASIONALES": {
@ -475,8 +504,10 @@
}, },
"TARJETA DE CREDITO X": { "TARJETA DE CREDITO X": {
"account_type": "Payable" "account_type": "Payable"
} },
} "account_type": "Payable"
},
"account_type": "Payable"
}, },
"GASTOS ACUMULADOS Y RETENCIONES POR PAGAR": { "GASTOS ACUMULADOS Y RETENCIONES POR PAGAR": {
"CONTRIBUCIONES PATRONAL": { "CONTRIBUCIONES PATRONAL": {
@ -492,8 +523,8 @@
"IMPUESTOS MUNICIPALES POR PAGAR": { "IMPUESTOS MUNICIPALES POR PAGAR": {
"account_type": "Payable" "account_type": "Payable"
}, },
"IMPUESTOS POR PAGAR": { "IMPUESTOS POR PAGAR 1": {
"account_type": "Payable" "account_type": "Tax"
}, },
"INTERESES S/PRESTACIONES SOCIALES": {}, "INTERESES S/PRESTACIONES SOCIALES": {},
"NOMINA POR PAGAR": { "NOMINA POR PAGAR": {
@ -525,7 +556,7 @@
"IMPUESTOS SOBRE LA RENTA POR PAGAR": { "IMPUESTOS SOBRE LA RENTA POR PAGAR": {
"ISR ACUMULADOS GASTOS": { "ISR ACUMULADOS GASTOS": {
"DECLARACION ESTIMADAS": {}, "DECLARACION ESTIMADAS": {},
"ISR ACUMULADOS GASTOS": {}, "ISR ACUMULADOS GASTOS 1": {},
"RAR AJUSTE INICIAL POR INFLACION": {} "RAR AJUSTE INICIAL POR INFLACION": {}
} }
}, },
@ -535,7 +566,7 @@
} }
}, },
"RESERVAS": { "RESERVAS": {
"RESERVAS": { "RESERVAS 1": {
"RESERVAS FINANCIERAS": {}, "RESERVAS FINANCIERAS": {},
"RESERVAS FISCALES": {}, "RESERVAS FISCALES": {},
"RESERVAS OPERATIVAS": {} "RESERVAS OPERATIVAS": {}
@ -550,22 +581,22 @@
} }
}, },
"OTROS PASIVOS A LARGO PLAZO": { "OTROS PASIVOS A LARGO PLAZO": {
"OTROS PASIVOS A LARGO PLAZO": { "OTROS PASIVOS A LARGO PLAZO 1": {
"OTROS PASIVOS A LARGO PLAZO": {} "OTROS PASIVOS A LARGO PLAZO 2": {}
} }
}, },
"PASIVOS FINANCIEROS A LARGO PLAZO": { "PASIVOS FINANCIEROS A LARGO PLAZO": {
"PASIVOS FINANCIEROS A LARGO PLAZO": { "PASIVOS FINANCIEROS A LARGO PLAZO 1": {
"PASIVOS FINANCIEROS A LARGO PLAZO": {} "PASIVOS FINANCIEROS A LARGO PLAZO 2": {}
} }
}, },
"PASIVOS INTERCOMPA\u00d1IAS": { "PASIVOS INTERCOMPA\u00d1IAS": {
"PASIVOS INTERCOMPA\u00d1IAS": { "PASIVOS INTERCOMPA\u00d1IAS 1": {
"PASIVOS INTERCOMPA\u00d1IAS": {} "PASIVOS INTERCOMPA\u00d1IAS 2": {}
} }
} }
}, },
"root_type": "" "root_type": "Liability"
} }
} }
} }

View File

@ -0,0 +1,494 @@
{
"country_code": "ni",
"name": "Nicaragua - Catalogo de Cuentas",
"tree": {
"Activo": {
"Activo Corriente": {
"Activos Financieros Realizables a Corto Plazo": {
"Bonos y Acciones Disponibles para la Venta": {},
"Certificados Bancarios": {},
"Inversiones a Corto Plazo": {},
"Otros Valores Negociables a Corto Plazo": {}
},
"Cuentas y Documentos por Cobrar a Clientes": {
"Cuentas por Cobrar Moneda Extrangera": {
"account_type": "Receivable"
},
"Cuentas por Cobrar Moneda Nacional": {
"account_type": "Receivable"
},
"Cuentas por Cobrar por Exportaciones": {
"account_type": "Receivable"
},
"Documentos por Cobrar Moneda Extrangera": {
"account_type": "Receivable"
},
"Documentos por Cobrar Moneda Nacional": {
"account_type": "Receivable"
},
"Estimacion para Cuentas Incobrables": {}
},
"Efectivo en Caja y Bancos": {
"Caja": {
"Caja Chica Moneda Extrangera": {
"account_type": "Cash"
},
"Caja Chica Moneda Nacional": {
"account_type": "Cash"
},
"Caja General Moneda Extrangera": {
"account_type": "Cash"
},
"Caja General Moneda Nacional": {
"account_type": "Cash"
},
"Fondos por Depositar": {
"account_type": "Cash"
}
},
"Cuentas Bancarias": {
"Cuenta Corriente Moneda Extrangera": {
"account_type": "Bank"
},
"Cuenta Corriente Moneda Nacional": {
"account_type": "Bank"
},
"account_type": "Bank"
},
"Otros Equivalentes a Efectivo": {
"account_type": "Cash",
"is_group": 1
}
},
"Impuestos Acreditables": {
"Anticipos de IR o Pago Minimo Definitivo": {},
"Impuesto a Valor Agregado Acreditable": {
"Acreditacion Proporcional": {},
"IVA Acreditable por Compra de Bienes": {
"account_type": "Tax"
},
"IVA Acreditable por Importaciones": {
"account_type": "Tax"
},
"IVA Acreditable por Prestacion de Servicios y Uso y Goce de Bienes": {
"account_type": "Tax"
}
},
"Retenciones Definitivas Sobre Rentas o Ganancias de Capital": {},
"Retenciones a Cuenta de IMI Acreditables": {},
"Retenciones a Cuenta de IR Acreditables": {
"Retencion Operaciones Targeta Debito/Credito 1.5%": {
"account_type": "Tax"
},
"Retencion por V/Bienes o P/Servicios 2%": {
"account_type": "Tax"
}
}
},
"Inventarios": {
"Ajuste de Inventarios": {
"account_type": "Stock Adjustment"
},
"Todos los Almacenes": {
"account_type": "Stock",
"is_group": 1
},
"account_type": "Stock"
},
"Otras Cuentas por Cobrar": {
"account_type": "Receivable",
"is_group": 1
}
},
"Activo no Corriente": {
"Activo por Impuestos Diferidos": {
"is_group": 1
},
"Activos Intangibles": {
"Amortizacion de Activos Intangibles": {
"is_group": 1
},
"Concesiones": {
"is_group": 1
},
"Derechos de Autor": {
"is_group": 1
},
"Deterioro de Valor de Activos Intangibles": {},
"Gastos de investigacion": {
"is_group": 1
},
"Licencias": {
"is_group": 1
},
"Marcas Registradas": {
"is_group": 1
},
"Patentes": {
"is_group": 1
}
},
"Amortizables": {
"Amortizacion de Activos Amortizables": {},
"Deterioro de Valaor de Activos Amortizables": {},
"Gastos Pre Operativos": {
"account_type": "Expenses Included In Valuation"
},
"Gastos de Consitucion": {
"account_type": "Expenses Included In Valuation"
},
"Mejoras en Bienes Arrendados": {
"is_group": 1
}
},
"Bienes en Arrendamiento Financiero": {
"Equipos y Maquinaria en Arrendamiento": {},
"Locales y Edificios en Arrendamiento": {}
},
"Cuentas por Cobrar a Largo Plazo": {
"Creditos a Largo Plazo": {
"is_group": 1
}
},
"Inversiones Permanentes": {
"Inversiones Permanentes 1": {
"account_type": "Fixed Asset",
"is_group": 1
},
"Negocios Conjuntos": {
"account_type": "Fixed Asset",
"is_group": 1
}
},
"Inversiones a Largo Plazo": {
"Depositos Bancarios a Plazo": {
"is_group": 1
},
"Intereses percibidos por adelantado": {
"is_group": 1
},
"Titulos y Acciones": {
"is_group": 1
}
},
"Propiedad Planta y Equipo": {
"Almacenes": {},
"Depresiacion Acumulada": {
"account_type": "Depreciation"
},
"Edificios": {},
"Equipo de Computo": {},
"Maquinaria Industrial": {},
"Mobiliario y Equipo de Oficinas": {},
"Otra Bienes Mobiliarios": {
"account_type": "Fixed Asset"
},
"Otros Activos Inmobiliarios": {},
"Parque Vehicular": {},
"Terrenos": {},
"account_type": "Fixed Asset"
}
},
"root_type": "Asset"
},
"Capital y Patrimonio": {
"Aporte de Socios": {
"Capital": {
"Capital Social Pagado": {
"account_type": "Equity"
},
"Capital Social no Pagado": {
"account_type": "Equity"
}
}
},
"Donaciones": {
"is_group": 1
},
"Ganancias Acumuladas": {
"Reservas": {
"Reservas Legales": {
"account_type": "Equity"
},
"Reservas Voluntarias": {
"account_type": "Equity"
}
},
"Resultados": {
"Ajustes a Periodos Anteriores": {
"account_type": "Equity"
},
"Resultado del ejercicio": {
"account_type": "Equity"
},
"Resultados Acumulados": {
"account_type": "Equity"
}
}
},
"root_type": "Equity"
},
"Costos y Gastos": {
"Costo de Venta": {
"Costo de Bienes": {
"account_type": "Cost of Goods Sold"
},
"Costo de Produccion": {
"account_type": "Cost of Goods Sold"
},
"Costo de Servicios": {
"account_type": "Cost of Goods Sold"
},
"account_type": "Cost of Goods Sold"
},
"Costos y Gastos No Deducibles": {},
"Gastopor Depreciacion": {
"account_type": "Depreciation"
},
"Gastos de Administracion": {
"Alquileres": {},
"Amortizaciones": {},
"Ayuda a Empleados": {},
"Capacitacion al Personal": {},
"Combustible": {},
"Cuentas Incobrables": {},
"Donaciones 1": {},
"Fletes y Correos": {},
"Gastos Varios": {},
"IVA Proporcional no Acreditado": {},
"Impuesto Municipal": {},
"Inatec": {},
"Indemnizacion": {},
"Mantenimiento y Reparaciones": {},
"Matricula": {},
"Papeleria": {},
"Recoleccion de Basura": {},
"Representacion": {},
"Seguros": {},
"Servicios Basicos": {
"Agua Potable": {},
"Celular": {},
"Costos por Servicios WEB": {},
"Energia Electrica": {},
"Internet": {},
"Telefono Fijo": {}
},
"Uniformes": {},
"Vigilancia": {}
},
"Gastos de Ventas": {
"Fletes": {},
"Mercadeo": {},
"Muestras Gratis": {},
"Promociones": {},
"Publicidad": {},
"Regalosa Clientes": {}
},
"Gastos por Salarios y Otras Compensaciones": {},
"Gastos por Servicios Profesionales y Tecnicos": {},
"Impuesto por Rentas y Ganancias de Capital": {},
"Impuesto sobre la Rentade Activividades Economicas": {},
"Otros Gastos": {
"Certificacion de Cheques y Chequeras": {},
"Perdida Cambiario": {},
"P\u00e9rdida en Venta de Activo Fijo": {
"account_type": "Cost of Goods Sold"
},
"Siniestros": {}
},
"root_type": "Expense"
},
"Ingresos": {
"Ingresos no Grabables": {
"Ingreso por Rentas y Ganacias de Capital sujetas a Retencion Definitiva": {},
"Interes Bancarios": {},
"Otros Ingresos no Grabables": {}
},
"Otros Ingresos Grabables": {
"Ganacia Cambiaria": {},
"Otros Ingresos Grabables 1": {},
"Sobrante en Arqueo de Caja": {}
},
"Ventas": {
"Venta de Bienes o Prestacion de Servicios Exentos": {},
"Venta de Bienes o Prestacion de Servicios Exonerados": {},
"Venta de Bienes o Prestacion de Servicios Grabados": {},
"Venta por Exportaciones": {}
},
"root_type": "Income"
},
"Pasivo": {
"Obligaciones por Arrendamiento Financiero a Largo Plazo": {
"is_group": 1
},
"Pasivo Corriente": {
"Anticipos de Clientes": {},
"Cuentas por Pagar Proveedores": {
"Bienes Adquiridos no Pagados": {
"account_type": "Stock Received But Not Billed"
},
"Cuentas por Pagar Moneda Extrangera": {
"account_type": "Payable"
},
"Cuentas por Pagar Moneda Nacional": {
"account_type": "Payable"
},
"Cuentas por Pagar por Importaciones": {
"account_type": "Payable"
},
"Documentos por Pagar Moneda Extrangera": {
"account_type": "Payable"
},
"Documentos por Pagar Moneda Nacional": {
"account_type": "Payable"
}
},
"Gastos por Pagar": {
"Prestaciones Sociales": {
"is_group": 1
},
"Salarios por Pagar": {},
"Servicios Basicos 1": {
"is_group": 1
}
},
"Impuestos por Pagar": {
"Impuesto al Valor Agregado por Pagar": {
"account_type": "Tax"
},
"Impuesto sobre la Renta por Actividades Economicas": {
"account_type": "Tax"
},
"Impuestos Municipales": {
"Impuesto Municipal Sobre Ingresos": {
"account_type": "Tax"
},
"Matricula Municipal": {
"account_type": "Tax"
},
"Recoleccion Basura": {
"account_type": "Tax"
}
}
},
"Otras Cuentas por Pagar": {
"is_group": 1
},
"Pasivos Financieros a Corto Plazo": {
"Otras Deudas Bancarias": {
"is_group": 1
},
"Prestamos por Pagar a Corto Plazo": {
"is_group": 1
},
"Sobregiros Bancarios": {
"is_group": 1
}
},
"Provisiones por Pagar": {
"Pasivos Laborales": {
"Aguinaldo por Pagar": {},
"Indemnizacion Laboral": {}
},
"Reclamos por Pagar": {},
"Responsabilidad frente a terceros": {}
},
"Retenciones por Pagar": {
"Rentas de Actividades Economicas": {
"Otras Retenciones 10%": {
"account_type": "Tax"
},
"Retencion 10% Servicios Profesionales": {
"account_type": "Tax"
},
"Retencion 2% por C/Bienes o P/Servicios": {
"account_type": "Tax"
},
"Retencion 3% compra Bienes Agropecuarios": {
"account_type": "Tax"
},
"Retencion 5% compra Madera en Rollo": {
"account_type": "Tax"
},
"Retencion Definitiva 1.5% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 10% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 15% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 3% Actividades Economicas No Residentes": {
"account_type": "Tax"
}
},
"Rentas del Trabajo": {
"Retencion Definitiva 10% por Rentas del Trabajo - Indemnizacion Adicional": {
"account_type": "Tax"
},
"Retencion Definitiva 12.5% por Rentas del Trabajo - Dietas": {
"account_type": "Tax"
},
"Retencion Definitiva 15% por Rentas del Trabajo - No Residentes": {
"account_type": "Tax"
},
"Retencion Rentas del Trabajo Tarifa Progresiva": {
"account_type": "Tax"
}
},
"Rentas y Ganancias de Capital": {
"Retencion Definitiva 0.25% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 1% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 1.5% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 10% por Ganancia de Capital": {
"account_type": "Tax"
},
"Retencion Definitiva 2% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 5% por Rentas de Capital": {
"account_type": "Tax"
},
"Retencion Defintiva 10% por Rentas de Capital": {
"account_type": "Tax"
},
"Retencion Defintiva 15% por Rentas de Capital": {
"account_type": "Tax"
},
"Retenciones Defintiva 5% Fondos de Inversion": {
"account_type": "Tax"
}
},
"Retencion 17% Operaciones con Paraisos Fiscales": {
"account_type": "Tax"
}
}
},
"Pasivo No Corriente": {
"Cuentas por Pagar a Largo Plaso": {
"is_group": 1
},
"Otras Cuentas por Pagar a Largo Plazo": {
"is_group": 1
},
"Otros Pasivos Financieros a Largo Plaso": {
"is_group": 1
},
"Prestamos a Largo Plazo": {
"is_group": 1
}
},
"Pasivo por Impuestos Diferidos": {
"is_group": 1
},
"root_type": "Liability"
}
}
}

View File

@ -1,466 +0,0 @@
{
"country_code": "ni",
"name": "Nicaragua - Catalogo de Cuentas",
"tree": {
"Activo": {
"Activo Corriente": {
"Efectivo en Caja y Bancos": {
"Caja": {
"Caja General Moneda Nacional": {
"account_type": "Cash"
},
"Caja General Moneda Extrangera": {
"account_type": "Cash"
},
"Caja Chica Moneda Nacional": {
"account_type": "Cash"
},
"Caja Chica Moneda Extrangera": {
"account_type": "Cash"
},
"Fondos por Depositar": {
"account_type": "Cash"
}
},
"Cuentas Bancarias": {
"Cuenta Corriente Moneda Nacional": {
"account_type": "Bank"
},
"Cuenta Corriente Moneda Extrangera": {
"account_type": "Bank"
}
},
"Otros Equivalentes a Efectivo": {
"is_group": 1,
"account_type": "Cash"
}
},
"Activos Financieros Realizables a Corto Plazo": {
"Inversiones a Corto Plazo": {},
"Bonos y Acciones Disponibles para la Venta": {},
"Certificados Bancarios": {},
"Otros Valores Negociables a Corto Plazo": {}
},
"Cuentas y Documentos por Cobrar a Clientes": {
"Cuentas por Cobrar Moneda Nacional": {
"account_type": "Receivable"
},
"Cuentas por Cobrar Moneda Extrangera": {
"account_type": "Receivable"
},
"Documentos por Cobrar Moneda Nacional": {
"account_type": "Receivable"
},
"Documentos por Cobrar Moneda Extrangera": {
"account_type": "Receivable"
},
"Cuentas por Cobrar por Exportaciones": {
"account_type": "Receivable"
},
"Estimacion para Cuentas Incobrables": {}
},
"Inventarios": {
"is_group": 1,
"account_type": "Stock"
},
"Impuestos Acreditables": {
"Impuesto a Valor Agregado Acreditable": {
"IVA Acreditable por Compra de Bienes": {
"account_type": "Tax"
},
"IVA Acreditable por Importaciones": {
"account_type": "Tax"
},
"IVA Acreditable por Prestacion de Servicios y Uso y Goce de Bienes": {
"account_type": "Tax"
},
"Acreditacion Proporcional": {}
},
"Anticipos de IR o Pago Minimo Definitivo": {},
"Retenciones a Cuenta de IR Acreditables": {
"Retencion por V/Bienes o P/Servicios 2%": {
"account_type": "Tax"
},
"Retencion Operaciones Targeta Debito/Credito 1.5%": {
"account_type": "Tax"
}
},
"Retenciones a Cuenta de IMI Acreditables": {},
"Retenciones Definitivas Sobre Rentas o Ganancias de Capital": {}
},
"Otras Cuentas por Cobrar": {
"is_group": 1,
"account_type": "Receivable"
}
},
"Activo no Corriente": {
"Propiedad Planta y Equipo": {
"Terrenos": {},
"Edificios": {},
"Almacenes": {},
"Otros Activos Inmobiliarios": {},
"Parque Vehicular": {},
"Equipo de Computo": {},
"Mobiliario y Equipo de Oficinas": {},
"Maquinaria Industrial": {},
"Otra Bienes Mobiliarios": {},
"Depresiacion Acumulada": {},
"account_type": "Fixed Asset"
},
"Inversiones Permanentes": {
"Inversiones Permanentes": {
"is_group": 1,
"account_type": "Fixed Asset"
},
"Negocios Conjuntos": {
"is_group": 1,
"account_type": "Fixed Asset"
}
},
"Bienes en Arrendamiento Financiero": {
"Locales y Edificios en Arrendamiento": {},
"Equipos y Maquinaria en Arrendamiento": {}
},
"Activos Intangibles": {
"Patentes": {
"is_group": 1
},
"Marcas Registradas": {
"is_group": 1
},
"Derechos de Autor": {
"is_group": 1
},
"Concesiones": {
"is_group": 1
},
"Licencias": {
"is_group": 1
},
"Gastos de investigacion": {
"is_group": 1
},
"Amortizacion de Activos Intangibles": {
"is_group": 1
},
"Deterioro de Valor de Activos Intangibles": {}
},
"Amortizables": {
"Gastos de Consitucion": {},
"Gastos Pre Operativos": {},
"Mejoras en Bienes Arrendados": {
"is_group": 1
},
"Amortizacion de Activos Amortizables": {},
"Deterioro de Valaor de Activos Amortizables": {}
},
"Cuentas por Cobrar a Largo Plazo": {
"Creditos a Largo Plazo": {
"is_group": 1
}
},
"Inversiones a Largo Plazo": {
"Depositos Bancarios a Plazo": {
"is_group": 1
},
"Intereses percibidos por adelantado": {
"is_group": 1
},
"Titulos y Acciones": {
"is_group": 1
}
},
"Activo por Impuestos Diferidos": {
"is_group": 1
}
},
"root_type": "Asset"
},
"Pasivo": {
"Pasivo Corriente": {
"Cuentas por Pagar Proveedores": {
"Cuentas por Pagar Moneda Nacional": {
"account_type": "Payable"
},
"Cuentas por Pagar Moneda Extrangera": {
"account_type": "Payable"
},
"Documentos por Pagar Moneda Nacional": {
"account_type": "Payable"
},
"Documentos por Pagar Moneda Extrangera": {
"account_type": "Payable"
},
"Cuentas por Pagar por Importaciones": {
"account_type": "Payable"
}
},
"Anticipos de Clientes": {},
"Pasivos Financieros a Corto Plazo": {
"Prestamos por Pagar a Corto Plazo": {
"is_group": 1
},
"Sobregiros Bancarios": {
"is_group": 1
},
"Otras Deudas Bancarias": {
"is_group": 1
}
},
"Gastos por Pagar": {
"Servicios Basicos": {
"is_group": 1
},
"Prestaciones Sociales": {
"is_group": 1
},
"Salarios por Pagar": {}
},
"Provisiones por Pagar": {
"Pasivos Laborales": {
"Indemnizacion Laboral": {},
"Aguinaldo por Pagar": {}
},
"Reclamos por Pagar": {},
"Responsabilidad frente a terceros": {}
},
"Impuestos por Pagar": {
"Impuesto al Valor Agregado por Pagar": {
"account_type": "Tax"
},
"Impuesto sobre la Renta por Actividades Economicas": {
"account_type": "Tax"
},
"Impuestos Municipales": {
"Impuesto Municipal Sobre Ingresos": {
"account_type": "Tax"
},
"Recoleccion Basura": {
"account_type": "Tax"
},
"Matricula Municipal": {
"account_type": "Tax"
}
}
},
"Retenciones por Pagar": {
"Rentas del Trabajo": {
"Retencion Rentas del Trabajo Tarifa Progresiva": {
"account_type": "Tax"
},
"Retencion Definitiva 10% por Rentas del Trabajo - Indemnizacion Adicional": {
"account_type": "Tax"
},
"Retencion Definitiva 12.5% por Rentas del Trabajo - Dietas": {
"account_type": "Tax"
},
"Retencion Definitiva 15% por Rentas del Trabajo - No Residentes": {
"account_type": "Tax"
}
},
"Rentas de Actividades Economicas": {
"Retencion 2% por C/Bienes o P/Servicios": {
"account_type": "Tax"
},
"Retencion 10% Servicios Profesionales": {
"account_type": "Tax"
},
"Retencion 3% compra Bienes Agropecuarios": {
"account_type": "Tax"
},
"Retencion 5% compra Madera en Rollo": {
"account_type": "Tax"
},
"Retencion Definitiva 1.5% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 3% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 10% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Retencion Definitiva 15% Actividades Economicas No Residentes": {
"account_type": "Tax"
},
"Otras Retenciones 10%": {
"account_type": "Tax"
}
},
"Rentas y Ganancias de Capital": {
"Retencion Defintiva 15% por Rentas de Capital": {
"account_type": "Tax"
},
"Retencion Defintiva 10% por Rentas de Capital": {
"account_type": "Tax"
},
"Retencion Definitiva 5% por Rentas de Capital": {
"account_type": "Tax"
},
"Retencion Definitiva 10% por Ganancia de Capital": {
"account_type": "Tax"
},
"Retencion Definitiva 0.25% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 1% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 1.5% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retencion Definitiva 2% Transacciones Bursatiles": {
"account_type": "Tax"
},
"Retenciones Defintiva 5% Fondos de Inversion": {
"account_type": "Tax"
}
},
"Retencion 17% Operaciones con Paraisos Fiscales": {
"account_type": "Tax"
}
},
"Otras Cuentas por Pagar": {
"is_group": 1
}
},
"Pasivo No Corriente": {
"Prestamos a Largo Plazo": {
"is_group": 1
},
"Cuentas por Pagar a Largo Plaso": {
"is_group": 1
},
"Otras Cuentas por Pagar a Largo Plazo": {
"is_group": 1
},
"Otros Pasivos Financieros a Largo Plaso": {
"is_group": 1
}
},
"Obligaciones por Arrendamiento Financiero a Largo Plazo": {
"is_group": 1
},
"Pasivo por Impuestos Diferidos": {
"is_group": 1
},
"root_type": "Liability"
},
"Patrimonio": {
"Aporte de Socios": {
"Capital": {
"Capital Social Pagado": {
"account_type": "Equity"
},
"Capital Social no Pagado": {
"account_type": "Equity"
}
}
},
"Donaciones": {
"is_group": 1
},
"Ganancias Acumuladas": {
"Reservas": {
"Reservas Legales": {
"account_type": "Equity"
},
"Reservas Voluntarias": {
"account_type": "Equity"
}
},
"Resultados": {
"Resultados Acumulados": {
"account_type": "Equity"
},
"Ajustes a Periodos Anteriores": {
"account_type": "Equity"
},
"Resultado del ejercicio": {
"account_type": "Equity"
}
}
},
"root_type": "Equity"
},
"Ingresos": {
"Ventas": {
"Venta de Bienes o Prestacion de Servicios Grabados": {},
"Venta de Bienes o Prestacion de Servicios Exentos": {},
"Venta de Bienes o Prestacion de Servicios Exonerados": {},
"Venta por Exportaciones": {}
},
"Otros Ingresos Grabables": {
"Ganacia Cambiaria": {},
"Sobrante en Arqueo de Caja": {},
"Otros Ingresos Grabables": {}
},
"Ingresos no Grabables": {
"Ingreso por Rentas y Ganacias de Capital sujetas a Retencion Definitiva": {},
"Interes Bancarios": {},
"Otros Ingresos no Grabables": {}
},
"root_type": "Income"
},
"Costos y Gastos": {
"Costo de Venta": {
"Costo de Bienes": {},
"Costo de Servicios": {},
"Costo de Produccion": {},
"account_type": "Cost of Goods Sold"
},
"Gastos de Ventas": {
"Publicidad": {},
"Mercadeo": {},
"Muestras Gratis": {},
"Regalosa Clientes": {},
"Fletes": {},
"Promociones": {}
},
"Gastos de Administracion": {
"Alquileres": {},
"Combustible": {},
"Servicios Basicos": {
"Energia Electrica": {},
"Agua Potable": {},
"Internet": {},
"Telefono Fijo": {},
"Celular": {},
"Costos por Servicios WEB": {}
},
"Vigilancia": {},
"Gastos Varios": {},
"Mantenimiento y Reparaciones": {},
"Papeleria": {},
"Representacion": {},
"Amortizaciones": {},
"Inatec": {},
"Indemnizacion": {},
"Fletes y Correos": {},
"Cuentas Incobrables": {},
"Capacitacion al Personal": {},
"Uniformes": {},
"Seguros": {},
"Donaciones": {},
"Impuesto Municipal": {},
"Matricula": {},
"Recoleccion de Basura": {},
"IVA Proporcional no Acreditado": {},
"Ayuda a Empleados": {}
},
"Gastos por Servicios Profesionales y Tecnicos": {},
"Gastos por Salarios y Otras Compensaciones": {},
"Gastopor Depreciacion": {},
"Otros Gastos": {
"Perdida Cambiario": {},
"Perdida e nVenta de Activo Fijo": {},
"Siniestros": {},
"Certificacion de Cheques y Chequeras": {}
},
"Costos y Gastos No Deducibles": {},
"Impuesto por Rentas y Ganancias de Capital": {},
"Impuesto sobre la Rentade Activividades Economicas": {},
"root_type": "Expense"
}
}
}

View File

@ -0,0 +1,693 @@
{
"country_code": "nl",
"name": "Netherlands - Grootboekschema",
"tree": {
"FABRIKAGEREKENINGEN": {
"is_group": 1,
"root_type": "Expense"
},
"FINANCIELE REKENINGEN, KORTLOPENDE VORDERINGEN EN SCHULDEN": {
"Bank": {
"RABO Bank": {
"account_type": "Bank"
},
"account_type": "Bank"
},
"KORTLOPENDE SCHULDEN": {
"Af te dragen Btw-verlegd": {
"account_type": "Tax"
},
"Afdracht loonheffing": {},
"Btw af te dragen hoog": {
"account_type": "Tax"
},
"Btw af te dragen laag": {
"account_type": "Tax"
},
"Btw af te dragen overig": {
"account_type": "Tax"
},
"Btw oude jaren": {
"account_type": "Tax"
},
"Btw te vorderen hoog": {
"account_type": "Tax"
},
"Btw te vorderen laag": {
"account_type": "Tax"
},
"Btw te vorderen overig": {
"account_type": "Tax"
},
"Btw-afdracht": {
"account_type": "Tax"
},
"Crediteuren": {
"account_type": "Payable"
},
"Dividend": {},
"Dividendbelasting": {},
"Energiekosten 1": {},
"Investeringsaftrek": {},
"Loonheffing": {},
"Overige te betalen posten": {},
"Pensioenpremies 1": {},
"Premie WIR": {},
"Rekening-courant inkoopvereniging": {},
"Rente": {},
"Sociale lasten 1": {},
"Stock Recieved niet gefactureerd": {
"account_type": "Stock Received But Not Billed"
},
"Tanti\u00e8mes 1": {},
"Te vorderen Btw-verlegd": {
"account_type": "Tax"
},
"Telefoon/telefax 1": {},
"Termijnen onderh. werk": {},
"Vakantiedagen": {},
"Vakantiegeld 1": {},
"Vakantiezegels": {},
"Vennootschapsbelasting": {},
"Vooruit ontvangen bedr.": {}
},
"LIQUIDE MIDDELEN": {
"ABN-AMRO bank": {},
"Bankbetaalkaarten": {},
"Effecten": {},
"Girobetaalkaarten": {},
"Kas": {
"account_type": "Cash"
},
"Kas valuta": {
"account_type": "Cash"
},
"Kleine kas": {
"account_type": "Cash"
},
"Kruisposten": {},
"Postbank": {
"account_type": "Cash"
},
"account_type": "Cash"
},
"VORDERINGEN": {
"Debiteuren": {
"account_type": "Receivable"
},
"Dubieuze debiteuren": {},
"Overige vorderingen": {},
"Rekening-courant directie 1": {},
"Te ontvangen ziekengeld": {},
"Voorschotten personeel": {},
"Vooruitbetaalde kosten": {},
"Voorziening dubieuze debiteuren": {}
},
"root_type": "Asset"
},
"INDIRECTE KOSTEN": {
"is_group": 1,
"root_type": "Expense"
},
"KOSTENREKENINGEN": {
"AFSCHRIJVINGEN": {
"Aanhangwagens": {},
"Aankoopkosten": {},
"Aanloopkosten": {},
"Auteursrechten": {},
"Bedrijfsgebouwen": {},
"Bedrijfsinventaris": {
"account_type": "Depreciation"
},
"Drankvergunningen": {},
"Fabrieksinventaris": {
"account_type": "Depreciation"
},
"Gebouwen": {},
"Gereedschappen": {},
"Goodwill": {},
"Grondverbetering": {},
"Heftrucks": {},
"Kantine-inventaris": {},
"Kantoorinventaris": {
"account_type": "Depreciation"
},
"Kantoormachines": {},
"Licenties": {},
"Machines 1": {},
"Magazijninventaris": {},
"Octrooien": {},
"Ontwikkelingskosten": {},
"Pachtersinvestering": {},
"Parkeerplaats": {},
"Personenauto's": {
"account_type": "Depreciation"
},
"Rijwielen en bromfietsen": {},
"Tonnagevergunningen": {},
"Verbouwingen": {},
"Vergunningen": {},
"Voorraadverschillen": {},
"Vrachtauto's": {},
"Winkels": {},
"Woon-winkelhuis": {},
"account_type": "Depreciation"
},
"ALGEMENE KOSTEN": {
"Accountantskosten": {},
"Advieskosten": {},
"Assuranties 1": {},
"Bankkosten": {},
"Juridische kosten": {},
"Overige algemene kosten": {},
"Toev. Ass. eigen risico": {}
},
"BEDRIJFSKOSTEN": {
"Assuranties 2": {},
"Energie (krachtstroom)": {},
"Gereedschappen 1": {},
"Hulpmaterialen 1": {},
"Huur inventaris": {},
"Huur machines": {},
"Leasing invent.operational": {},
"Leasing mach. operational": {},
"Onderhoud inventaris": {},
"Onderhoud machines": {},
"Ophalen/vervoer afval": {},
"Overige bedrijfskosten": {}
},
"FINANCIERINGSKOSTEN 1": {
"Overige rentebaten": {},
"Overige rentelasten": {},
"Rente bankkrediet": {},
"Rente huurkoopcontracten": {},
"Rente hypotheek": {},
"Rente leasecontracten": {},
"Rente lening o/g": {},
"Rente lening u/g": {}
},
"HUISVESTINGSKOSTEN": {
"Assurantie onroerend goed": {},
"Belastingen onr. Goed": {},
"Energiekosten": {},
"Groot onderhoud onr. Goed": {},
"Huur": {},
"Huurwaarde woongedeelte": {},
"Onderhoud onroerend goed": {},
"Ontvangen huren": {},
"Overige huisvestingskosten": {},
"Pacht": {},
"Schoonmaakkosten": {},
"Toevoeging egalisatieres. Groot onderhoud": {}
},
"KANTOORKOSTEN": {
"Administratiekosten": {},
"Contributies/abonnementen": {},
"Huur kantoorapparatuur": {},
"Internetaansluiting": {},
"Kantoorbenodigdh./drukw.": {},
"Onderhoud kantoorinvent.": {},
"Overige kantoorkosten": {},
"Porti": {},
"Telefoon/telefax": {}
},
"OVERIGE BATEN EN LASTEN": {
"Betaalde schadevergoed.": {},
"Boekverlies vaste activa": {},
"Boekwinst van vaste activa": {},
"K.O. regeling OB": {},
"Kasverschillen": {},
"Kosten loonbelasting": {},
"Kosten omzetbelasting": {},
"Nadelige koersverschillen": {},
"Naheffing bedrijfsver.": {},
"Ontvangen schadevergoed.": {},
"Overige baten": {},
"Overige lasten": {},
"Voordelige koersverschil.": {}
},
"PERSONEELSKOSTEN": {
"Autokostenvergoeding": {},
"Bedrijfskleding": {},
"Belastingvrije uitkeringen": {},
"Bijzondere beloningen": {},
"Congressen, seminars en symposia": {},
"Gereedschapsgeld": {},
"Geschenken personeel": {},
"Gratificaties": {},
"Inhouding pensioenpremies": {},
"Inhouding sociale lasten": {},
"Kantinekosten": {},
"Lonen en salarissen": {},
"Loonwerk": {},
"Managementvergoedingen": {},
"Opleidingskosten": {},
"Oprenting stamrechtverpl.": {},
"Overhevelingstoeslag": {},
"Overige kostenverg.": {},
"Overige personeelskosten": {},
"Overige uitkeringen": {},
"Pensioenpremies": {},
"Provisie 1": {},
"Reiskosten": {},
"Rijwielvergoeding": {},
"Sociale lasten": {},
"Tanti\u00e8mes": {},
"Thuiswerkers": {},
"Toev. Backservice pens.verpl.": {},
"Toevoeging pensioenverpl.": {},
"Uitkering ziekengeld": {},
"Uitzendkrachten": {},
"Vakantiebonnen": {},
"Vakantiegeld": {},
"Vergoeding studiekosten": {},
"Wervingskosten personeel": {}
},
"VERKOOPKOSTEN": {
"Advertenties": {},
"Afschrijving dubieuze deb.": {},
"Beurskosten": {},
"Etalagekosten": {},
"Exportkosten": {},
"Kascorrecties": {},
"Overige verkoopkosten": {},
"Provisie": {},
"Reclame": {},
"Reis en verblijfkosten": {},
"Relatiegeschenken": {},
"Representatiekosten": {},
"Uitgaande vrachten": {},
"Veilingkosten": {},
"Verpakkingsmateriaal 1": {},
"Websitekosten": {}
},
"VERVOERSKOSTEN": {
"Assuranties auto's": {},
"Brandstoffen": {},
"Leasing auto's": {},
"Onderhoud personenauto's": {},
"Onderhoud vrachtauto's": {},
"Overige vervoerskosten": {},
"Priv\u00e9-gebruik auto's": {},
"Wegenbelasting": {}
},
"root_type": "Expense"
},
"TUSSENREKENINGEN": {
"Betaalwijze cadeaubonnen": {
"account_type": "Cash"
},
"Betaalwijze chipknip": {
"account_type": "Cash"
},
"Betaalwijze contant": {
"account_type": "Cash"
},
"Betaalwijze pin": {
"account_type": "Cash"
},
"Inkopen Nederland hoog": {
"account_type": "Cash"
},
"Inkopen Nederland laag": {
"account_type": "Cash"
},
"Inkopen Nederland onbelast": {
"account_type": "Cash"
},
"Inkopen Nederland overig": {
"account_type": "Cash"
},
"Inkopen Nederland verlegd": {
"account_type": "Cash"
},
"Inkopen binnen EU hoog": {
"account_type": "Cash"
},
"Inkopen binnen EU laag": {
"account_type": "Cash"
},
"Inkopen binnen EU overig": {
"account_type": "Cash"
},
"Inkopen buiten EU hoog": {
"account_type": "Cash"
},
"Inkopen buiten EU laag": {
"account_type": "Cash"
},
"Inkopen buiten EU overig": {
"account_type": "Cash"
},
"Kassa 1": {
"account_type": "Cash"
},
"Kassa 2": {
"account_type": "Cash"
},
"Netto lonen": {
"account_type": "Cash"
},
"Tegenrekening Inkopen": {
"account_type": "Cash"
},
"Tussenrek. autom. betalingen": {
"account_type": "Cash"
},
"Tussenrek. autom. loonbetalingen": {
"account_type": "Cash"
},
"Tussenrek. cadeaubonbetalingen": {
"account_type": "Cash"
},
"Tussenrekening balans": {
"account_type": "Cash"
},
"Tussenrekening chipknip": {
"account_type": "Cash"
},
"Tussenrekening correcties": {
"account_type": "Cash"
},
"Tussenrekening pin": {
"account_type": "Cash"
},
"Vraagposten": {
"account_type": "Cash"
},
"root_type": "Asset"
},
"VASTE ACTIVA, EIGEN VERMOGEN, LANGLOPEND VREEMD VERMOGEN EN VOORZIENINGEN": {
"EIGEN VERMOGEN": {
"Aandelenkapitaal": {
"account_type": "Equity"
},
"Assuranties": {
"account_type": "Equity"
},
"Buitengewone lasten": {
"account_type": "Equity"
},
"Giften": {
"account_type": "Equity"
},
"Huishoudgeld": {
"account_type": "Equity"
},
"Inkomstenbelasting": {
"account_type": "Equity"
},
"Kapitaal": {
"account_type": "Equity"
},
"Overige persoonlijke verplichtingen": {
"account_type": "Equity"
},
"Overige priv\u00e9-uitgaven": {
"account_type": "Equity"
},
"Overige reserves": {
"account_type": "Equity"
},
"Premie lijfrenteverzekeringen": {
"account_type": "Equity"
},
"Premie volksverzekeringen": {
"account_type": "Equity"
},
"Priv\u00e9-gebruik": {
"account_type": "Equity"
},
"Priv\u00e9-opnamen/stortingen": {
"account_type": "Equity"
},
"Vermogensbelasting": {
"account_type": "Equity"
},
"WAO en ziekengeldverzekeringen": {
"account_type": "Equity"
},
"Wettelijke reserves": {
"account_type": "Equity"
}
},
"FINANCIELE VASTE ACTIVA EN LANGLOPENDE VORDERINGEN": {
"FINANCIELE VASTE ACTIVA": {
"Aandeel inkoopcombinatie": {},
"Meerderheidsdeelnemingen": {},
"Minderheidsdeelnemingen": {}
},
"LANGLOPENDE VORDERINGEN": {
"Financieringskosten": {},
"Financieringskosten huurkoop": {},
"Hypotheken u/g 1": {},
"Hypotheken u/g 2": {},
"Hypotheken u/g 3": {},
"Leningen u/g 1": {},
"Leningen u/g 2": {},
"Leningen u/g 3": {},
"Leningen u/g 4": {},
"Leningen u/g 5": {},
"Vorderingen op deelnemingen": {},
"Waarborgsommen": {}
}
},
"IMMATERIELE ACTIVA": {
"Aanschafwaarde Aanloopkosten": {},
"Aanschafwaarde Auteursrechten": {},
"Aanschafwaarde Drankvergunningen": {},
"Aanschafwaarde Goodwill": {},
"Aanschafwaarde Octrooien": {},
"Aanschafwaarde Ontwikkelingskosten": {},
"Aanschafwaarde Tonnagevergunningen": {},
"Aanschafwaarde Vergunningen": {},
"Afschrijving Aanloopkosten": {},
"Afschrijving Auteursrechten": {},
"Afschrijving Drankvergunningen": {},
"Afschrijving Goodwill": {},
"Afschrijving Licenties": {},
"Afschrijving Octrooien": {},
"Afschrijving Ontwikkelingskosten": {},
"Afschrijving Tonnagevergunningen": {},
"Afschrijving Vergunningen": {}
},
"LANGLOPENDE SCHULDEN EN AFLOSSINGEN": {
"AFLOSSINGEN": {
"Huurkoopverplichtingen": {},
"Hypotheek o/g 1": {},
"Hypotheek o/g 2": {},
"Hypotheek o/g 3": {},
"Hypotheek o/g 4": {},
"Hypotheek o/g 5": {},
"Lease-verplichtingen": {}
},
"LANGLOPENDE SCHULDEN": {
"Huurkoopverplichtingen 1": {},
"Hypotheken o/g 1": {},
"Hypotheken o/g 2": {},
"Hypotheken o/g 3": {},
"Hypotheken o/g 4": {},
"Hypotheken o/g 5": {},
"Lease-verplichtingen 1": {},
"Leningen o/g 1": {},
"Leningen o/g 2": {},
"Leningen o/g 3": {},
"Leningen o/g 4": {},
"Leningen o/g 5": {},
"Rekening-courant directie": {}
}
},
"MACHINES EN INVENTARIS": {
"INVENTARIS": {
"Aanschafwaarde Bedrijfsinventaris": {},
"Aanschafwaarde Fabrieksinventaris": {},
"Aanschafwaarde Gereedschappen": {},
"Aanschafwaarde Kantine-inventaris": {},
"Aanschafwaarde Kantoorinventaris": {},
"Aanschafwaarde Kantoormachines": {},
"Aanschafwaarde Magazijninventaris": {},
"Afschrijving Bedrijfsinventaris": {},
"Afschrijving Fabrieksinventaris": {},
"Afschrijving Gereedschappen": {},
"Afschrijving Kantine-inventaris": {},
"Afschrijving Kantoorinventaris": {},
"Afschrijving Kantoormachines": {},
"Afschrijving Magazijninventaris": {},
"account_type": "Stock"
},
"MACHINES": {
"Aanschafwaarde Machines 1": {
"account_type": "Fixed Asset"
},
"Aanschafwaarde Machines 2": {},
"Aanschafwaarde Machines 3": {},
"Aanschafwaarde Machines 4": {},
"Aanschafwaarde Machines 5": {},
"Afschrijving Machines 1": {
"account_type": "Accumulated Depreciation"
},
"Afschrijving Machines 2": {},
"Afschrijving Machines 3": {},
"Afschrijving Machines 4": {},
"Afschrijving Machines 5": {},
"account_type": "Fixed Asset"
}
},
"ONROERENDE GOEDEREN": {
"Aanschafwaarde Aanloopkosten 1": {},
"Aanschafwaarde Bedrijfsgebouwen": {},
"Aanschafwaarde Gebouwen": {},
"Aanschafwaarde Grondverbetering": {},
"Aanschafwaarde Landerijen": {},
"Aanschafwaarde Ondergrond gebouwen": {},
"Aanschafwaarde Pachtersinvesteringen": {},
"Aanschafwaarde Parkeerplaats": {},
"Aanschafwaarde Verbouwingen": {},
"Aanschafwaarde Winkels": {},
"Aanschafwaarde Woon-winkelhuis": {},
"Afschrijving Aanloopkosten 1": {},
"Afschrijving Bedrijfsgebouwen": {},
"Afschrijving Gebouwen": {},
"Afschrijving Grondverbetering": {},
"Afschrijving Pachtersinvesteringen": {},
"Afschrijving Parkeerplaats": {},
"Afschrijving Verbouwingen": {},
"Afschrijving Winkels": {},
"Afschrijving Woon-winkelhuis": {}
},
"VERVOERMIDDELEN": {
"Aanschafwaarde Aanhangwagens": {},
"Aanschafwaarde Heftrucks": {},
"Aanschafwaarde Personenauto's": {},
"Aanschafwaarde Rijwielen en bromfietsen": {},
"Aanschafwaarde Vrachtauto's": {},
"Afschrijving Aanhangwagens": {},
"Afschrijving Heftrucks": {},
"Afschrijving Personenauto's": {},
"Afschrijving Rijwielen en bromfietsen": {},
"Afschrijving Vrachtauto's": {}
},
"VOORZIENINGEN": {
"Assurantie eigen risico": {
"account_type": "Equity"
},
"Backservice pensioenverpl.": {
"account_type": "Equity"
},
"Egalisatierekening WIR": {
"account_type": "Equity"
},
"Egalisatieres. grootonderh.": {
"account_type": "Equity"
},
"Garantieverplichtingen": {
"account_type": "Equity"
},
"Latente belastingverpl.": {
"account_type": "Equity"
},
"Pens.voorz. eigen beheer": {
"account_type": "Equity"
},
"Pensioenverplichtingen": {
"account_type": "Equity"
},
"Stamrechtverplichtingen": {
"account_type": "Equity"
},
"Vervangingsreserve": {
"account_type": "Equity"
},
"Voorziening deelnemingen": {
"account_type": "Equity"
}
},
"root_type": "Asset"
},
"VERKOOPRESULTATEN": {
"Diensten fabric. 0% niet-EU": {},
"Diensten fabricage 0% EU": {},
"Diensten fabricage hoog": {},
"Diensten fabricage laag": {},
"Diensten fabricage overig": {},
"Diensten handel 0% EU": {},
"Diensten handel 0% niet-EU": {},
"Diensten handel hoog tarief": {},
"Diensten handel laag tarief": {},
"Verkopen Fabric. 0% niet-EU": {},
"Verkopen Handel 0% niet-EU": {},
"Verkopen fabric. 0 % EU": {},
"Verkopen fabricage hoog": {},
"Verkopen fabricage laag": {},
"Verkopen fabricage overig": {},
"Verkopen handel 0% EU": {},
"Verkopen handel hoog": {},
"Verkopen handel laag": {},
"Verkopen handel overig": {},
"Verleende Kredietbep. fabricage": {},
"Verleende Kredietbep. handel": {},
"root_type": "Income"
},
"VOORRAAD GEREED PRODUCT EN ONDERHANDEN WERK": {
"Betalingskort. crediteuren": {},
"Garantiekosten": {},
"Hulpmaterialen": {},
"Inkomende vrachten": {
"account_type": "Expenses Included In Valuation"
},
"Inkoop import buiten EU hoog": {},
"Inkoop import buiten EU laag": {},
"Inkoop import buiten EU overig": {},
"Inkoopbonussen": {},
"Inkoopkosten": {},
"Inkoopprovisie": {},
"Inkopen BTW verlegd": {},
"Inkopen EU hoog tarief": {},
"Inkopen EU laag tarief": {},
"Inkopen EU overig": {},
"Inkopen hoog": {},
"Inkopen laag": {},
"Inkopen nul": {},
"Inkopen overig": {},
"Invoerkosten": {},
"Kosten inkoopvereniging": {},
"Kostprijs omzet grondstoffen": {
"account_type": "Cost of Goods Sold"
},
"Kostprijs omzet handelsgoederen": {},
"Onttrekking uitgev.garantie": {},
"Priv\u00e9-gebruik goederen": {},
"Stock aanpassing": {
"account_type": "Stock Adjustment"
},
"Tegenrekening inkoop": {},
"Toev. Voorz. incour. grondst.": {},
"Toevoeging garantieverpl.": {},
"Toevoeging voorz. incour. handelsgoed.": {},
"Uitbesteed werk": {},
"Voorz. Incourourant grondst.": {},
"Voorz.incour. handelsgoed.": {},
"root_type": "Expense"
},
"VOORRAAD GRONDSTOFFEN, HULPMATERIALEN EN HANDELSGOEDEREN": {
"Emballage": {},
"Gereed product 1": {},
"Gereed product 2": {},
"Goederen 1": {},
"Goederen 2": {},
"Goederen in consignatie": {},
"Goederen onderweg": {},
"Grondstoffen 1": {},
"Grondstoffen 2": {},
"Halffabrikaten 1": {},
"Halffabrikaten 2": {},
"Hulpstoffen 1": {},
"Hulpstoffen 2": {},
"Kantoorbenodigdheden": {},
"Onderhanden werk": {},
"Verpakkingsmateriaal": {},
"Zegels": {},
"root_type": "Asset"
}
}
}

View File

@ -28,20 +28,24 @@
}, },
"Petty Cash": { "Petty Cash": {
"account_type": "Cash" "account_type": "Cash"
} },
"account_type": "Cash"
}, },
"Loans and Advances-Assets": { "Loans and Advances-Assets": {
"Prepayments": {} "Prepayments": {}
}, },
"Securities and Deposits": { "Securities and Deposits": {
"Bank Guarantees": {},
"Bank Deposits": {}, "Bank Deposits": {},
"Bank Guarantees": {},
"Rental Deposits": {} "Rental Deposits": {}
}, },
"Stock Assets": { "Stock Assets": {
"All Warehouses": {
"account_type": "Stock", "account_type": "Stock",
"is_group": 1 "is_group": 1
}, },
"account_type": "Stock"
},
"Tax Assets": { "Tax Assets": {
"GST-Input": {} "GST-Input": {}
} }
@ -49,17 +53,39 @@
"Non-current assets": { "Non-current assets": {
"Fixed Assets": { "Fixed Assets": {
"Accumulated Depreciation": { "Accumulated Depreciation": {
"AccDep-Equipment-ICT": {}, "AccDep-Equipment-ICT": {
"AccDep-Furniture and Fixtures": {}, "account_type": "Accumulated Depreciation"
"AccDep-Equipment-Office": {},
"AccDep-Motor Vehicle": {},
"AccDep-Plant and Machinery": {}
}, },
"Equipment-ICT": {}, "AccDep-Equipment-Office": {
"Furniture and Fixtures": {}, "account_type": "Accumulated Depreciation"
"Equipment-Office": {}, },
"Motor Vehicle": {}, "AccDep-Furniture and Fixtures": {
"Plant and Machinery": {} "account_type": "Accumulated Depreciation"
},
"AccDep-Motor Vehicle": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Plant and Machinery": {
"account_type": "Accumulated Depreciation"
},
"account_type": "Accumulated Depreciation"
},
"Equipment-ICT": {
"account_type": "Fixed Asset"
},
"Equipment-Office": {
"account_type": "Fixed Asset"
},
"Furniture and Fixtures": {
"account_type": "Fixed Asset"
},
"Motor Vehicle": {
"account_type": "Fixed Asset"
},
"Plant and Machinery": {
"account_type": "Fixed Asset"
},
"account_type": "Fixed Asset"
}, },
"Non-Fixed Assets": { "Non-Fixed Assets": {
"Goodwill": {}, "Goodwill": {},
@ -80,81 +106,13 @@
}, },
"root_type": "Asset" "root_type": "Asset"
}, },
"Liabilities": {
"Current liabilities": {
"Accounts Payable": {
"Creditors":{
"account_type": "Payable"
}
},
"Duties and Taxes": {
"account_type": "Tax",
"Deferred Tax Liabilities-Current": {},
"GST-Output": {},
"Income Tax Payable": {}
},
"Loans-Current": {
"Amount Owing to Directors": {},
"Bank Overdaft Account": {},
"Secured Loans": {},
"Unsecured Loans": {}
},
"Provision and Accruals": {
"Accruals": {
"Accr-CPF": {},
"Accr-Sundry": {},
"Accr-Withholding Tax": {}
},
"Provisions": {
"Prov-Audit Fee": {},
"Prov-Others": {},
"Prov-Tax Fee": {},
"Prov-Bonus": {
"Prov-Bonus-Executive": {},
"Prov-Bonus-Non Executive": {}
}
}
},
"Sponsorship Funds": {},
"Stock Liabilities": {
"Stock Received But Not Billed": {
"account_type": "Stock Received But Not Billed"
}
}
},
"Non-current liabilities": {
"Deferred Tax Liabilities": {},
"Loans-Non Current": {}
},
"Capital Account": {
"Reserves and Surplus": {},
"Shareholder Funds": {}
},
"root_type": "Liability"
},
"Equity": { "Equity": {
"Share Capital": {},
"Current Year Earnings": {}, "Current Year Earnings": {},
"Proposed Dividends": {}, "Proposed Dividends": {},
"Retained Earnings": {}, "Retained Earnings": {},
"Share Capital": {},
"root_type": "Equity" "root_type": "Equity"
}, },
"Income": {
"Direct Income": {
"Management Income": {},
"Sales Income": {}
},
"Indirect Income": {
"Government Grants": {},
"Interest Income": {
"Current Account Interest Earned": {},
"Fixed Deposit Interest Earned": {}
},
"Other Income": {},
"Service Charges": {}
},
"root_type": "Income"
},
"Expenses": { "Expenses": {
"Expenses-Administrative": { "Expenses-Administrative": {
"Audit Fees": {}, "Audit Fees": {},
@ -201,14 +159,14 @@
"General Expenses": {}, "General Expenses": {},
"Licence Fees": {}, "Licence Fees": {},
"Rental Costs": { "Rental Costs": {
"Rental-Premises": {},
"Rental-Equipment": {}, "Rental-Equipment": {},
"Rental-Premises": {},
"Rental-Storage": {} "Rental-Storage": {}
}, },
"Repairs and Maintenance": { "Repairs and Maintenance": {
"R&M-ICT": {},
"R&M-Building": {}, "R&M-Building": {},
"R&M-Fixtures & Furniture": {}, "R&M-Fixtures & Furniture": {},
"R&M-ICT": {},
"R&M-Office": {}, "R&M-Office": {},
"R&M-Plant & Machinery": {} "R&M-Plant & Machinery": {}
}, },
@ -228,17 +186,30 @@
"Expenses-Other": { "Expenses-Other": {
"Bad Debts Written Off": {}, "Bad Debts Written Off": {},
"Depreciation": { "Depreciation": {
"Dep-ICT Equipment": {}, "Dep-Fixtures & Furniture": {
"Dep-Fixtures & Furniture": {}, "account_type": "Depreciation"
"Dep-Motor Vehicle": {}, },
"Dep-Office Equipment": {}, "Dep-ICT Equipment": {
"Dep-Plant & Machinery": {}, "account_type": "Depreciation"
"Dep-Renovation": {} },
"Dep-Motor Vehicle": {
"account_type": "Depreciation"
},
"Dep-Office Equipment": {
"account_type": "Depreciation"
},
"Dep-Plant & Machinery": {
"account_type": "Depreciation"
},
"Dep-Renovation": {
"account_type": "Depreciation"
},
"account_type": "Depreciation"
}, },
"Donations": {}, "Donations": {},
"Round Off": {}, "Round Off": {},
"Tax Expenses": { "Tax Expenses": {
"Tax Expenses": {} "Tax Expenses 1": {}
} }
}, },
"Expenses-Staff": { "Expenses-Staff": {
@ -252,13 +223,13 @@
"FWL": {}, "FWL": {},
"Incentives": {}, "Incentives": {},
"Medical Expenses": {}, "Medical Expenses": {},
"SDF": {},
"Salaries": { "Salaries": {
"Casual Labour": {}, "Casual Labour": {},
"Salary-Executive": {}, "Salary-Executive": {},
"Salary-Non Executive-Full Time": {}, "Salary-Non Executive-Full Time": {},
"Salary-Non Executive-Part Time": {} "Salary-Non Executive-Part Time": {}
}, },
"SDF": {},
"Security Expenses": {}, "Security Expenses": {},
"Staff Advertising": {}, "Staff Advertising": {},
"Staff Commission Paid": {}, "Staff Commission Paid": {},
@ -268,6 +239,74 @@
"Staff Welfare": {} "Staff Welfare": {}
}, },
"root_type": "Expense" "root_type": "Expense"
},
"Income": {
"Direct Income": {
"Management Income": {},
"Sales Income": {}
},
"Indirect Income": {
"Government Grants": {},
"Interest Income": {
"Current Account Interest Earned": {},
"Fixed Deposit Interest Earned": {}
},
"Other Income": {},
"Service Charges": {}
},
"root_type": "Income"
},
"Liabilities": {
"Capital Account": {
"Reserves and Surplus": {},
"Shareholder Funds": {}
},
"Current liabilities": {
"Accounts Payable": {
"Creditors": {
"account_type": "Payable"
}
},
"Duties and Taxes": {
"Deferred Tax Liabilities-Current": {},
"GST-Output": {},
"Income Tax Payable": {},
"account_type": "Tax"
},
"Loans-Current": {
"Amount Owing to Directors": {},
"Bank Overdaft Account": {},
"Secured Loans": {},
"Unsecured Loans": {}
},
"Provision and Accruals": {
"Accruals": {
"Accr-CPF": {},
"Accr-Sundry": {},
"Accr-Withholding Tax": {}
},
"Provisions": {
"Prov-Audit Fee": {},
"Prov-Bonus": {
"Prov-Bonus-Executive": {},
"Prov-Bonus-Non Executive": {}
},
"Prov-Others": {},
"Prov-Tax Fee": {}
}
},
"Sponsorship Funds": {},
"Stock Liabilities": {
"Stock Received But Not Billed": {
"account_type": "Stock Received But Not Billed"
}
}
},
"Non-current liabilities": {
"Deferred Tax Liabilities": {},
"Loans-Non Current": {}
},
"root_type": "Liability"
} }
} }
} }

View File

@ -28,7 +28,8 @@
}, },
"Petty Cash": { "Petty Cash": {
"account_type": "Cash" "account_type": "Cash"
} },
"account_type": "Cash"
}, },
"Loans and Advances-Assets": { "Loans and Advances-Assets": {
"Prepayments": {} "Prepayments": {}
@ -49,29 +50,73 @@
"Non-current assets": { "Non-current assets": {
"Fixed Assets": { "Fixed Assets": {
"Accumulated Depreciation": { "Accumulated Depreciation": {
"AccDep-Equipment-AV": {}, "AccDep-Equipment-AV": {
"AccDep-Equipment-Bar": {}, "account_type": "Accumulated Depreciation"
"AccDep-Equipment-ICT": {},
"AccDep-Equipment-Electrical": {},
"AccDep-Furniture and Fixtures": {},
"AccDep-Equipment-Kitchen": {},
"AccDep-Equipment-Lighting": {},
"AccDep-Equipment-Office": {},
"AccDep-Motor Vehicle": {},
"AccDep-Plant and Machinery": {},
"AccDep-Renovation": {}
}, },
"Equipment-AV": {}, "AccDep-Equipment-Bar": {
"Equipment-Bar": {}, "account_type": "Accumulated Depreciation"
"Equipment-ICT": {}, },
"Equipment-Electrical": {}, "AccDep-Equipment-ICT": {
"Furniture and Fixtures": {}, "account_type": "Accumulated Depreciation"
"Equipment-Kitchen": {}, },
"Equipment-Lighting": {}, "AccDep-Equipment-Electrical": {
"Equipment-Office": {}, "account_type": "Accumulated Depreciation"
"Motor Vehicle": {}, },
"Plant and Machinery": {}, "AccDep-Furniture and Fixtures": {
"Renovation": {} "account_type": "Accumulated Depreciation"
},
"AccDep-Equipment-Kitchen": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Equipment-Lighting": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Equipment-Office": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Motor Vehicle": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Plant and Machinery": {
"account_type": "Accumulated Depreciation"
},
"AccDep-Renovation": {
"account_type": "Accumulated Depreciation"
}
},
"Equipment-AV": {
"account_type": "Fixed Asset"
},
"Equipment-Bar": {
"account_type": "Fixed Asset"
},
"Equipment-ICT": {
"account_type": "Fixed Asset"
},
"Equipment-Electrical": {
"account_type": "Fixed Asset"
},
"Furniture and Fixtures": {
"account_type": "Fixed Asset"
},
"Equipment-Kitchen": {
"account_type": "Fixed Asset"
},
"Equipment-Lighting": {
"account_type": "Fixed Asset"
},
"Equipment-Office": {
"account_type": "Fixed Asset"
},
"Motor Vehicle": {
"account_type": "Fixed Asset"
},
"Plant and Machinery": {
"account_type": "Fixed Asset"
},
"Renovation": {
"account_type": "Fixed Asset"
}
}, },
"Non-Fixed Assets": { "Non-Fixed Assets": {
"Goodwill": {}, "Goodwill": {},
@ -292,22 +337,46 @@
"Expenses-Other": { "Expenses-Other": {
"Bad Debts Written Off": {}, "Bad Debts Written Off": {},
"Depreciation": { "Depreciation": {
"Dep-AV Equipment": {}, "Dep-AV Equipment": {
"Dep-Bar Equipment": {}, "account_type": "Depreciation"
"Dep-ICT Equipment": {}, },
"Dep-Electrical Equipment": {}, "Dep-Bar Equipment": {
"Dep-Fixtures & Furniture": {}, "account_type": "Depreciation"
"Dep-Kitchen Equipment": {}, },
"Dep-Lighting Equipment": {}, "Dep-ICT Equipment": {
"Dep-Motor Vehicle": {}, "account_type": "Depreciation"
"Dep-Office Equipment": {}, },
"Dep-Plant & Machinery": {}, "Dep-Electrical Equipment": {
"Dep-Renovation": {} "account_type": "Depreciation"
},
"Dep-Fixtures & Furniture": {
"account_type": "Depreciation"
},
"Dep-Kitchen Equipment": {
"account_type": "Depreciation"
},
"Dep-Lighting Equipment": {
"account_type": "Depreciation"
},
"Dep-Motor Vehicle": {
"account_type": "Depreciation"
},
"Dep-Office Equipment": {
"account_type": "Depreciation"
},
"Dep-Plant & Machinery": {
"account_type": "Depreciation"
},
"Dep-Renovation": {
"account_type": "Depreciation"
}
}, },
"Donations": {}, "Donations": {},
"Round Off": {}, "Round Off": {
"account_type": "Round Off"
},
"Tax Expenses": { "Tax Expenses": {
"Tax Expenses": {} "is_group": 1
} }
}, },
"Expenses-Staff": { "Expenses-Staff": {

View File

@ -226,7 +226,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-cog", "icon": "fa fa-cog",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Asset Name", "label": "Asset Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Item Code", "label": "Item Code",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Asset Category", "label": "Asset Category",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +110,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -135,6 +139,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image", "label": "Image",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -162,6 +167,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -188,6 +194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -216,6 +223,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Warehouse", "label": "Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -244,6 +252,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Existing Asset", "label": "Is Existing Asset",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -271,6 +280,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Date", "label": "Purchase Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -298,6 +308,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -326,6 +337,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Invoice", "label": "Purchase Invoice",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -354,6 +366,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Disposal Date", "label": "Disposal Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -381,6 +394,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Journal Entry for Scrap", "label": "Journal Entry for Scrap",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -409,6 +423,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -435,6 +450,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Gross Purchase Amount", "label": "Gross Purchase Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -464,6 +480,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Expected Value After Useful Life", "label": "Expected Value After Useful Life",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -493,6 +510,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Opening Accumulated Depreciation", "label": "Opening Accumulated Depreciation",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -521,6 +539,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Value After Depreciation", "label": "Value After Depreciation",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -549,6 +568,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -577,6 +597,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Depreciation Method", "label": "Depreciation Method",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -605,6 +626,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Number of Depreciations", "label": "Total Number of Depreciations",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -633,6 +655,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Number of Depreciations Booked", "label": "Number of Depreciations Booked",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -660,6 +683,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Frequency of Depreciation (Months)", "label": "Frequency of Depreciation (Months)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -688,6 +712,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Depreciation Date", "label": "Next Depreciation Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -715,6 +740,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Depreciation Schedule", "label": "Depreciation Schedule",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -742,6 +768,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Depreciation Schedules", "label": "Depreciation Schedules",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -770,6 +797,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,

View File

@ -3,16 +3,20 @@
"allow_import": 1, "allow_import": 1,
"allow_rename": 1, "allow_rename": 1,
"autoname": "field:asset_category_name", "autoname": "field:asset_category_name",
"beta": 0,
"creation": "2016-03-01 17:41:39.778765", "creation": "2016-03-01 17:41:39.778765",
"custom": 0, "custom": 0,
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Document", "document_type": "Document",
"editable_grid": 0,
"engine": "InnoDB",
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "asset_category_name", "fieldname": "asset_category_name",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 0, "hidden": 0,
@ -20,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Asset Category Name", "label": "Asset Category Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -28,6 +33,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -38,6 +44,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"default": "Straight Line", "default": "Straight Line",
"fieldname": "depreciation_method", "fieldname": "depreciation_method",
"fieldtype": "Select", "fieldtype": "Select",
@ -46,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Depreciation Method", "label": "Depreciation Method",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -55,6 +63,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -65,6 +74,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "column_break_3", "fieldname": "column_break_3",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"hidden": 0, "hidden": 0,
@ -72,6 +82,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -79,6 +90,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -89,6 +101,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "total_number_of_depreciations", "fieldname": "total_number_of_depreciations",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 0, "hidden": 0,
@ -96,6 +109,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Number of Depreciations", "label": "Total Number of Depreciations",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -104,6 +118,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -114,6 +129,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "frequency_of_depreciation", "fieldname": "frequency_of_depreciation",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 0, "hidden": 0,
@ -121,6 +137,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Frequency of Depreciation (Months)", "label": "Frequency of Depreciation (Months)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -129,6 +146,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -139,6 +157,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "section_break_2", "fieldname": "section_break_2",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 0, "hidden": 0,
@ -146,6 +165,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounts", "label": "Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -154,6 +174,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -164,6 +185,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "accounts", "fieldname": "accounts",
"fieldtype": "Table", "fieldtype": "Table",
"hidden": 0, "hidden": 0,
@ -171,6 +193,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounts", "label": "Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -180,6 +203,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -190,13 +214,14 @@
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"idx": 0, "idx": 0,
"image_view": 0,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,
"is_submittable": 0, "is_submittable": 0,
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-04-20 13:23:09.890324", "modified": "2016-11-07 05:49:42.600981",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Asset Category", "name": "Asset Category",
@ -213,6 +238,7 @@
"export": 1, "export": 1,
"if_owner": 0, "if_owner": 0,
"import": 1, "import": 1,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -233,6 +259,7 @@
"export": 1, "export": 1,
"if_owner": 0, "if_owner": 0,
"import": 1, "import": 1,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Asset", "label": "Asset",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Transaction Date", "label": "Transaction Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -106,6 +109,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -132,6 +136,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Source Warehouse", "label": "Source Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -160,6 +165,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Target Warehouse", "label": "Target Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -188,6 +194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -214,7 +221,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:13:55.990844", "modified": "2016-11-07 05:49:47.558549",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Asset Movement", "name": "Asset Movement",

View File

@ -15,7 +15,7 @@ frappe.ui.form.on("Bank Reconciliation", {
frm.set_query("bank_account", function() { frm.set_query("bank_account", function() {
return { return {
"filters": { "filters": {
"account_type": "Bank", "account_type": ["in",["Bank","Cash"]],
"is_group": 0 "is_group": 0
} }
}; };

View File

@ -234,7 +234,7 @@
], ],
"hide_heading": 1, "hide_heading": 1,
"hide_toolbar": 1, "hide_toolbar": 1,
"icon": "icon-check", "icon": "fa fa-check",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,

View File

@ -11,6 +11,14 @@ frappe.ui.form.on('Budget', {
} }
}) })
frm.set_query("project", function() {
return {
filters: {
company: frm.doc.company
}
}
})
frm.set_query("account", "accounts", function() { frm.set_query("account", "accounts", function() {
return { return {
filters: { filters: {
@ -28,5 +36,18 @@ frappe.ui.form.on('Budget', {
} }
} }
}) })
},
refresh: function(frm) {
frm.trigger("toggle_reqd_fields")
},
budget_against: function(frm) {
frm.trigger("toggle_reqd_fields")
},
toggle_reqd_fields: function(frm) {
frm.toggle_reqd("cost_center", frm.doc.budget_against=="Cost Center");
frm.toggle_reqd("project", frm.doc.budget_against=="Project");
} }
}); });

View File

@ -15,45 +15,19 @@
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0, "columns": 0,
"fieldname": "cost_center", "default": "Cost Center",
"fieldtype": "Link", "fieldname": "budget_against",
"fieldtype": "Select",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"label": "Cost Center", "in_standard_filter": 1,
"label": "Budget Against",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "Cost Center", "options": "\nCost Center\nProject",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "fiscal_year",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "Fiscal Year",
"length": 0,
"no_copy": 0,
"options": "Fiscal Year",
"permlevel": 0, "permlevel": 0,
"precision": "", "precision": "",
"print_hide": 0, "print_hide": 0,
@ -78,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -87,7 +62,96 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 1, "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"depends_on": "eval:doc.budget_against == 'Cost Center'",
"fieldname": "cost_center",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"in_standard_filter": 1,
"label": "Cost Center",
"length": 0,
"no_copy": 0,
"options": "Cost Center",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"depends_on": "eval:doc.budget_against == 'Project'",
"fieldname": "project",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"in_standard_filter": 1,
"label": "Project",
"length": 0,
"no_copy": 0,
"options": "Project",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "fiscal_year",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"in_standard_filter": 1,
"label": "Fiscal Year",
"length": 0,
"no_copy": 0,
"options": "Fiscal Year",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -106,6 +170,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -133,6 +198,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Action if Annual Budget Exceeded", "label": "Action if Annual Budget Exceeded",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -163,6 +229,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Action if Accumulated Monthly Budget Exceeded", "label": "Action if Accumulated Monthly Budget Exceeded",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -192,6 +259,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Monthly Distribution", "label": "Monthly Distribution",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -220,6 +288,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -247,6 +316,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -273,6 +343,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Budget Accounts", "label": "Budget Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -300,7 +371,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:14:19.113302", "modified": "2016-12-15 14:45:31.079107",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Budget", "name": "Budget",

View File

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt # For license information, please see license.txt
@ -14,19 +14,24 @@ class DuplicateBudgetError(frappe.ValidationError): pass
class Budget(Document): class Budget(Document):
def autoname(self): def autoname(self):
self.name = make_autoname(self.cost_center + "/" + self.fiscal_year + "/.###") self.name = make_autoname(self.get(frappe.scrub(self.budget_against))
+ "/" + self.fiscal_year + "/.###")
def validate(self): def validate(self):
if not self.get(frappe.scrub(self.budget_against)):
frappe.throw(_("{0} is mandatory").format(self.budget_against))
self.validate_duplicate() self.validate_duplicate()
self.validate_accounts() self.validate_accounts()
def validate_duplicate(self): def validate_duplicate(self):
existing_budget = frappe.db.get_value("Budget", {"cost_center": self.cost_center, budget_against_field = frappe.scrub(self.budget_against)
budget_against = self.get(budget_against_field)
existing_budget = frappe.db.get_value("Budget", {budget_against_field: budget_against,
"fiscal_year": self.fiscal_year, "company": self.company, "fiscal_year": self.fiscal_year, "company": self.company,
"name": ["!=", self.name], "docstatus": ["!=", 2]}) "name": ["!=", self.name], "docstatus": ["!=", 2]})
if existing_budget: if existing_budget:
frappe.throw(_("Another Budget record {0} already exists against {1} for fiscal year {2}") frappe.throw(_("Another Budget record '{0}' already exists against {1} '{2}' for fiscal year {3}")
.format(existing_budget, self.cost_center, self.fiscal_year), DuplicateBudgetError) .format(existing_budget, self.budget_against, budget_against, self.fiscal_year), DuplicateBudgetError)
def validate_accounts(self): def validate_accounts(self):
account_list = [] account_list = []
@ -51,21 +56,42 @@ class Budget(Document):
def validate_expense_against_budget(args): def validate_expense_against_budget(args):
args = frappe._dict(args) args = frappe._dict(args)
if not args.cost_center: if not args.cost_center and not args.project:
return return
for budget_against in [args.project, args.cost_center]:
if budget_against \
and frappe.db.get_value("Account", {"name": args.account, "root_type": "Expense"}):
if frappe.db.get_value("Account", {"name": args.account, "root_type": "Expense"}): if args.project:
condition = "and exists(select name from `tabProject` where name=b.project)"
args.budget_against_field = "Project"
elif args.cost_center:
cc_lft, cc_rgt = frappe.db.get_value("Cost Center", args.cost_center, ["lft", "rgt"]) cc_lft, cc_rgt = frappe.db.get_value("Cost Center", args.cost_center, ["lft", "rgt"])
condition = """and exists(select name from `tabCost Center`
where lft<=%s and rgt>=%s and name=b.cost_center)""" % (cc_lft, cc_rgt)
args.budget_against_field = "Cost Center"
args.budget_against = budget_against
budget_records = frappe.db.sql(""" budget_records = frappe.db.sql("""
select ba.budget_amount, b.monthly_distribution, b.cost_center, select
b.action_if_annual_budget_exceeded, b.action_if_accumulated_monthly_budget_exceeded b.{budget_against_field}, ba.budget_amount, b.monthly_distribution,
from `tabBudget` b, `tabBudget Account` ba b.action_if_annual_budget_exceeded,
b.action_if_accumulated_monthly_budget_exceeded
from
`tabBudget` b, `tabBudget Account` ba
where where
b.name=ba.parent and b.fiscal_year=%s and ba.account=%s and b.docstatus=1 b.name=ba.parent and b.fiscal_year=%s
and exists(select name from `tabCost Center` where lft<=%s and rgt>=%s and name=b.cost_center) and ba.account=%s and b.docstatus=1
""", (args.fiscal_year, args.account, cc_lft, cc_rgt), as_dict=True) {condition}
""".format(condition=condition,
budget_against_field=frappe.scrub(args.get("budget_against_field"))),
(args.fiscal_year, args.account), as_dict=True)
validate_budget_records(args, budget_records)
def validate_budget_records(args, budget_records):
for budget in budget_records: for budget in budget_records:
if budget.budget_amount: if budget.budget_amount:
yearly_action = budget.action_if_annual_budget_exceeded yearly_action = budget.action_if_annual_budget_exceeded
@ -74,33 +100,60 @@ def validate_expense_against_budget(args):
if monthly_action in ["Stop", "Warn"]: if monthly_action in ["Stop", "Warn"]:
budget_amount = get_accumulated_monthly_budget(budget.monthly_distribution, budget_amount = get_accumulated_monthly_budget(budget.monthly_distribution,
args.posting_date, args.fiscal_year, budget.budget_amount) args.posting_date, args.fiscal_year, budget.budget_amount)
args["month_end_date"] = get_last_day(args.posting_date) args["month_end_date"] = get_last_day(args.posting_date)
compare_expense_with_budget(args, budget.cost_center, compare_expense_with_budget(args, budget_amount,
budget_amount, _("Accumulated Monthly"), monthly_action) _("Accumulated Monthly"), monthly_action)
if yearly_action in ("Stop", "Warn") and monthly_action != "Stop" \ if yearly_action in ("Stop", "Warn") and monthly_action != "Stop" \
and yearly_action != monthly_action: and yearly_action != monthly_action:
compare_expense_with_budget(args, budget.cost_center, compare_expense_with_budget(args, flt(budget.budget_amount),
flt(budget.budget_amount), _("Annual"), yearly_action) _("Annual"), yearly_action)
def compare_expense_with_budget(args, cost_center, budget_amount, action_for, action):
actual_expense = get_actual_expense(args, cost_center) def compare_expense_with_budget(args, budget_amount, action_for, action):
actual_expense = get_actual_expense(args)
if actual_expense > budget_amount: if actual_expense > budget_amount:
diff = actual_expense - budget_amount diff = actual_expense - budget_amount
currency = frappe.db.get_value('Company', frappe.db.get_value('Cost Center', currency = frappe.db.get_value('Company', args.company, 'default_currency')
cost_center, 'company'), 'default_currency')
msg = _("{0} Budget for Account {1} against Cost Center {2} is {3}. It will exceed by {4}").format(_(action_for), msg = _("{0} Budget for Account {1} against {2} {3} is {4}. It will exceed by {5}").format(
frappe.bold(args.account), frappe.bold(cost_center), _(action_for), frappe.bold(args.account), args.budget_against_field,
frappe.bold(fmt_money(budget_amount, currency=currency)), frappe.bold(fmt_money(diff, currency=currency))) frappe.bold(args.budget_against),
frappe.bold(fmt_money(budget_amount, currency=currency)),
frappe.bold(fmt_money(diff, currency=currency)))
if action=="Stop": if action=="Stop":
frappe.throw(msg, BudgetError) frappe.throw(msg, BudgetError)
else: else:
frappe.msgprint(msg, indicator='orange') frappe.msgprint(msg, indicator='orange')
def get_actual_expense(args):
condition1 = " and gle.posting_date <= %(month_end_date)s" \
if args.get("month_end_date") else ""
if args.budget_against_field == "Cost Center":
lft_rgt = frappe.db.get_value(args.budget_against_field,
args.budget_against, ["lft", "rgt"], as_dict=1)
args.update(lft_rgt)
condition2 = """and exists(select name from `tabCost Center`
where lft>=%(lft)s and rgt<=%(rgt)s and name=gle.cost_center)"""
elif args.budget_against_field == "Project":
condition2 = "and exists(select name from `tabProject` where name=gle.project)"
return flt(frappe.db.sql("""
select sum(gle.debit) - sum(gle.credit)
from `tabGL Entry` gle
where gle.account=%(account)s
{condition1}
and gle.fiscal_year=%(fiscal_year)s
and gle.company=%(company)s
and gle.docstatus=1
{condition2}
""".format(condition1=condition1, condition2=condition2), (args))[0][0])
def get_accumulated_monthly_budget(monthly_distribution, posting_date, fiscal_year, annual_budget): def get_accumulated_monthly_budget(monthly_distribution, posting_date, fiscal_year, annual_budget):
distribution = {} distribution = {}
if monthly_distribution: if monthly_distribution:
@ -121,21 +174,3 @@ def get_accumulated_monthly_budget(monthly_distribution, posting_date, fiscal_ye
dt = add_months(dt, 1) dt = add_months(dt, 1)
return annual_budget * accumulated_percentage / 100 return annual_budget * accumulated_percentage / 100
def get_actual_expense(args, cost_center):
lft_rgt = frappe.db.get_value("Cost Center", cost_center, ["lft", "rgt"], as_dict=1)
args.update(lft_rgt)
condition = " and gle.posting_date <= %(month_end_date)s" if args.get("month_end_date") else ""
return flt(frappe.db.sql("""
select sum(gle.debit) - sum(gle.credit)
from `tabGL Entry` gle
where gle.account=%(account)s
and exists(select name from `tabCost Center`
where lft>=%(lft)s and rgt<=%(rgt)s and name=gle.cost_center)
and gle.fiscal_year=%(fiscal_year)s
and gle.company=%(company)s
and gle.docstatus=1
{condition}
""".format(condition=condition), (args))[0][0])

View File

@ -10,9 +10,9 @@ from erpnext.accounts.doctype.journal_entry.test_journal_entry import make_journ
class TestBudget(unittest.TestCase): class TestBudget(unittest.TestCase):
def test_monthly_budget_crossed_ignore(self): def test_monthly_budget_crossed_ignore(self):
set_total_expense_zero("2013-02-28") set_total_expense_zero("2013-02-28", "Cost Center")
budget = make_budget() budget = make_budget("Cost Center")
jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC", jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 40000, "_Test Cost Center - _TC", submit=True) "_Test Bank - _TC", 40000, "_Test Cost Center - _TC", submit=True)
@ -22,10 +22,10 @@ class TestBudget(unittest.TestCase):
budget.cancel() budget.cancel()
def test_monthly_budget_crossed_stop(self): def test_monthly_budget_crossed_stop1(self):
set_total_expense_zero("2013-02-28") set_total_expense_zero("2013-02-28", "Cost Center")
budget = make_budget() budget = make_budget("Cost Center")
frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop") frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop")
@ -37,10 +37,25 @@ class TestBudget(unittest.TestCase):
budget.load_from_db() budget.load_from_db()
budget.cancel() budget.cancel()
def test_yearly_budget_crossed_stop(self): def test_monthly_budget_crossed_stop2(self):
set_total_expense_zero("2013-02-28") set_total_expense_zero("2013-02-28", "Project")
budget = make_budget() budget = make_budget("Project")
frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop")
jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 40000, "_Test Cost Center - _TC", project="_Test Project")
self.assertRaises(BudgetError, jv.submit)
budget.load_from_db()
budget.cancel()
def test_yearly_budget_crossed_stop1(self):
set_total_expense_zero("2013-02-28", "Cost Center")
budget = make_budget("Cost Center")
jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC", jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 150000, "_Test Cost Center - _TC") "_Test Bank - _TC", 150000, "_Test Cost Center - _TC")
@ -49,10 +64,22 @@ class TestBudget(unittest.TestCase):
budget.cancel() budget.cancel()
def test_monthly_budget_on_cancellation(self): def test_yearly_budget_crossed_stop2(self):
set_total_expense_zero("2013-02-28") set_total_expense_zero("2013-02-28", "Project")
budget = make_budget() budget = make_budget("Project")
jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 150000, "_Test Cost Center - _TC", project="_Test Project")
self.assertRaises(BudgetError, jv.submit)
budget.cancel()
def test_monthly_budget_on_cancellation1(self):
set_total_expense_zero("2013-02-28", "Cost Center")
budget = make_budget("Cost Center")
jv1 = make_journal_entry("_Test Account Cost for Goods Sold - _TC", jv1 = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 20000, "_Test Cost Center - _TC", submit=True) "_Test Bank - _TC", 20000, "_Test Cost Center - _TC", submit=True)
@ -73,11 +100,36 @@ class TestBudget(unittest.TestCase):
budget.load_from_db() budget.load_from_db()
budget.cancel() budget.cancel()
def test_monthly_budget_against_group_cost_center(self): def test_monthly_budget_on_cancellation2(self):
set_total_expense_zero("2013-02-28") set_total_expense_zero("2013-02-28", "Project")
set_total_expense_zero("2013-02-28", "_Test Cost Center 2 - _TC")
budget = make_budget("_Test Company - _TC") budget = make_budget("Project")
jv1 = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 20000, "_Test Cost Center - _TC", submit=True, project="_Test Project")
self.assertTrue(frappe.db.get_value("GL Entry",
{"voucher_type": "Journal Entry", "voucher_no": jv1.name}))
jv2 = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", 20000, "_Test Cost Center - _TC", submit=True, project="_Test Project")
self.assertTrue(frappe.db.get_value("GL Entry",
{"voucher_type": "Journal Entry", "voucher_no": jv2.name}))
frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop")
self.assertRaises(BudgetError, jv1.cancel)
budget.load_from_db()
budget.cancel()
def test_monthly_budget_against_group_cost_center(self):
set_total_expense_zero("2013-02-28", "Cost Center")
set_total_expense_zero("2013-02-28", "Cost Center", "_Test Cost Center 2 - _TC")
budget = make_budget("Cost Center", "_Test Company - _TC")
frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop") frappe.db.set_value("Budget", budget.name, "action_if_accumulated_monthly_budget_exceeded", "Stop")
jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC", jv = make_journal_entry("_Test Account Cost for Goods Sold - _TC",
@ -88,27 +140,52 @@ class TestBudget(unittest.TestCase):
budget.load_from_db() budget.load_from_db()
budget.cancel() budget.cancel()
def set_total_expense_zero(posting_date, cost_center=None): def set_total_expense_zero(posting_date, budget_against_field=None, budget_against_CC=None):
existing_expense = get_actual_expense({ if budget_against_field == "Project":
budget_against = "_Test Project"
else:
budget_against = budget_against_CC or "_Test Cost Center - _TC"
existing_expense = get_actual_expense(frappe._dict({
"account": "_Test Account Cost for Goods Sold - _TC", "account": "_Test Account Cost for Goods Sold - _TC",
"cost_center": cost_center or "_Test Cost Center - _TC", "cost_center": "_Test Cost Center - _TC",
"monthly_end_date": posting_date, "monthly_end_date": posting_date,
"company": "_Test Company", "company": "_Test Company",
"fiscal_year": "_Test Fiscal Year 2013" "fiscal_year": "_Test Fiscal Year 2013",
}, cost_center or "_Test Cost Center - _TC") "budget_against_field": budget_against_field,
"budget_against": budget_against
}))
if existing_expense:
if budget_against_field == "Cost Center":
make_journal_entry("_Test Account Cost for Goods Sold - _TC", make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", -existing_expense, "_Test Cost Center - _TC", submit=True) "_Test Bank - _TC", -existing_expense, "_Test Cost Center - _TC", submit=True)
elif budget_against_field == "Project":
make_journal_entry("_Test Account Cost for Goods Sold - _TC",
"_Test Bank - _TC", -existing_expense, "_Test Cost Center - _TC", submit=True, project="_Test Project")
def make_budget(budget_against=None, cost_center=None):
if budget_against == "Project":
budget_list = frappe.get_all("Budget", fields=["name"], filters = {"name": ("like", "_Test Project/_Test Fiscal Year 2013%")})
else:
budget_list = frappe.get_all("Budget", fields=["name"], filters = {"name": ("like", "_Test Cost Center - _TC/_Test Fiscal Year 2013%")})
for d in budget_list:
frappe.db.sql("delete from `tabBudget` where name = %(name)s", d)
frappe.db.sql("delete from `tabBudget Account` where parent = %(name)s", d)
def make_budget(cost_center=None):
budget = frappe.new_doc("Budget") budget = frappe.new_doc("Budget")
budget.cost_center = cost_center or "_Test Cost Center - _TC"
if budget_against == "Project":
budget.project = "_Test Project"
else:
budget.cost_center =cost_center or "_Test Cost Center - _TC"
budget.fiscal_year = "_Test Fiscal Year 2013" budget.fiscal_year = "_Test Fiscal Year 2013"
budget.monthly_distribution = "_Test Distribution" budget.monthly_distribution = "_Test Distribution"
budget.company = "_Test Company" budget.company = "_Test Company"
budget.action_if_annual_budget_exceeded = "Stop" budget.action_if_annual_budget_exceeded = "Stop"
budget.action_if_accumulated_monthly_budget_exceeded = "Ignore" budget.action_if_accumulated_monthly_budget_exceeded = "Ignore"
budget.budget_against = budget_against
budget.append("accounts", { budget.append("accounts", {
"account": "_Test Account Cost for Goods Sold - _TC", "account": "_Test Account Cost for Goods Sold - _TC",
"budget_amount": 100000 "budget_amount": 100000

View File

@ -22,6 +22,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -49,6 +50,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -76,6 +78,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "C-Form No", "label": "C-Form No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -102,6 +105,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Received Date", "label": "Received Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -128,6 +132,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -155,6 +160,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -182,6 +188,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -209,6 +216,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Quarter", "label": "Quarter",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -236,6 +244,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Amount", "label": "Total Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -263,6 +272,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "State", "label": "State",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -289,6 +299,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -314,6 +325,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Invoices", "label": "Invoices",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -341,6 +353,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Invoiced Amount", "label": "Total Invoiced Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -368,6 +381,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -386,7 +400,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-file-text", "icon": "fa fa-file-text",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -395,7 +409,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 3, "max_attachments": 3,
"modified": "2016-11-03 15:50:37.408315", "modified": "2016-11-07 05:51:03.273512",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "C-Form", "name": "C-Form",

View File

@ -50,11 +50,11 @@ cur_frm.cscript.parent_cost_center = function(doc, cdt, cdn) {
cur_frm.cscript.hide_unhide_group_ledger = function(doc) { cur_frm.cscript.hide_unhide_group_ledger = function(doc) {
if (doc.is_group == 1) { if (doc.is_group == 1) {
cur_frm.add_custom_button(__('Convert to Non-Group'), cur_frm.add_custom_button(__('Convert to Non-Group'),
function() { cur_frm.cscript.convert_to_ledger(); }, "icon-retweet", function() { cur_frm.cscript.convert_to_ledger(); }, "fa fa-retweet",
"btn-default") "btn-default")
} else if (doc.is_group == 0) { } else if (doc.is_group == 0) {
cur_frm.add_custom_button(__('Convert to Group'), cur_frm.add_custom_button(__('Convert to Group'),
function() { cur_frm.cscript.convert_to_group(); }, "icon-retweet", function() { cur_frm.cscript.convert_to_group(); }, "fa fa-retweet",
"btn-default") "btn-default")
} }
} }

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Cost Center Name", "label": "Cost Center Name",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Parent Cost Center", "label": "Parent Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +110,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -136,6 +140,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -163,6 +168,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Group", "label": "Is Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -190,6 +196,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "lft", "label": "lft",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -218,6 +225,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "rgt", "label": "rgt",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -246,6 +254,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "old_parent", "label": "old_parent",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -266,7 +275,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-money", "icon": "fa fa-money",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 1, "in_create": 1,
@ -276,7 +285,7 @@
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": 0, "menu_index": 0,
"modified": "2016-11-03 15:50:55.467294", "modified": "2016-11-07 05:20:40.282432",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Cost Center", "name": "Cost Center",

View File

@ -15,7 +15,7 @@ $.extend(cur_frm.cscript, {
if (!doc.__islocal && (doc.name != sys_defaults.fiscal_year)) { if (!doc.__islocal && (doc.name != sys_defaults.fiscal_year)) {
this.frm.add_custom_button(__("Default"), this.frm.add_custom_button(__("Default"),
this.frm.cscript.set_as_default, "icon-star"); this.frm.cscript.set_as_default, "fa fa-star");
this.frm.set_intro(__("To set this Fiscal Year as Default, click on 'Set as Default'")); this.frm.set_intro(__("To set this Fiscal Year as Default, click on 'Set as Default'"));
} else { } else {
this.frm.set_intro(""); this.frm.set_intro("");

View File

@ -131,7 +131,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-calendar", "icon": "fa fa-calendar",
"idx": 1, "idx": 1,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,

View File

@ -8,11 +8,14 @@
"custom": 0, "custom": 0,
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Document",
"editable_grid": 0,
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"hidden": 0, "hidden": 0,
@ -20,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Posting Date", "label": "Posting Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -29,6 +33,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -39,6 +44,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "transaction_date", "fieldname": "transaction_date",
"fieldtype": "Date", "fieldtype": "Date",
"hidden": 0, "hidden": 0,
@ -46,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Transaction Date", "label": "Transaction Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -55,6 +62,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -65,6 +73,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "account", "fieldname": "account",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -72,6 +81,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Account", "label": "Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -82,6 +92,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -92,6 +103,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "party_type", "fieldname": "party_type",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -99,6 +111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Party Type", "label": "Party Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +120,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -117,6 +131,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "party", "fieldname": "party",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"hidden": 0, "hidden": 0,
@ -124,6 +139,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Party", "label": "Party",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -132,6 +148,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -142,6 +159,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "cost_center", "fieldname": "cost_center",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -149,6 +167,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Cost Center", "label": "Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -159,6 +178,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -169,6 +189,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "debit", "fieldname": "debit",
"fieldtype": "Currency", "fieldtype": "Currency",
"hidden": 0, "hidden": 0,
@ -176,6 +197,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Debit Amount", "label": "Debit Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -187,6 +209,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -197,6 +220,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "credit", "fieldname": "credit",
"fieldtype": "Currency", "fieldtype": "Currency",
"hidden": 0, "hidden": 0,
@ -204,6 +228,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit Amount", "label": "Credit Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -215,6 +240,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -225,6 +251,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "account_currency", "fieldname": "account_currency",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -232,6 +259,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Currency", "label": "Account Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -241,6 +269,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -251,6 +280,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "debit_in_account_currency", "fieldname": "debit_in_account_currency",
"fieldtype": "Currency", "fieldtype": "Currency",
"hidden": 0, "hidden": 0,
@ -258,6 +288,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Debit Amount in Account Currency", "label": "Debit Amount in Account Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -267,6 +298,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -277,6 +309,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "credit_in_account_currency", "fieldname": "credit_in_account_currency",
"fieldtype": "Currency", "fieldtype": "Currency",
"hidden": 0, "hidden": 0,
@ -284,6 +317,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit Amount in Account Currency", "label": "Credit Amount in Account Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -293,6 +327,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -303,6 +338,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "against", "fieldname": "against",
"fieldtype": "Text", "fieldtype": "Text",
"hidden": 0, "hidden": 0,
@ -310,6 +346,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Against", "label": "Against",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -319,6 +356,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -329,6 +367,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "against_voucher_type", "fieldname": "against_voucher_type",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -336,6 +375,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Against Voucher Type", "label": "Against Voucher Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -346,6 +386,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -356,6 +397,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "against_voucher", "fieldname": "against_voucher",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"hidden": 0, "hidden": 0,
@ -363,6 +405,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Against Voucher", "label": "Against Voucher",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -373,6 +416,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -383,6 +427,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "voucher_type", "fieldname": "voucher_type",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -390,6 +435,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Voucher Type", "label": "Voucher Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -400,6 +446,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -410,6 +457,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "voucher_no", "fieldname": "voucher_no",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"hidden": 0, "hidden": 0,
@ -417,6 +465,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Voucher No", "label": "Voucher No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -427,6 +476,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -437,6 +487,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -444,6 +495,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Project", "label": "Project",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -453,6 +505,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -463,6 +516,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "remarks", "fieldname": "remarks",
"fieldtype": "Text", "fieldtype": "Text",
"hidden": 0, "hidden": 0,
@ -470,6 +524,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Remarks", "label": "Remarks",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -479,6 +534,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -489,6 +545,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "is_opening", "fieldname": "is_opening",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 0, "hidden": 0,
@ -496,6 +553,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Opening", "label": "Is Opening",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -506,6 +564,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -516,6 +575,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "is_advance", "fieldname": "is_advance",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 0, "hidden": 0,
@ -523,6 +583,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Advance", "label": "Is Advance",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -533,6 +594,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -543,6 +605,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "fiscal_year", "fieldname": "fiscal_year",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -550,6 +613,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Fiscal Year", "label": "Fiscal Year",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -560,6 +624,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -570,6 +635,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -577,6 +643,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -587,6 +654,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -596,15 +664,16 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-list", "icon": "fa fa-list",
"idx": 1, "idx": 1,
"image_view": 0,
"in_create": 1, "in_create": 1,
"in_dialog": 0, "in_dialog": 0,
"is_submittable": 0, "is_submittable": 0,
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-05-26 16:22:03.094536", "modified": "2016-12-15 14:44:41.098790",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "GL Entry", "name": "GL Entry",
@ -620,6 +689,7 @@
"export": 1, "export": 1,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -640,6 +710,7 @@
"export": 1, "export": 1,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -660,6 +731,7 @@
"export": 1, "export": 1,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 0, "print": 0,
"read": 1, "read": 1,

View File

@ -20,7 +20,7 @@ frappe.ui.form.on("Journal Entry", {
group_by_voucher: 0 group_by_voucher: 0
}; };
frappe.set_route("query-report", "General Ledger"); frappe.set_route("query-report", "General Ledger");
}, "icon-table"); }, "fa fa-table");
} }
if (frm.doc.__islocal) { if (frm.doc.__islocal) {
@ -35,6 +35,14 @@ frappe.ui.form.on("Journal Entry", {
multi_currency: function(frm) { multi_currency: function(frm) {
erpnext.journal_entry.toggle_fields_based_on_currency(frm); erpnext.journal_entry.toggle_fields_based_on_currency(frm);
},
posting_date: function(frm) {
if(!frm.doc.multi_currency) return;
$.each(frm.doc.accounts || [], function(i, row) {
erpnext.journal_entry.set_exchange_rate(frm, row.doctype, row.name);
})
} }
}) })
@ -420,6 +428,7 @@ $.extend(erpnext.journal_entry, {
frappe.call({ frappe.call({
method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate", method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate",
args: { args: {
posting_date: frm.doc.posting_date,
account: row.account, account: row.account,
account_currency: row.account_currency, account_currency: row.account_currency,
company: frm.doc.company, company: frm.doc.company,

View File

@ -23,10 +23,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-flag", "options": "fa fa-flag",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -79,6 +81,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Entry Type", "label": "Entry Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -108,6 +111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -137,6 +141,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -164,6 +169,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Posting Date", "label": "Posting Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -192,6 +198,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -221,11 +228,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-table", "options": "fa fa-table",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -249,6 +257,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounting Entries", "label": "Accounting Entries",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -278,6 +287,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -304,6 +314,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Reference Number", "label": "Reference Number",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -332,6 +343,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference Date", "label": "Reference Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -360,6 +372,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "User Remark", "label": "User Remark",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -388,6 +401,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -413,6 +427,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Debit", "label": "Total Debit",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -442,6 +457,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Credit", "label": "Total Credit",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -472,6 +488,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Difference (Dr - Cr)", "label": "Difference (Dr - Cr)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -502,6 +519,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Make Difference Entry", "label": "Make Difference Entry",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -529,6 +547,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Multi Currency", "label": "Multi Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -556,6 +575,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Amount Currency", "label": "Total Amount Currency",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -584,6 +604,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Total Amount", "label": "Total Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -611,6 +632,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Amount in Words", "label": "Total Amount in Words",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -637,10 +659,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference", "label": "Reference",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-pushpin", "options": "fa fa-pushpin",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -664,6 +687,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Clearance Date", "label": "Clearance Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -693,6 +717,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Remark", "label": "Remark",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -721,6 +746,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -746,6 +772,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Bill No", "label": "Bill No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -774,6 +801,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Bill Date", "label": "Bill Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -802,6 +830,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Due Date", "label": "Due Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -831,6 +860,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off", "label": "Write Off",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -860,6 +890,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Based On", "label": "Write Off Based On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -888,6 +919,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Get Outstanding Invoices", "label": "Get Outstanding Invoices",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -915,6 +947,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -942,6 +975,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Amount", "label": "Write Off Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -969,6 +1003,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Printing Settings", "label": "Printing Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -985,7 +1020,7 @@
"unique": 0 "unique": 0
}, },
{ {
"allow_on_submit": 0, "allow_on_submit": 1,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0, "columns": 0,
@ -996,6 +1031,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Pay To / Recd From", "label": "Pay To / Recd From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1022,6 +1058,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1048,6 +1085,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1075,6 +1113,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1104,11 +1143,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1132,6 +1172,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -1161,6 +1202,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Opening", "label": "Is Opening",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1191,6 +1233,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Stock Entry", "label": "Stock Entry",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1219,6 +1262,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1239,7 +1283,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-file-text", "icon": "fa fa-file-text",
"idx": 176, "idx": 176,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -1249,7 +1293,7 @@
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": 0, "menu_index": 0,
"modified": "2016-11-03 15:52:10.053886", "modified": "2016-11-07 05:53:46.738161",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Journal Entry", "name": "Journal Entry",

View File

@ -37,9 +37,14 @@ class JournalEntry(AccountsController):
self.validate_credit_debit_note() self.validate_credit_debit_note()
self.validate_empty_accounts_table() self.validate_empty_accounts_table()
self.set_account_and_party_balance() self.set_account_and_party_balance()
self.clear_zero_debit_credit_row()
if not self.title: if not self.title:
self.title = self.get_title() self.title = self.get_title()
def clear_zero_debit_credit_row(self):
self.accounts = [account for account in self.accounts
if not (account.debit_in_account_currency==0.0 and account.credit_in_account_currency==0.0)]
def on_submit(self): def on_submit(self):
self.check_credit_limit() self.check_credit_limit()
self.make_gl_entries() self.make_gl_entries()
@ -321,8 +326,9 @@ class JournalEntry(AccountsController):
if d.account_currency == self.company_currency: if d.account_currency == self.company_currency:
d.exchange_rate = 1 d.exchange_rate = 1
elif not d.exchange_rate or d.exchange_rate == 1 or \ elif not d.exchange_rate or d.exchange_rate == 1 or \
(d.reference_type in ("Sales Invoice", "Purchase Invoice") and d.reference_name): (d.reference_type in ("Sales Invoice", "Purchase Invoice") and d.reference_name and d.posting_date):
d.exchange_rate = get_exchange_rate(d.account, d.account_currency, self.company, # Modified to include the posting date for which to retreive the exchange rate
d.exchange_rate = get_exchange_rate(self.posting_date, d.account, d.account_currency, self.company,
d.reference_type, d.reference_name, d.debit, d.credit, d.exchange_rate) d.reference_type, d.reference_name, d.debit, d.credit, d.exchange_rate)
if not d.exchange_rate: if not d.exchange_rate:
@ -643,7 +649,9 @@ def get_payment_entry(ref_doc, args):
cost_center = frappe.db.get_value("Company", ref_doc.company, "cost_center") cost_center = frappe.db.get_value("Company", ref_doc.company, "cost_center")
exchange_rate = 1 exchange_rate = 1
if args.get("party_account"): if args.get("party_account"):
exchange_rate = get_exchange_rate(args.get("party_account"), args.get("party_account_currency"), # Modified to include the posting date for which the exchange rate is required.
# Assumed to be the posting date in the reference document
exchange_rate = get_exchange_rate(ref_doc.posting_date, args.get("party_account"), args.get("party_account_currency"),
ref_doc.company, ref_doc.doctype, ref_doc.name) ref_doc.company, ref_doc.doctype, ref_doc.name)
je = frappe.new_doc("Journal Entry") je = frappe.new_doc("Journal Entry")
@ -676,7 +684,9 @@ def get_payment_entry(ref_doc, args):
bank_account = get_default_bank_cash_account(ref_doc.company, "Bank", account=args.get("bank_account")) bank_account = get_default_bank_cash_account(ref_doc.company, "Bank", account=args.get("bank_account"))
if bank_account: if bank_account:
bank_row.update(bank_account) bank_row.update(bank_account)
bank_row.exchange_rate = get_exchange_rate(bank_account["account"], # Modified to include the posting date for which the exchange rate is required.
# Assumed to be the posting date of the reference date
bank_row.exchange_rate = get_exchange_rate(ref_doc.posting_date, bank_account["account"],
bank_account["account_currency"], ref_doc.company) bank_account["account_currency"], ref_doc.company)
bank_row.cost_center = cost_center bank_row.cost_center = cost_center
@ -800,7 +810,10 @@ def get_account_balance_and_party_type(account, date, company, debit=None, credi
"party_type": party_type, "party_type": party_type,
"account_type": account_details.account_type, "account_type": account_details.account_type,
"account_currency": account_details.account_currency or company_currency, "account_currency": account_details.account_currency or company_currency,
"exchange_rate": get_exchange_rate(account, account_details.account_currency,
# The date used to retreive the exchange rate here is the date passed in
# as an argument to this function. It is assumed to be the date on which the balance is sought
"exchange_rate": get_exchange_rate(date, account, account_details.account_currency,
company, debit=debit, credit=credit, exchange_rate=exchange_rate) company, debit=debit, credit=credit, exchange_rate=exchange_rate)
} }
@ -810,8 +823,9 @@ def get_account_balance_and_party_type(account, date, company, debit=None, credi
return grid_values return grid_values
# Added posting_date as one of the parameters of get_exchange_rate
@frappe.whitelist() @frappe.whitelist()
def get_exchange_rate(account, account_currency=None, company=None, def get_exchange_rate(posting_date, account, account_currency=None, company=None,
reference_type=None, reference_name=None, debit=None, credit=None, exchange_rate=None): reference_type=None, reference_name=None, debit=None, credit=None, exchange_rate=None):
from erpnext.setup.utils import get_exchange_rate from erpnext.setup.utils import get_exchange_rate
account_details = frappe.db.get_value("Account", account, account_details = frappe.db.get_value("Account", account,
@ -837,9 +851,10 @@ def get_exchange_rate(account, account_currency=None, company=None,
(account_details.root_type == "Liability" and debit)): (account_details.root_type == "Liability" and debit)):
exchange_rate = get_average_exchange_rate(account) exchange_rate = get_average_exchange_rate(account)
if not exchange_rate and account_currency: # The date used to retreive the exchange rate here is the date passed
exchange_rate = get_exchange_rate(account_currency, company_currency) # in as an argument to this function.
if not exchange_rate and account_currency and posting_date:
exchange_rate = get_exchange_rate(account_currency, company_currency, posting_date)
else: else:
exchange_rate = 1 exchange_rate = 1

View File

@ -172,7 +172,24 @@ class TestJournalEntry(unittest.TestCase):
jv.submit() jv.submit()
def make_journal_entry(account1, account2, amount, cost_center=None, posting_date=None, exchange_rate=1, save=True, submit=False): def test_clear_blank_rows(self):
je = make_journal_entry("_Test Bank - _TC", "_Test Account Stock Expenses - _TC", 100, save=False)
je.append("accounts", {
"account": "_Test Cash - _TC",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"exchange_rate": 1
})
self.assertEqual(len(je.get("accounts")), 3)
je.save()
self.assertEqual(len(je.get("accounts")), 2)
def make_journal_entry(account1, account2, amount, cost_center=None, posting_date=None, exchange_rate=1, save=True, submit=False, project=None):
if not cost_center:
cost_center = "_Test Cost Center - _TC"
jv = frappe.new_doc("Journal Entry") jv = frappe.new_doc("Journal Entry")
jv.posting_date = posting_date or "2013-02-14" jv.posting_date = posting_date or "2013-02-14"
jv.company = "_Test Company" jv.company = "_Test Company"
@ -182,12 +199,14 @@ def make_journal_entry(account1, account2, amount, cost_center=None, posting_dat
{ {
"account": account1, "account": account1,
"cost_center": cost_center, "cost_center": cost_center,
"project": project,
"debit_in_account_currency": amount if amount > 0 else 0, "debit_in_account_currency": amount if amount > 0 else 0,
"credit_in_account_currency": abs(amount) if amount < 0 else 0, "credit_in_account_currency": abs(amount) if amount < 0 else 0,
"exchange_rate": exchange_rate "exchange_rate": exchange_rate
}, { }, {
"account": account2, "account": account2,
"cost_center": cost_center, "cost_center": cost_center,
"project": project,
"credit_in_account_currency": amount if amount > 0 else 0, "credit_in_account_currency": amount if amount > 0 else 0,
"debit_in_account_currency": abs(amount) if amount < 0 else 0, "debit_in_account_currency": abs(amount) if amount < 0 else 0,
"exchange_rate": exchange_rate "exchange_rate": exchange_rate

View File

@ -3,16 +3,20 @@
"allow_import": 1, "allow_import": 1,
"allow_rename": 1, "allow_rename": 1,
"autoname": "field:mode_of_payment", "autoname": "field:mode_of_payment",
"beta": 0,
"creation": "2012-12-04 17:49:20", "creation": "2012-12-04 17:49:20",
"custom": 0, "custom": 0,
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Setup", "document_type": "Setup",
"editable_grid": 0,
"engine": "InnoDB",
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "mode_of_payment", "fieldname": "mode_of_payment",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 0, "hidden": 0,
@ -20,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mode of Payment", "label": "Mode of Payment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -29,6 +34,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -39,6 +45,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "type", "fieldname": "type",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 0, "hidden": 0,
@ -46,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Type", "label": "Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -55,6 +63,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -65,6 +74,7 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "accounts", "fieldname": "accounts",
"fieldtype": "Table", "fieldtype": "Table",
"hidden": 0, "hidden": 0,
@ -72,6 +82,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounts", "label": "Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -81,6 +92,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -90,15 +102,16 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-credit-card", "icon": "fa fa-credit-card",
"idx": 1, "idx": 1,
"image_view": 0,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,
"is_submittable": 0, "is_submittable": 0,
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-04-26 11:48:17.411796", "modified": "2016-11-07 05:54:39.560399",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Mode of Payment", "name": "Mode of Payment",
@ -114,6 +127,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -134,6 +148,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 0, "print": 0,
"read": 1, "read": 1,

View File

@ -25,6 +25,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Distribution Name", "label": "Distribution Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -53,6 +54,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Fiscal Year", "label": "Fiscal Year",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -82,6 +84,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Monthly Distribution Percentages", "label": "Monthly Distribution Percentages",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -102,7 +105,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,

View File

@ -120,50 +120,21 @@ frappe.ui.form.on('Payment Entry', {
set_dynamic_labels: function(frm) { set_dynamic_labels: function(frm) {
var company_currency = frappe.get_doc(":Company", frm.doc.company).default_currency; var company_currency = frappe.get_doc(":Company", frm.doc.company).default_currency;
var field_label_map = {}; frm.set_currency_labels(["base_paid_amount", "base_received_amount", "base_total_allocated_amount",
var grid_field_label_map = {};
var setup_field_label_map = function(fields_list, currency, parentfield) {
var doctype = parentfield ? frm.fields_dict[parentfield].grid.doctype : frm.doc.doctype;
$.each(fields_list, function(i, fname) {
var docfield = frappe.meta.docfield_map[doctype][fname];
if(docfield) {
var label = __(docfield.label || "").replace(/\([^\)]*\)/g, "");
if(parentfield) {
grid_field_label_map[doctype + "-" + fname] =
label.trim() + " (" + __(currency) + ")";
} else {
field_label_map[fname] = label.trim() + " (" + currency + ")";
}
}
});
}
setup_field_label_map(["base_paid_amount", "base_received_amount", "base_total_allocated_amount",
"difference_amount"], company_currency); "difference_amount"], company_currency);
setup_field_label_map(["paid_amount"], frm.doc.paid_from_account_currency); frm.set_currency_labels(["paid_amount"], frm.doc.paid_from_account_currency);
setup_field_label_map(["received_amount"], frm.doc.paid_to_account_currency); frm.set_currency_labels(["received_amount"], frm.doc.paid_to_account_currency);
var party_account_currency = frm.doc.payment_type=="Receive" ? var party_account_currency = frm.doc.payment_type=="Receive" ?
frm.doc.paid_from_account_currency : frm.doc.paid_to_account_currency; frm.doc.paid_from_account_currency : frm.doc.paid_to_account_currency;
setup_field_label_map(["total_allocated_amount", "unallocated_amount"], party_account_currency); frm.set_currency_labels(["total_allocated_amount", "unallocated_amount"], party_account_currency);
$.each(field_label_map, function(fname, label) { frm.set_currency_labels(["total_amount", "outstanding_amount", "allocated_amount"],
me.frm.fields_dict[fname].set_label(label);
});
setup_field_label_map(["total_amount", "outstanding_amount", "allocated_amount"],
party_account_currency, "references"); party_account_currency, "references");
setup_field_label_map(["amount"], company_currency, "deductions"); frm.set_currency_labels(["amount"], company_currency, "deductions");
$.each(grid_field_label_map, function(fname, label) {
fname = fname.split("-");
var df = frappe.meta.get_docfield(fname[0], fname[1], me.frm.doc.name);
if(df) df.label = label;
});
cur_frm.set_df_property("source_exchange_rate", "description", cur_frm.set_df_property("source_exchange_rate", "description",
("1 " + frm.doc.paid_from_account_currency + " = [?] " + company_currency)); ("1 " + frm.doc.paid_from_account_currency + " = [?] " + company_currency));
@ -185,7 +156,7 @@ frappe.ui.form.on('Payment Entry', {
group_by_voucher: 0 group_by_voucher: 0
}; };
frappe.set_route("query-report", "General Ledger"); frappe.set_route("query-report", "General Ledger");
}, "icon-table"); }, "fa fa-table");
} }
}, },
@ -356,6 +327,7 @@ frappe.ui.form.on('Payment Entry', {
frappe.call({ frappe.call({
method: "erpnext.setup.utils.get_exchange_rate", method: "erpnext.setup.utils.get_exchange_rate",
args: { args: {
transaction_date: frm.doc.posting_date,
from_currency: from_currency, from_currency: from_currency,
to_currency: to_currency to_currency: to_currency
}, },
@ -365,6 +337,10 @@ frappe.ui.form.on('Payment Entry', {
}) })
}, },
posting_date: function(frm) {
frm.events.paid_from_account_currency(frm);
},
source_exchange_rate: function(frm) { source_exchange_rate: function(frm) {
if (frm.doc.paid_amount) { if (frm.doc.paid_amount) {
frm.set_value("base_paid_amount", flt(frm.doc.paid_amount) * flt(frm.doc.source_exchange_rate)); frm.set_value("base_paid_amount", flt(frm.doc.paid_amount) * flt(frm.doc.source_exchange_rate));
@ -454,6 +430,7 @@ frappe.ui.form.on('Payment Entry', {
method: 'erpnext.accounts.doctype.payment_entry.payment_entry.get_outstanding_reference_documents', method: 'erpnext.accounts.doctype.payment_entry.payment_entry.get_outstanding_reference_documents',
args: { args: {
args: { args: {
"posting_date": frm.doc.posting_date,
"company": frm.doc.company, "company": frm.doc.company,
"party_type": frm.doc.party_type, "party_type": frm.doc.party_type,
"payment_type": frm.doc.payment_type, "payment_type": frm.doc.payment_type,

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Type of Payment", "label": "Type of Payment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Payment Type", "label": "Payment Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +110,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Party Type", "label": "Party Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -136,6 +140,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Party", "label": "Party",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -153,17 +158,19 @@
"unique": 0 "unique": 0
}, },
{ {
"allow_on_submit": 0, "allow_on_submit": 1,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0, "columns": 0,
"description": "",
"fieldname": "party_name", "fieldname": "party_name",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Party Name", "label": "Party Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -171,7 +178,7 @@
"precision": "", "precision": "",
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 0,
"remember_last_selected_value": 0, "remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
@ -191,6 +198,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -218,6 +226,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Posting Date", "label": "Posting Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -245,6 +254,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -273,6 +283,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Mode of Payment", "label": "Mode of Payment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -301,6 +312,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounts", "label": "Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -329,6 +341,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Party Balance", "label": "Party Balance",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -357,6 +370,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Paid From", "label": "Account Paid From",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -386,6 +400,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Currency", "label": "Account Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -415,6 +430,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Balance", "label": "Account Balance",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -443,6 +459,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -470,6 +487,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Paid To", "label": "Account Paid To",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -499,6 +517,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Currency", "label": "Account Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -528,6 +547,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account Balance", "label": "Account Balance",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -558,6 +578,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amount", "label": "Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -586,6 +607,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid Amount", "label": "Paid Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -615,6 +637,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Exchange Rate", "label": "Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -643,6 +666,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid Amount (Company Currency)", "label": "Paid Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -671,6 +695,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -698,6 +723,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Received Amount", "label": "Received Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -727,6 +753,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Exchange Rate", "label": "Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -755,6 +782,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Received Amount (Company Currency)", "label": "Received Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -785,6 +813,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference", "label": "Reference",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -814,6 +843,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Allocate Payment Amount", "label": "Allocate Payment Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -842,6 +872,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment References", "label": "Payment References",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -871,6 +902,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Writeoff", "label": "Writeoff",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -899,6 +931,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Allocated Amount", "label": "Total Allocated Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -927,6 +960,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Allocated Amount (Company Currency)", "label": "Total Allocated Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -955,6 +989,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Set Exchange Gain / Loss", "label": "Set Exchange Gain / Loss",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -982,6 +1017,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1009,6 +1045,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Unallocated Amount", "label": "Unallocated Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1037,6 +1074,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Difference Amount (Company Currency)", "label": "Difference Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1066,6 +1104,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Difference Amount", "label": "Write Off Difference Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1095,6 +1134,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Deductions or Loss", "label": "Deductions or Loss",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1122,6 +1162,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment Deductions or Loss", "label": "Payment Deductions or Loss",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1150,6 +1191,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Transaction ID", "label": "Transaction ID",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1178,6 +1220,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cheque/Reference No", "label": "Cheque/Reference No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1205,6 +1248,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1232,6 +1276,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cheque/Reference Date", "label": "Cheque/Reference Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1260,6 +1305,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Clearance Date", "label": "Clearance Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1289,6 +1335,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1317,6 +1364,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Project", "label": "Project",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1345,6 +1393,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Remarks", "label": "Remarks",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1372,6 +1421,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1398,6 +1448,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1426,6 +1477,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1454,6 +1506,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1481,6 +1534,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1507,7 +1561,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:52:35.329427", "modified": "2016-11-07 05:33:40.371480",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Entry", "name": "Payment Entry",

View File

@ -153,11 +153,11 @@ class PaymentEntry(AccountsController):
self.source_exchange_rate = get_average_exchange_rate(self.paid_from) self.source_exchange_rate = get_average_exchange_rate(self.paid_from)
else: else:
self.source_exchange_rate = get_exchange_rate(self.paid_from_account_currency, self.source_exchange_rate = get_exchange_rate(self.paid_from_account_currency,
self.company_currency) self.company_currency, self.posting_date)
if self.paid_to and not self.target_exchange_rate: if self.paid_to and not self.target_exchange_rate:
self.target_exchange_rate = get_exchange_rate(self.paid_to_account_currency, self.target_exchange_rate = get_exchange_rate(self.paid_to_account_currency,
self.company_currency) self.company_currency, self.posting_date)
def validate_mandatory(self): def validate_mandatory(self):
for field in ("paid_amount", "received_amount", "source_exchange_rate", "target_exchange_rate"): for field in ("paid_amount", "received_amount", "source_exchange_rate", "target_exchange_rate"):
@ -482,12 +482,12 @@ def get_outstanding_reference_documents(args):
d["exchange_rate"] = frappe.db.get_value(d.voucher_type, d.voucher_no, "conversion_rate") d["exchange_rate"] = frappe.db.get_value(d.voucher_type, d.voucher_no, "conversion_rate")
# Get all SO / PO which are not fully billed or aginst which full advance not paid # Get all SO / PO which are not fully billed or aginst which full advance not paid
orders_to_be_billed = get_orders_to_be_billed(args.get("party_type"), args.get("party"), orders_to_be_billed = get_orders_to_be_billed(args.get("posting_date"),args.get("party_type"), args.get("party"),
party_account_currency, company_currency) party_account_currency, company_currency)
return negative_outstanding_invoices + outstanding_invoices + orders_to_be_billed return negative_outstanding_invoices + outstanding_invoices + orders_to_be_billed
def get_orders_to_be_billed(party_type, party, party_account_currency, company_currency): def get_orders_to_be_billed(posting_date, party_type, party, party_account_currency, company_currency):
voucher_type = 'Sales Order' if party_type == "Customer" else 'Purchase Order' voucher_type = 'Sales Order' if party_type == "Customer" else 'Purchase Order'
ref_field = "base_grand_total" if party_account_currency == company_currency else "grand_total" ref_field = "base_grand_total" if party_account_currency == company_currency else "grand_total"
@ -517,7 +517,9 @@ def get_orders_to_be_billed(party_type, party, party_account_currency, company_c
order_list = [] order_list = []
for d in orders: for d in orders:
d["voucher_type"] = voucher_type d["voucher_type"] = voucher_type
d["exchange_rate"] = get_exchange_rate(party_account_currency, company_currency) # This assumes that the exchange rate required is the one in the SO
d["exchange_rate"] = get_exchange_rate(party_account_currency,
company_currency, posting_date)
order_list.append(d) order_list.append(d)
return order_list return order_list
@ -592,14 +594,19 @@ def get_reference_details(reference_doctype, reference_name, party_account_curre
exchange_rate = 1 exchange_rate = 1
else: else:
total_amount = ref_doc.grand_total total_amount = ref_doc.grand_total
# Get the exchange rate from the original ref doc
# or get it based on the posting date of the ref doc
exchange_rate = ref_doc.get("conversion_rate") or \ exchange_rate = ref_doc.get("conversion_rate") or \
get_exchange_rate(party_account_currency, ref_doc.company_currency) get_exchange_rate(party_account_currency, ref_doc.company_currency, ref_doc.posting_date)
outstanding_amount = ref_doc.get("outstanding_amount") \ outstanding_amount = ref_doc.get("outstanding_amount") \
if reference_doctype in ("Sales Invoice", "Purchase Invoice") \ if reference_doctype in ("Sales Invoice", "Purchase Invoice") \
else flt(total_amount) - flt(ref_doc.advance_paid) else flt(total_amount) - flt(ref_doc.advance_paid)
else: else:
exchange_rate = get_exchange_rate(party_account_currency, ref_doc.company_currency) # Get the exchange rate based on the posting date of the ref doc
exchange_rate = get_exchange_rate(party_account_currency,
ref_doc.company_currency, ref_doc.posting_date)
return frappe._dict({ return frappe._dict({
"due_date": ref_doc.get("due_date"), "due_date": ref_doc.get("due_date"),

View File

@ -388,7 +388,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 1, "hide_toolbar": 1,
"icon": "icon-resize-horizontal", "icon": "fa fa-resize-horizontal",
"idx": 0, "idx": 0,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,

View File

@ -10,6 +10,7 @@
"doctype": "DocType", "doctype": "DocType",
"document_type": "", "document_type": "",
"editable_grid": 0, "editable_grid": 0,
"engine": "InnoDB",
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
@ -23,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -51,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recipient Message And Payment Details", "label": "Recipient Message And Payment Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -79,6 +82,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Format", "label": "Print Format",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "To", "label": "To",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -134,6 +139,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Subject", "label": "Subject",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -161,6 +167,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -187,6 +194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment Gateway Account", "label": "Payment Gateway Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -215,6 +223,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Transaction Currency", "label": "Transaction Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -244,6 +253,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amount", "label": "Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -273,6 +283,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -302,6 +313,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Make Sales Invoice", "label": "Make Sales Invoice",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -329,6 +341,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -355,6 +368,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Message", "label": "Message",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -382,6 +396,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Message Examples", "label": "Message Examples",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -410,6 +425,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mute Email", "label": "Mute Email",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -437,6 +453,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "payment_url", "label": "payment_url",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -465,6 +482,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment Gateway Details", "label": "Payment Gateway Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -492,6 +510,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment Gateway", "label": "Payment Gateway",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -520,6 +539,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payment Account", "label": "Payment Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -548,6 +568,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference Details", "label": "Reference Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -575,6 +596,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Reference Doctype", "label": "Reference Doctype",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -603,6 +625,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Reference Name", "label": "Reference Name",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -631,6 +654,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -657,7 +681,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-12-12 13:30:42.858205", "modified": "2016-12-15 14:46:19.662816",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Request", "name": "Payment Request",

View File

@ -9,7 +9,6 @@ from erpnext.selling.doctype.sales_order.test_sales_order import make_sales_orde
from erpnext.accounts.doctype.payment_request.payment_request import make_payment_request from erpnext.accounts.doctype.payment_request.payment_request import make_payment_request
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice
from erpnext.setup.utils import get_exchange_rate from erpnext.setup.utils import get_exchange_rate
# test_records = frappe.get_test_records('Payment Request')
test_dependencies = ["Currency Exchange", "Journal Entry", "Contact", "Address"] test_dependencies = ["Currency Exchange", "Journal Entry", "Contact", "Address"]

View File

@ -30,7 +30,7 @@ frappe.ui.form.on('Period Closing Voucher', {
group_by_voucher: 0 group_by_voucher: 0
}; };
frappe.set_route("query-report", "General Ledger"); frappe.set_route("query-report", "General Ledger");
}, "icon-table"); }, "fa fa-table");
} }
} }

View File

@ -3,27 +3,35 @@
"allow_import": 0, "allow_import": 0,
"allow_rename": 0, "allow_rename": 0,
"autoname": "PCE/.###", "autoname": "PCE/.###",
"beta": 0,
"creation": "2013-01-10 16:34:07", "creation": "2013-01-10 16:34:07",
"custom": 0, "custom": 0,
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"editable_grid": 0,
"engine": "InnoDB",
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "column_break0", "fieldname": "column_break0",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -35,12 +43,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "transaction_date", "fieldname": "transaction_date",
"fieldtype": "Date", "fieldtype": "Date",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Transaction Date", "label": "Transaction Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -48,7 +59,9 @@
"oldfieldtype": "Date", "oldfieldtype": "Date",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -59,12 +72,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Posting Date", "label": "Posting Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -72,7 +88,9 @@
"oldfieldtype": "Date", "oldfieldtype": "Date",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -83,12 +101,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "fiscal_year", "fieldname": "fiscal_year",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Closing Fiscal Year", "label": "Closing Fiscal Year",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -97,7 +118,9 @@
"options": "Fiscal Year", "options": "Fiscal Year",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -108,12 +131,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "amended_from", "fieldname": "amended_from",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -122,7 +148,9 @@
"options": "Period Closing Voucher", "options": "Period Closing Voucher",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -133,12 +161,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -147,7 +178,9 @@
"options": "Company", "options": "Company",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -158,18 +191,23 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "column_break1", "fieldname": "column_break1",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -180,13 +218,16 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"description": "The account head under Liability or Equity, in which Profit/Loss will be booked", "description": "The account head under Liability or Equity, in which Profit/Loss will be booked",
"fieldname": "closing_account_head", "fieldname": "closing_account_head",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Closing Account Head", "label": "Closing Account Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -195,7 +236,9 @@
"options": "Account", "options": "Account",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -206,12 +249,15 @@
"allow_on_submit": 0, "allow_on_submit": 0,
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0,
"fieldname": "remarks", "fieldname": "remarks",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Remarks", "label": "Remarks",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -219,7 +265,9 @@
"oldfieldtype": "Small Text", "oldfieldtype": "Small Text",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -229,15 +277,16 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-file-text", "icon": "fa fa-file-text",
"idx": 1, "idx": 1,
"image_view": 0,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,
"is_submittable": 1, "is_submittable": 1,
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2015-11-16 06:29:51.671436", "modified": "2016-11-07 05:32:15.691681",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Period Closing Voucher", "name": "Period Closing Voucher",
@ -253,6 +302,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -273,6 +323,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -284,10 +335,12 @@
"write": 1 "write": 1
} }
], ],
"quick_entry": 0,
"read_only": 0, "read_only": 0,
"read_only_onload": 0, "read_only_onload": 0,
"search_fields": "posting_date, fiscal_year", "search_fields": "posting_date, fiscal_year",
"sort_field": "modified", "sort_field": "modified",
"sort_order": "DESC", "sort_order": "DESC",
"title_field": "closing_account_head" "title_field": "closing_account_head",
"track_seen": 0
} }

View File

@ -22,6 +22,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Applicable for User", "label": "Applicable for User",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -82,6 +84,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Update Stock", "label": "Update Stock",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -109,6 +112,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Warehouse", "label": "Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -138,6 +142,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Campaign", "label": "Campaign",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -166,6 +171,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Ignore Pricing Rule", "label": "Ignore Pricing Rule",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -193,6 +199,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -219,6 +226,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -248,6 +256,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -277,6 +286,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency", "label": "Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -299,14 +309,15 @@
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0, "columns": 0,
"fieldname": "allow_partial_payment", "fieldname": "allow_delete",
"fieldtype": "Check", "fieldtype": "Check",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"label": "Allow Partial Payment", "in_standard_filter": 0,
"label": "Allow Delete",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -333,6 +344,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -359,6 +371,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Invoice Payment", "label": "Sales Invoice Payment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -387,6 +400,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -413,6 +427,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Groups", "label": "Item Groups",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -441,6 +456,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -467,6 +483,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Groups", "label": "Customer Groups",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -495,6 +512,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -522,6 +540,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Format", "label": "Print Format",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -550,6 +569,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -579,6 +599,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -608,6 +629,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -637,6 +659,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -664,6 +687,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Territory", "label": "Territory",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -693,6 +717,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List", "label": "Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -722,6 +747,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Apply Discount", "label": "Apply Discount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -751,6 +777,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Apply Discount On", "label": "Apply Discount On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -779,6 +806,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -806,6 +834,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Account", "label": "Write Off Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -834,6 +863,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Cost Center", "label": "Write Off Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -862,6 +892,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Account for Change Amount", "label": "Account for Change Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -890,6 +921,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -919,6 +951,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -945,6 +978,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Income Account", "label": "Income Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -975,6 +1009,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Expense Account", "label": "Expense Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1002,6 +1037,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cost Center", "label": "Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1031,8 +1067,8 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-17 00:20:51.377850", "modified": "2016-12-12 17:02:22.323006",
"modified_by": "rohit@erpnext.com", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "POS Profile", "name": "POS Profile",
"owner": "Administrator", "owner": "Administrator",

View File

@ -4,7 +4,7 @@
frappe.ui.form.on("Pricing Rule", "refresh", function(frm) { frappe.ui.form.on("Pricing Rule", "refresh", function(frm) {
var help_content = ['<table class="table table-bordered" style="background-color: #f9f9f9;">', var help_content = ['<table class="table table-bordered" style="background-color: #f9f9f9;">',
'<tr><td>', '<tr><td>',
'<h4><i class="icon-hand-right"></i> ', '<h4><i class="fa fa-hand-right"></i> ',
__('Notes'), __('Notes'),
':</h4>', ':</h4>',
'<ul>', '<ul>',
@ -23,7 +23,7 @@ frappe.ui.form.on("Pricing Rule", "refresh", function(frm) {
'</ul>', '</ul>',
'</td></tr>', '</td></tr>',
'<tr><td>', '<tr><td>',
'<h4><i class="icon-question-sign"></i> ', '<h4><i class="fa fa-question-sign"></i> ',
__('How Pricing Rule is applied?'), __('How Pricing Rule is applied?'),
'</h4>', '</h4>',
'<ol>', '<ol>',

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -49,6 +50,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -77,6 +79,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Apply On", "label": "Apply On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -105,6 +108,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Item Code", "label": "Item Code",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -133,6 +137,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Brand", "label": "Brand",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -161,6 +166,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Item Group", "label": "Item Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -188,6 +194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -215,6 +222,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Priority", "label": "Priority",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -242,6 +250,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Disable", "label": "Disable",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -268,6 +277,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -294,6 +304,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Selling", "label": "Selling",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -320,6 +331,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Buying", "label": "Buying",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -346,6 +358,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -373,6 +386,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Applicable For", "label": "Applicable For",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -401,6 +415,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -429,6 +444,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Group", "label": "Customer Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -457,6 +473,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Territory", "label": "Territory",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -485,6 +502,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Partner", "label": "Sales Partner",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -513,6 +531,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Campaign", "label": "Campaign",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -541,6 +560,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -569,6 +589,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Type", "label": "Supplier Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -596,6 +617,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -622,6 +644,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Min Qty", "label": "Min Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -648,6 +671,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -674,6 +698,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Max Qty", "label": "Max Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -700,6 +725,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -727,6 +753,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Valid From", "label": "Valid From",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -753,6 +780,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Valid Upto", "label": "Valid Upto",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -779,6 +807,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -804,6 +833,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -832,6 +862,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Margin", "label": "Margin",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -860,6 +891,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Margin Type", "label": "Margin Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -888,6 +920,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -916,6 +949,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Margin Rate or Amount", "label": "Margin Rate or Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -943,6 +977,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -970,6 +1005,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price or Discount", "label": "Price or Discount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -997,6 +1033,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1023,6 +1060,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price", "label": "Price",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1050,6 +1088,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Discount on Price List Rate (%)", "label": "Discount on Price List Rate (%)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1077,6 +1116,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "For Price List", "label": "For Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1104,6 +1144,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1131,6 +1172,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Pricing Rule Help", "label": "Pricing Rule Help",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1148,7 +1190,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-gift", "icon": "fa fa-gift",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -1157,7 +1199,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:54:12.674744", "modified": "2016-11-07 05:19:31.478456",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Pricing Rule", "name": "Pricing Rule",

View File

@ -11,6 +11,7 @@ from frappe import throw, _
from frappe.utils import flt, cint from frappe.utils import flt, cint
from frappe.model.document import Document from frappe.model.document import Document
class MultiplePricingRuleConflict(frappe.ValidationError): pass class MultiplePricingRuleConflict(frappe.ValidationError): pass
class PricingRule(Document): class PricingRule(Document):
@ -113,9 +114,20 @@ def apply_pricing_rule(args):
args_copy = copy.deepcopy(args) args_copy = copy.deepcopy(args)
args_copy.update(item) args_copy.update(item)
out.append(get_pricing_rule_for_item(args_copy)) out.append(get_pricing_rule_for_item(args_copy))
out.append(get_serial_no_for_item(args_copy))
return out return out
def get_serial_no_for_item(args):
from erpnext.stock.get_item_details import get_serial_no
item_details = frappe._dict({
"doctype": args.doctype,
"name": args.name,
"serial_no": args.serial_no
})
if args.get("parenttype") in ("Sales Invoice", "Delivery Note"):
item_details.serial_no = get_serial_no(args)
return item_details
def get_pricing_rule_for_item(args): def get_pricing_rule_for_item(args):
if args.get("parenttype") == "Material Request": return {} if args.get("parenttype") == "Material Request": return {}
@ -286,7 +298,7 @@ def filter_pricing_rules(args, pricing_rules):
pricing_rules = filter(lambda x: x.for_price_list==args.price_list, pricing_rules) \ pricing_rules = filter(lambda x: x.for_price_list==args.price_list, pricing_rules) \
or pricing_rules or pricing_rules
if len(pricing_rules) > 1: if len(pricing_rules) > 1 and not args.for_shopping_cart:
frappe.throw(_("Multiple Price Rules exists with same criteria, please resolve conflict by assigning priority. Price Rules: {0}") frappe.throw(_("Multiple Price Rules exists with same criteria, please resolve conflict by assigning priority. Price Rules: {0}")
.format("\n".join([d.name for d in pricing_rules])), MultiplePricingRuleConflict) .format("\n".join([d.name for d in pricing_rules])), MultiplePricingRuleConflict)
elif pricing_rules: elif pricing_rules:

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -80,6 +82,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -110,6 +113,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Name", "label": "Supplier Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -139,6 +143,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Invoice No", "label": "Supplier Invoice No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -167,6 +172,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Paid", "label": "Is Paid",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -195,6 +201,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Return", "label": "Is Return",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -222,6 +229,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -250,6 +258,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Date", "label": "Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -278,6 +287,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Due Date", "label": "Due Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -306,6 +316,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Invoice Date", "label": "Supplier Invoice Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -334,6 +345,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -363,6 +375,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -391,6 +404,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Return Against Purchase Invoice", "label": "Return Against Purchase Invoice",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -419,6 +433,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address and Contact", "label": "Address and Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -446,6 +461,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Select Supplier Address", "label": "Select Supplier Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -473,6 +489,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Person", "label": "Contact Person",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -501,6 +518,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address", "label": "Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -527,6 +545,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact", "label": "Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -553,6 +572,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mobile No", "label": "Mobile No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -579,6 +599,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Email", "label": "Contact Email",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -605,6 +626,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -632,6 +654,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Select Shipping Address", "label": "Select Shipping Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -660,6 +683,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Address", "label": "Shipping Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -687,10 +711,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency and Price List", "label": "Currency and Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-tag", "options": "fa fa-tag",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -714,6 +739,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency", "label": "Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -744,6 +770,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Exchange Rate", "label": "Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -773,6 +800,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -798,6 +826,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List", "label": "Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -825,6 +854,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Currency", "label": "Price List Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -852,6 +882,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Exchange Rate", "label": "Price List Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -879,6 +910,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Ignore Pricing Rule", "label": "Ignore Pricing Rule",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -905,11 +937,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-shopping-cart", "options": "fa fa-shopping-cart",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -934,6 +967,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Update Stock", "label": "Update Stock",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -961,6 +995,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Items", "label": "Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -990,6 +1025,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1015,6 +1051,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total (Company Currency)", "label": "Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1044,6 +1081,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total (Company Currency)", "label": "Net Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1073,6 +1111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1098,6 +1137,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total", "label": "Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1126,6 +1166,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total", "label": "Net Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1155,11 +1196,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1183,6 +1225,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1212,6 +1255,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Taxes and Charges", "label": "Purchase Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1241,6 +1285,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Calculation", "label": "Taxes and Charges Calculation",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1268,11 +1313,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1296,6 +1342,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added (Company Currency)", "label": "Taxes and Charges Added (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1325,6 +1372,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted (Company Currency)", "label": "Taxes and Charges Deducted (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1354,6 +1402,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges (Company Currency)", "label": "Total Taxes and Charges (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1383,6 +1432,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1409,6 +1459,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added", "label": "Taxes and Charges Added",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1438,6 +1489,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted", "label": "Taxes and Charges Deducted",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1467,6 +1519,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges", "label": "Total Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1496,6 +1549,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount", "label": "Additional Discount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1524,6 +1578,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Apply Additional Discount On", "label": "Apply Additional Discount On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1552,6 +1607,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount (Company Currency)", "label": "Additional Discount Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1580,6 +1636,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1606,6 +1663,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Percentage", "label": "Additional Discount Percentage",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1633,6 +1691,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount", "label": "Additional Discount Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1661,6 +1720,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1687,6 +1747,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Grand Total (Company Currency)", "label": "Grand Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1717,6 +1778,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words (Company Currency)", "label": "In Words (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1745,6 +1807,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -1772,6 +1835,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Grand Total", "label": "Grand Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1801,6 +1865,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words", "label": "In Words",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1829,6 +1894,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Advance", "label": "Total Advance",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1858,6 +1924,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Outstanding Amount", "label": "Outstanding Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1889,6 +1956,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Payments", "label": "Payments",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1916,6 +1984,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mode of Payment", "label": "Mode of Payment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1944,6 +2013,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cash/Bank Account", "label": "Cash/Bank Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1972,6 +2042,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1999,6 +2070,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid Amount", "label": "Paid Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2027,6 +2099,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Paid Amount (Company Currency)", "label": "Paid Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2057,6 +2130,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off", "label": "Write Off",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2084,6 +2158,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Amount", "label": "Write Off Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2111,6 +2186,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Amount (Company Currency)", "label": "Write Off Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2139,6 +2215,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -2166,6 +2243,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Account", "label": "Write Off Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2194,6 +2272,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Write Off Cost Center", "label": "Write Off Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2222,11 +2301,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Advance Payments", "label": "Advance Payments",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2250,6 +2330,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Get Advances Paid", "label": "Get Advances Paid",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2278,6 +2359,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Advances", "label": "Advances",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2308,10 +2390,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-legal", "options": "fa fa-legal",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2335,6 +2418,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms", "label": "Terms",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2362,6 +2446,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions1", "label": "Terms and Conditions1",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2388,6 +2473,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Raw Materials Supplied", "label": "Raw Materials Supplied",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2416,6 +2502,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Raw Materials Supplied", "label": "Raw Materials Supplied",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2444,6 +2531,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Warehouse", "label": "Supplier Warehouse",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2474,6 +2562,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplied Items", "label": "Supplied Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2502,6 +2591,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Printing Settings", "label": "Printing Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2529,6 +2619,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2557,6 +2648,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2586,6 +2678,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Language", "label": "Print Language",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2613,11 +2706,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2642,6 +2736,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit To", "label": "Credit To",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2671,6 +2766,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Party Account Currency", "label": "Party Account Currency",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2701,6 +2797,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Opening", "label": "Is Opening",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2730,6 +2827,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Against Expense Account", "label": "Against Expense Account",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2758,6 +2856,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -2812,6 +2911,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Posting Time", "label": "Posting Time",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2841,6 +2941,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Remarks", "label": "Remarks",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2870,6 +2971,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rejected Warehouse", "label": "Rejected Warehouse",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2900,10 +3002,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring Invoice", "label": "Recurring Invoice",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-time", "options": "fa fa-time",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2929,6 +3032,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Recurring", "label": "Is Recurring",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2957,6 +3061,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring Type", "label": "Recurring Type",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2986,6 +3091,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "From Date", "label": "From Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3014,6 +3120,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "To Date", "label": "To Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3041,6 +3148,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Submit on creation", "label": "Submit on creation",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -3070,6 +3178,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Notify by email", "label": "Notify by email",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3099,6 +3208,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Repeat on Day of Month", "label": "Repeat on Day of Month",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3127,6 +3237,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "End Date", "label": "End Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3153,6 +3264,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -3181,6 +3293,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Date", "label": "Next Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3209,6 +3322,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring Id", "label": "Recurring Id",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3237,6 +3351,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Notification Email Address", "label": "Notification Email Address",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -3264,6 +3379,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring Print Format", "label": "Recurring Print Format",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -3283,7 +3399,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-file-text", "icon": "fa fa-file-text",
"idx": 204, "idx": 204,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Item", "label": "Item",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -33,6 +34,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -51,12 +53,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -75,6 +79,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Name", "label": "Item Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -84,6 +89,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -102,6 +108,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Description", "label": "Description",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -110,6 +117,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -128,6 +136,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Description", "label": "Description",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -138,6 +147,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "300px", "print_width": "300px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -157,6 +167,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image", "label": "Image",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -165,6 +176,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -183,6 +195,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image View", "label": "Image View",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -192,6 +205,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -210,6 +224,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Quantity and Rate", "label": "Quantity and Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -217,6 +232,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -235,6 +251,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Received Qty", "label": "Received Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -243,6 +260,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -261,6 +279,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Qty", "label": "Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -270,6 +289,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -288,6 +308,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rejected Qty", "label": "Rejected Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -296,6 +317,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -314,12 +336,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -338,6 +362,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "UOM", "label": "UOM",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -346,6 +371,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -364,6 +390,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Conversion Factor", "label": "Conversion Factor",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -371,6 +398,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -389,12 +417,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -413,6 +443,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Rate", "label": "Price List Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -421,6 +452,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -440,6 +472,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Discount on Price List Rate (%)", "label": "Discount on Price List Rate (%)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -447,6 +480,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -465,12 +499,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -489,6 +525,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Rate (Company Currency)", "label": "Price List Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -497,6 +534,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -515,12 +553,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -539,6 +579,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Rate ", "label": "Rate ",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -549,6 +590,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -567,6 +609,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Amount", "label": "Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -577,6 +620,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -595,12 +639,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -619,6 +665,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rate (Company Currency)", "label": "Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -629,6 +676,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -647,6 +695,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amount (Company Currency)", "label": "Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -657,6 +706,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -675,6 +725,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Pricing Rule", "label": "Pricing Rule",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -683,6 +734,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -701,6 +753,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -708,6 +761,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -726,6 +780,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Rate", "label": "Net Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -735,6 +790,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -753,6 +809,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Amount", "label": "Net Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -762,6 +819,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -780,6 +838,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -787,6 +846,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -805,6 +865,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Rate (Company Currency)", "label": "Net Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -814,6 +875,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -832,6 +894,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Amount (Company Currency)", "label": "Net Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -841,6 +904,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -859,6 +923,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Warehouse", "label": "Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -867,6 +932,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -886,6 +952,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accepted Warehouse", "label": "Accepted Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -895,6 +962,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -913,6 +981,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rejected Warehouse", "label": "Rejected Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -922,6 +991,37 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "quality_inspection",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Quality Inspection",
"length": 0,
"no_copy": 1,
"options": "Quality Inspection",
"permlevel": 0,
"precision": "",
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -940,6 +1040,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Batch No", "label": "Batch No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -949,6 +1050,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -967,6 +1069,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -975,6 +1078,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -993,6 +1097,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Serial No", "label": "Serial No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1001,6 +1106,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1019,6 +1125,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rejected Serial No", "label": "Rejected Serial No",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1027,6 +1134,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1045,6 +1153,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounting", "label": "Accounting",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1052,6 +1161,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1070,6 +1180,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Expense Head", "label": "Expense Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1081,6 +1192,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "120px", "print_width": "120px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1100,12 +1212,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1124,6 +1238,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Project", "label": "Project",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1132,6 +1247,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1152,6 +1268,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cost Center", "label": "Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1163,6 +1280,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "120px", "print_width": "120px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1182,6 +1300,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference", "label": "Reference",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1189,6 +1308,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1207,6 +1327,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Brand", "label": "Brand",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1216,6 +1337,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1235,6 +1357,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Group", "label": "Item Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1245,6 +1368,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1264,6 +1388,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Tax Rate", "label": "Item Tax Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1273,6 +1398,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 1, "report_hide": 1,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1291,6 +1417,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Tax Amount", "label": "Item Tax Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1300,6 +1427,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "150px", "print_width": "150px",
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1319,6 +1447,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Order", "label": "Purchase Order",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1329,6 +1458,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1347,6 +1477,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "BOM", "label": "BOM",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1356,6 +1487,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1374,12 +1506,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1398,6 +1532,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Fixed Asset", "label": "Is Fixed Asset",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1406,6 +1541,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1425,6 +1561,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Asset", "label": "Asset",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1434,6 +1571,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1452,6 +1590,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Order Item", "label": "Purchase Order Item",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1461,6 +1600,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1479,6 +1619,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Receipt", "label": "Purchase Receipt",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1489,6 +1630,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1507,6 +1649,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Page Break", "label": "Page Break",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1514,6 +1657,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 1, "report_hide": 1,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1532,6 +1676,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "PR Detail", "label": "PR Detail",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1541,6 +1686,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1559,6 +1705,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Valuation Rate", "label": "Valuation Rate",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1567,6 +1714,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1585,6 +1733,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Raw Materials Supplied Cost", "label": "Raw Materials Supplied Cost",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1593,6 +1742,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1611,6 +1761,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Landed Cost Voucher Amount", "label": "Landed Cost Voucher Amount",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1619,6 +1770,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1636,7 +1788,7 @@
"issingle": 0, "issingle": 0,
"istable": 1, "istable": 1,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-08-26 04:37:23.737537", "modified": "2016-11-16 16:04:52.465169",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice Item", "name": "Purchase Invoice Item",

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -52,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Default", "label": "Default",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Disabled", "label": "Disabled",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -105,6 +108,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -132,6 +136,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -159,6 +164,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -186,6 +192,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Taxes and Charges", "label": "Purchase Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -206,7 +213,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-money", "icon": "fa fa-money",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -215,7 +222,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:55:01.611520", "modified": "2016-11-07 05:18:44.095798",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Taxes and Charges Template", "name": "Purchase Taxes and Charges Template",

View File

@ -3,7 +3,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import frappe, json import frappe, json
from frappe import _
from frappe.utils import nowdate from frappe.utils import nowdate
from erpnext.setup.utils import get_exchange_rate from erpnext.setup.utils import get_exchange_rate
from erpnext.stock.get_item_details import get_pos_profile from erpnext.stock.get_item_details import get_pos_profile
@ -63,8 +62,10 @@ def update_pos_profile_data(doc, pos_profile, company_data):
doc.currency = pos_profile.get('currency') or company_data.default_currency doc.currency = pos_profile.get('currency') or company_data.default_currency
doc.conversion_rate = 1.0 doc.conversion_rate = 1.0
if doc.currency != company_data.default_currency: if doc.currency != company_data.default_currency:
doc.conversion_rate = get_exchange_rate(doc.currency, company_data.default_currency) doc.conversion_rate = get_exchange_rate(doc.currency, company_data.default_currency, doc.posting_date)
doc.selling_price_list = pos_profile.get('selling_price_list') or \ doc.selling_price_list = pos_profile.get('selling_price_list') or \
frappe.db.get_value('Selling Settings', None, 'selling_price_list') frappe.db.get_value('Selling Settings', None, 'selling_price_list')
doc.naming_series = pos_profile.get('naming_series') or 'SINV-' doc.naming_series = pos_profile.get('naming_series') or 'SINV-'

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Barcode", "label": "Barcode",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -30,6 +31,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -48,6 +50,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Item", "label": "Item",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -58,6 +61,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -76,12 +80,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -100,6 +106,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Name", "label": "Item Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -109,6 +116,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -127,6 +135,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer's Item Code", "label": "Customer's Item Code",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -134,6 +143,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -152,6 +162,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Edit Description", "label": "Edit Description",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -160,6 +171,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -178,6 +190,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Description", "label": "Description",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -188,6 +201,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "200px", "print_width": "200px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -207,6 +221,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -214,6 +229,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -232,6 +248,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image View", "label": "Image View",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -241,6 +258,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -259,6 +277,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image", "label": "Image",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -267,6 +286,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -285,6 +305,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -292,6 +313,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -310,6 +332,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Quantity", "label": "Quantity",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -319,6 +342,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -337,6 +361,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Rate", "label": "Price List Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -347,6 +372,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -365,12 +391,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -389,6 +417,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "UOM", "label": "UOM",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -397,6 +426,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -415,6 +445,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Rate (Company Currency)", "label": "Price List Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -425,6 +456,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -443,6 +475,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Discount and Margin", "label": "Discount and Margin",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -451,6 +484,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -470,6 +504,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Discount on Price List Rate (%)", "label": "Discount on Price List Rate (%)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -479,6 +514,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -497,6 +533,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -504,6 +541,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -523,6 +561,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Margin Type", "label": "Margin Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -532,6 +571,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -551,6 +591,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Margin Rate or Amount", "label": "Margin Rate or Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -559,6 +600,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -578,6 +620,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Margin", "label": "Total Margin",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -586,6 +629,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -604,12 +648,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -628,6 +674,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Rate", "label": "Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -638,6 +685,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -656,6 +704,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Amount", "label": "Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -666,6 +715,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -684,12 +734,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -708,6 +760,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rate (Company Currency)", "label": "Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -718,6 +771,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -736,6 +790,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amount (Company Currency)", "label": "Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -746,6 +801,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -764,6 +820,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Pricing Rule", "label": "Pricing Rule",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -772,6 +829,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -790,6 +848,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -797,6 +856,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -815,6 +875,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Rate", "label": "Net Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -824,6 +885,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -842,6 +904,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Amount", "label": "Net Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -851,6 +914,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -869,6 +933,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -876,6 +941,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -894,6 +960,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Rate (Company Currency)", "label": "Net Rate (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -903,6 +970,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -921,6 +989,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Amount (Company Currency)", "label": "Net Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -930,6 +999,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -949,6 +1019,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Drop Ship", "label": "Drop Ship",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -957,6 +1028,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -975,6 +1047,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Delivered By Supplier", "label": "Delivered By Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -983,6 +1056,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1001,6 +1075,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounting Details", "label": "Accounting Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1008,6 +1083,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1026,6 +1102,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Income Account", "label": "Income Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1037,6 +1114,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "120px", "print_width": "120px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -1056,6 +1134,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Expense Account", "label": "Expense Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1064,6 +1143,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1083,12 +1163,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1108,6 +1190,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cost Center", "label": "Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1119,6 +1202,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "120px", "print_width": "120px",
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -1139,6 +1223,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Stock Details", "label": "Stock Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1146,6 +1231,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1164,6 +1250,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Warehouse", "label": "Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1174,6 +1261,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1192,6 +1280,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Warehouse (Optional)", "label": "Customer Warehouse (Optional)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1201,6 +1290,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1212,22 +1302,25 @@
"bold": 0, "bold": 0,
"collapsible": 0, "collapsible": 0,
"columns": 0, "columns": 0,
"fieldname": "serial_no", "depends_on": "eval:!doc.__islocal",
"fieldtype": "Small Text", "fieldname": "quality_inspection",
"fieldtype": "Link",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 0,
"in_list_view": 1, "in_list_view": 0,
"label": "Serial No", "in_standard_filter": 0,
"label": "Quality Inspection",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldname": "serial_no", "options": "Quality Inspection",
"oldfieldtype": "Small Text",
"permlevel": 0, "permlevel": 0,
"precision": "",
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1246,6 +1339,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Batch No", "label": "Batch No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1254,6 +1348,62 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "col_break5",
"fieldtype": "Column Break",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "serial_no",
"fieldtype": "Small Text",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 1,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Serial No",
"length": 0,
"no_copy": 0,
"oldfieldname": "serial_no",
"oldfieldtype": "Small Text",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1273,6 +1423,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Group", "label": "Item Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1283,6 +1434,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1301,6 +1453,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Brand Name", "label": "Brand Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1310,6 +1463,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1328,6 +1482,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Item Tax Rate", "label": "Item Tax Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1337,30 +1492,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"report_hide": 0, "remember_last_selected_value": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "col_break5",
"fieldtype": "Column Break",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1379,6 +1511,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Available Batch Qty at Warehouse", "label": "Available Batch Qty at Warehouse",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1388,6 +1521,7 @@
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"print_width": "150px", "print_width": "150px",
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1407,6 +1541,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Available Qty at Warehouse", "label": "Available Qty at Warehouse",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1416,6 +1551,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1434,6 +1570,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "References", "label": "References",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1442,6 +1579,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1460,6 +1598,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Order", "label": "Sales Order",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1470,6 +1609,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1488,6 +1628,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Order Item", "label": "Sales Order Item",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1497,6 +1638,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1515,6 +1657,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1522,6 +1665,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1540,6 +1684,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Delivery Note", "label": "Delivery Note",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1550,6 +1695,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1568,6 +1714,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Delivery Note Item", "label": "Delivery Note Item",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1577,6 +1724,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 1, "search_index": 1,
@ -1595,6 +1743,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Delivered Qty", "label": "Delivered Qty",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1604,6 +1753,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1622,6 +1772,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Fixed Asset", "label": "Is Fixed Asset",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1630,6 +1781,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1648,6 +1800,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Asset", "label": "Asset",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1657,6 +1810,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1675,6 +1829,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1682,6 +1837,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1700,6 +1856,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Page Break", "label": "Page Break",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1707,6 +1864,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 1, "report_hide": 1,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -1724,7 +1882,7 @@
"issingle": 0, "issingle": 0,
"istable": 1, "istable": 1,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-01 13:01:58.844818", "modified": "2016-11-16 16:04:02.438952",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice Item", "name": "Sales Invoice Item",

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -52,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Default", "label": "Default",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Disabled", "label": "Disabled",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -105,6 +108,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -130,6 +134,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -159,6 +164,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -185,6 +191,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Taxes and Charges", "label": "Sales Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -205,7 +212,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-money", "icon": "fa fa-money",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -214,7 +221,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:55:23.393483", "modified": "2016-11-07 05:18:41.743257",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Taxes and Charges Template", "name": "Sales Taxes and Charges Template",

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Shipping Rule Label", "label": "Shipping Rule Label",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Disabled", "label": "Disabled",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Calculate Based On", "label": "Calculate Based On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -106,6 +109,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Rule Conditions", "label": "Shipping Rule Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -132,6 +136,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Rule Conditions", "label": "Shipping Rule Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -160,6 +165,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Valid for Countries", "label": "Valid for Countries",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -186,6 +192,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Worldwide Shipping", "label": "Worldwide Shipping",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -214,6 +221,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Valid for Countries", "label": "Valid for Countries",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -243,6 +251,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -268,6 +277,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -295,6 +305,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -320,6 +331,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Account", "label": "Shipping Account",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -347,6 +359,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Cost Center", "label": "Cost Center",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -365,7 +378,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-truck", "icon": "fa fa-truck",
"idx": 1, "idx": 1,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -374,7 +387,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:56:10.088948", "modified": "2016-11-07 05:18:06.472734",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Shipping Rule", "name": "Shipping Rule",

View File

@ -24,6 +24,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Tax Type", "label": "Tax Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -52,6 +53,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Use for Shopping Cart", "label": "Use for Shopping Cart",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -79,6 +81,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -106,6 +109,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Sales Tax Template", "label": "Sales Tax Template",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -135,6 +139,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Tax Template", "label": "Purchase Tax Template",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -163,6 +168,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Filters", "label": "Filters",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -191,6 +197,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -220,6 +227,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -248,6 +256,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Billing City", "label": "Billing City",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -275,6 +284,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Billing County", "label": "Billing County",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -302,6 +312,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Billing State", "label": "Billing State",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -329,6 +340,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Billing Country", "label": "Billing Country",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -357,6 +369,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -384,6 +397,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Group", "label": "Customer Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -413,6 +427,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Type", "label": "Supplier Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -441,6 +456,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping City", "label": "Shipping City",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -468,6 +484,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping County", "label": "Shipping County",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -495,6 +512,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping State", "label": "Shipping State",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -522,6 +540,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Country", "label": "Shipping Country",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -550,6 +569,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Validity", "label": "Validity",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -577,6 +597,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "From Date", "label": "From Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -604,6 +625,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -630,6 +652,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "To Date", "label": "To Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -657,6 +680,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -684,6 +708,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Priority", "label": "Priority",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -711,6 +736,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -737,6 +763,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,

View File

@ -107,16 +107,37 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
show_unsync_invoice_list: function(){ show_unsync_invoice_list: function(){
var me = this; var me = this;
this.si_docs = this.get_doc_from_localstorage(); this.si_docs = this.get_doc_from_localstorage();
this.list_dialog = new frappe.ui.Dialog({ this.list_dialog = new frappe.ui.Dialog({
title: 'Invoice List' title: 'Invoice List'
}); });
this.list_dialog.show(); this.list_dialog.show();
this.list_body = this.list_dialog.body; this.list_body = this.list_dialog.body;
if(me.pos_profile_data["allow_delete"]) {
this.list_dialog.set_primary_action(__("Delete"), function() {
frappe.confirm(__("Delete permanently?"), function () {
me.delete_records();
})
}).addClass("btn-danger");
this.toggle_primary_action();
}
if(this.si_docs.length > 0){ if(this.si_docs.length > 0){
me.render_offline_data();
me.dialog_actions()
}else{
$(this.list_body).append(repl('<div class="media-heading">%(message)s</div>', {'message': __("All records are synced.")}))
}
},
render_offline_data: function() {
var me = this;
this.removed_items = [];
$(this.list_body).empty();
$(this.list_body).append('<div class="row list-row list-row-head pos-invoice-list">\ $(this.list_body).append('<div class="row list-row list-row-head pos-invoice-list">\
<div class="col-xs-1">Sr</div>\ <div class="col-xs-1"><input class="list-select-all" type="checkbox"></div>\
<div class="col-xs-3">Customer</div>\ <div class="col-xs-3">Customer</div>\
<div class="col-xs-2 text-left">Status</div>\ <div class="col-xs-2 text-left">Status</div>\
<div class="col-xs-3 text-right">Paid Amount</div>\ <div class="col-xs-3 text-right">Paid Amount</div>\
@ -135,20 +156,70 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
})).appendTo($(me.list_body)); })).appendTo($(me.list_body));
} }
}) })
},
$(this.list_body).find('.list-row').click(function() { dialog_actions: function() {
me.name = $(this).attr('invoice-name') var me = this;
doc_data = me.get_invoice_doc(me.si_docs)
if(doc_data){ $(this.list_body).find('.list-column').click(function() {
me.frm.doc = doc_data[0][me.name]; me.name = $(this).parents().attr('invoice-name')
me.set_missing_values(); me.edit_record();
me.refresh(false); })
me.disable_input_field();
me.list_dialog.hide(); $(this.list_body).find('.list-select-all').click(function() {
me.removed_items = [];
$(me.list_body).find('.list-delete').prop("checked", $(this).is(":checked"))
if($(this).is(":checked")) {
$.each(me.si_docs, function(index, data){
for(key in data) {
me.removed_items.push(key)
} }
}) })
}else{ }
$(this.list_body).append(repl('<div class="media-heading">%(message)s</div>', {'message': __("All records are synced.")}))
me.toggle_primary_action();
})
$(this.list_body).find('.list-delete').click(function() {
me.name = $(this).parent().parent().attr('invoice-name');
if($(this).is(":checked")) {
me.removed_items.push(me.name);
} else {
me.removed_items.pop(me.name)
}
me.toggle_primary_action();
})
},
edit_record: function() {
var me = this;
doc_data = this.get_invoice_doc(this.si_docs);
if(doc_data){
this.frm.doc = doc_data[0][this.name];
this.set_missing_values();
this.refresh(false);
this.disable_input_field();
this.list_dialog.hide();
}
},
delete_records: function() {
var me = this;
this.remove_doc_from_localstorage()
this.update_localstorage();
this.render_offline_data();
this.dialog_actions();
this.toggle_primary_action();
},
toggle_primary_action: function() {
var me = this;
if(this.removed_items && this.removed_items.length > 0) {
$(this.list_dialog.wrapper).find('.btn-danger').show();
} else {
$(this.list_dialog.wrapper).find('.btn-danger').hide();
} }
}, },
@ -229,7 +300,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
}, },
save_previous_entry : function(){ save_previous_entry : function(){
if(this.frm.doc.items.length > 0){ if(this.frm.doc.docstatus < 1 && this.frm.doc.items.length > 0){
this.create_invoice() this.create_invoice()
} }
}, },
@ -256,7 +327,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
frappe.meta.sync(data) frappe.meta.sync(data)
}) })
this.print_template = frappe.render_template("print_template", this.print_template_data = frappe.render_template("print_template",
{content: this.print_template, title:"POS", {content: this.print_template, title:"POS",
base_url: frappe.urllib.get_base_url(), print_css: frappe.boot.print_css}) base_url: frappe.urllib.get_base_url(), print_css: frappe.boot.print_css})
}, },
@ -741,10 +812,10 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
me.update_paid_amount_status(true); me.update_paid_amount_status(true);
me.create_invoice(); me.create_invoice();
me.make_payment(); me.make_payment();
}, "octicon octicon-credit-card"); }, "octicon octfa fa-credit-card");
}else if(this.frm.doc.docstatus == 1) { }else if(this.frm.doc.docstatus == 1) {
this.page.set_primary_action(__("Print"), function() { this.page.set_primary_action(__("Print"), function() {
html = frappe.render(me.print_template, me.frm.doc) html = frappe.render(me.print_template_data, me.frm.doc)
me.print_document(html) me.print_document(html)
}) })
}else { }else {
@ -754,7 +825,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
this.page.set_secondary_action(__("New"), function() { this.page.set_secondary_action(__("New"), function() {
me.save_previous_entry(); me.save_previous_entry();
me.create_new(); me.create_new();
}, "octicon octicon-plus").addClass("btn-primary"); }, "octicon octfa fa-plus").addClass("btn-primary");
}, },
print_dialog: function(){ print_dialog: function(){
@ -767,7 +838,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
])); ]));
$('.print_doc').click(function(){ $('.print_doc').click(function(){
html = frappe.render(me.print_template, me.frm.doc) html = frappe.render(me.print_template_data, me.frm.doc)
me.print_document(html) me.print_document(html)
}) })

View File

@ -3,7 +3,7 @@
"creation": "2014-08-08 02:45:55.931022", "creation": "2014-08-08 02:45:55.931022",
"docstatus": 0, "docstatus": 0,
"doctype": "Page", "doctype": "Page",
"icon": "icon-th", "icon": "fa fa-th",
"modified": "2014-08-08 05:59:33.045012", "modified": "2014-08-08 05:59:33.045012",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",

View File

@ -31,6 +31,14 @@ frappe.query_reports["Budget Variance Report"] = {
options: "Company", options: "Company",
default: frappe.defaults.get_user_default("Company"), default: frappe.defaults.get_user_default("Company"),
reqd: 1 reqd: 1
},
{
fieldname: "budget_against",
label: __("Budget Against"),
fieldtype: "Select",
options: ["Cost Center", "Project"],
default: "Cost Center",
reqd: 1
} }
] ]
} }

View File

@ -12,7 +12,7 @@ def execute(filters=None):
if not filters: filters = {} if not filters: filters = {}
columns = get_columns(filters) columns = get_columns(filters)
cost_centers = get_cost_centers(filters.company) cost_centers = get_cost_centers(filters)
period_month_ranges = get_period_month_ranges(filters["period"], filters["fiscal_year"]) period_month_ranges = get_period_month_ranges(filters["period"], filters["fiscal_year"])
cam_map = get_cost_center_account_month_map(filters) cam_map = get_cost_center_account_month_map(filters)
@ -40,7 +40,7 @@ def execute(filters=None):
return columns, data return columns, data
def get_columns(filters): def get_columns(filters):
columns = [_("Cost Center") + ":Link/Cost Center:120", _("Account") + ":Link/Account:120"] columns = [_(filters.get("budget_against")) + ":Link/%s:120"%(filters.get("budget_against")), _("Account") + ":Link/Account:120"]
group_months = False if filters["period"] == "Monthly" else True group_months = False if filters["period"] == "Monthly" else True
@ -56,16 +56,23 @@ def get_columns(filters):
return columns + [_("Total Target") + ":Float:120", _("Total Actual") + ":Float:120", return columns + [_("Total Target") + ":Float:120", _("Total Actual") + ":Float:120",
_("Total Variance") + ":Float:120"] _("Total Variance") + ":Float:120"]
def get_cost_centers(company): def get_cost_centers(filters):
return frappe.db.sql_list("select name from `tabCost Center` where company=%s order by lft", company) cond = "and 1=1"
if filters.get("budget_against") == "Cost Center":
cond = "order by lft"
return frappe.db.sql_list("""select name from `tab{tab}` where company=%s
{cond}""".format(tab=filters.get("budget_against"), cond=cond), filters.get("company"))
#Get cost center & target details #Get cost center & target details
def get_cost_center_target_details(filters): def get_cost_center_target_details(filters):
return frappe.db.sql(""" return frappe.db.sql("""
select b.cost_center, b.monthly_distribution, ba.account, ba.budget_amount select b.{budget_against} as budget_against, b.monthly_distribution, ba.account, ba.budget_amount
from `tabBudget` b, `tabBudget Account` ba from `tabBudget` b, `tabBudget Account` ba
where b.name=ba.parent and b.docstatus = 1 and b.fiscal_year=%s and b.company=%s where b.name=ba.parent and b.docstatus = 1 and b.fiscal_year=%s
""", (filters.fiscal_year, filters.company), as_dict=True) and b.budget_against = %s and b.company=%s
""".format(budget_against=filters.get("budget_against").replace(" ", "_").lower()),
(filters.fiscal_year, filters.budget_against, filters.company), as_dict=True)
#Get target distribution details of accounts of cost center #Get target distribution details of accounts of cost center
def get_target_distribution_details(filters): def get_target_distribution_details(filters):
@ -78,20 +85,26 @@ def get_target_distribution_details(filters):
return target_details return target_details
#Get actual details from gl entry #Get actual details from gl entry
def get_actual_details(cost_center, fiscal_year): def get_actual_details(name, filters):
cc_lft, cc_rgt = frappe.db.get_value("Cost Center", cost_center, ["lft", "rgt"]) cond = "1=1"
budget_against=filters.get("budget_against").replace(" ", "_").lower()
if filters.get("budget_against") == "Cost Center":
cc_lft, cc_rgt = frappe.db.get_value("Cost Center", name, ["lft", "rgt"])
cond = "lft>='{lft}' and rgt<='{rgt}'".format(lft = cc_lft, rgt=cc_rgt)
ac_details = frappe.db.sql("""select gl.account, gl.debit, gl.credit, ac_details = frappe.db.sql("""select gl.account, gl.debit, gl.credit,
MONTHNAME(gl.posting_date) as month_name, b.cost_center MONTHNAME(gl.posting_date) as month_name, b.{budget_against} as budget_against
from `tabGL Entry` gl, `tabBudget Account` ba, `tabBudget` b from `tabGL Entry` gl, `tabBudget Account` ba, `tabBudget` b
where where
b.name = ba.parent b.name = ba.parent
and b.docstatus = 1 and b.docstatus = 1
and ba.account=gl.account and ba.account=gl.account
and gl.fiscal_year=%s and gl.fiscal_year=%s
and b.cost_center=%s and b.{budget_against}=%s
and exists(select name from `tabCost Center` where name=gl.cost_center and lft>=%s and rgt<=%s) and exists(select name from `tab{tab}` where name=gl.{budget_against} and {cond})
""", (fiscal_year, cost_center, cc_lft, cc_rgt), as_dict=1) """.format(tab = filters.budget_against, budget_against = budget_against, cond = cond),
(filters.fiscal_year, name), as_dict=1)
cc_actual_details = {} cc_actual_details = {}
for d in ac_details: for d in ac_details:
@ -107,17 +120,17 @@ def get_cost_center_account_month_map(filters):
cam_map = {} cam_map = {}
for ccd in cost_center_target_details: for ccd in cost_center_target_details:
actual_details = get_actual_details(ccd.cost_center, filters.fiscal_year) actual_details = get_actual_details(ccd.budget_against, filters)
for month_id in range(1, 13): for month_id in range(1, 13):
month = datetime.date(2013, month_id, 1).strftime('%B') month = datetime.date(2013, month_id, 1).strftime('%B')
cam_map.setdefault(ccd.cost_center, {}).setdefault(ccd.account, {})\ cam_map.setdefault(ccd.budget_against, {}).setdefault(ccd.account, {})\
.setdefault(month, frappe._dict({ .setdefault(month, frappe._dict({
"target": 0.0, "actual": 0.0 "target": 0.0, "actual": 0.0
})) }))
tav_dict = cam_map[ccd.cost_center][ccd.account][month] tav_dict = cam_map[ccd.budget_against][ccd.account][month]
month_percentage = tdd.get(ccd.monthly_distribution, {}).get(month, 0) \ month_percentage = tdd.get(ccd.monthly_distribution, {}).get(month, 0) \
if ccd.monthly_distribution else 100.0/12 if ccd.monthly_distribution else 100.0/12

View File

@ -21,7 +21,7 @@ def execute(filters=None):
invoice_income_map, income_accounts) invoice_income_map, income_accounts)
invoice_so_dn_map = get_invoice_so_dn_map(invoice_list) invoice_so_dn_map = get_invoice_so_dn_map(invoice_list)
customer_map = get_customer_deatils(invoice_list) customer_map = get_customer_details(invoice_list)
company_currency = frappe.db.get_value("Company", filters.company, "default_currency") company_currency = frappe.db.get_value("Company", filters.company, "default_currency")
mode_of_payments = get_mode_of_payments([inv.name for inv in invoice_list]) mode_of_payments = get_mode_of_payments([inv.name for inv in invoice_list])
@ -184,7 +184,7 @@ def get_invoice_so_dn_map(invoice_list):
return invoice_so_dn_map return invoice_so_dn_map
def get_customer_deatils(invoice_list): def get_customer_details(invoice_list):
customer_map = {} customer_map = {}
customers = list(set([inv.customer for inv in invoice_list])) customers = list(set([inv.customer for inv in invoice_list]))
for cust in frappe.db.sql("""select name, territory, customer_group from `tabCustomer` for cust in frappe.db.sql("""select name, territory, customer_group from `tabCustomer`

View File

@ -186,7 +186,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-cog", "icon": "fa fa-cog",
"idx": 1, "idx": 1,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,

View File

@ -23,10 +23,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-user", "options": "fa fa-user",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -108,6 +111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -138,6 +142,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Get Items from Open Material Requests", "label": "Get Items from Open Material Requests",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -166,6 +171,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Supply Raw Materials", "label": "Supply Raw Materials",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -193,6 +199,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Name", "label": "Supplier Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -219,6 +226,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -248,6 +256,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Date", "label": "Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -276,6 +285,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -306,6 +316,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -336,6 +347,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Drop Ship", "label": "Drop Ship",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -364,6 +376,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -393,6 +406,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Name", "label": "Customer Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -420,6 +434,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -447,6 +462,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Contact", "label": "Customer Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -475,6 +491,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Contact", "label": "Customer Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -502,6 +519,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Mobile No", "label": "Customer Mobile No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -529,6 +547,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Contact Email", "label": "Customer Contact Email",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -557,6 +576,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address and Contact", "label": "Address and Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -584,6 +604,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Select Supplier Address", "label": "Select Supplier Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -611,6 +632,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Person", "label": "Contact Person",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -639,6 +661,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address", "label": "Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -665,6 +688,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact", "label": "Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -691,6 +715,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mobile No", "label": "Mobile No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -717,6 +742,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Email", "label": "Contact Email",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -743,6 +769,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -770,6 +797,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Select Shipping Address", "label": "Select Shipping Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -798,6 +826,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Address", "label": "Shipping Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -825,10 +854,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency and Price List", "label": "Currency and Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-tag", "options": "fa fa-tag",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -852,6 +882,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency", "label": "Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -882,6 +913,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Exchange Rate", "label": "Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -911,6 +943,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -936,6 +969,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List", "label": "Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -963,6 +997,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Currency", "label": "Price List Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -990,6 +1025,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Exchange Rate", "label": "Price List Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1017,6 +1053,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Ignore Pricing Rule", "label": "Ignore Pricing Rule",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1043,11 +1080,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-shopping-cart", "options": "fa fa-shopping-cart",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1071,6 +1109,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Items", "label": "Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1101,6 +1140,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Get last purchase rate", "label": "Get last purchase rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1128,6 +1168,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1153,6 +1194,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total (Company Currency)", "label": "Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1181,6 +1223,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total (Company Currency)", "label": "Net Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1210,6 +1253,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1235,6 +1279,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total", "label": "Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1263,6 +1308,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total", "label": "Net Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1292,11 +1338,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1321,6 +1368,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1350,6 +1398,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Taxes and Charges", "label": "Purchase Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1379,6 +1428,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Calculation", "label": "Taxes and Charges Calculation",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1406,11 +1456,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1434,6 +1485,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added (Company Currency)", "label": "Taxes and Charges Added (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1463,6 +1515,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted (Company Currency)", "label": "Taxes and Charges Deducted (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1492,6 +1545,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges (Company Currency)", "label": "Total Taxes and Charges (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1521,6 +1575,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1547,6 +1602,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added", "label": "Taxes and Charges Added",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1576,6 +1632,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted", "label": "Taxes and Charges Deducted",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1605,6 +1662,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges", "label": "Total Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1634,6 +1692,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount", "label": "Additional Discount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1662,6 +1721,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Apply Additional Discount On", "label": "Apply Additional Discount On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1690,6 +1750,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount (Company Currency)", "label": "Additional Discount Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1718,6 +1779,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1744,6 +1806,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Percentage", "label": "Additional Discount Percentage",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1771,6 +1834,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount", "label": "Additional Discount Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1799,6 +1863,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1825,6 +1890,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Grand Total (Company Currency)", "label": "Grand Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1855,6 +1921,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words (Company Currency)", "label": "In Words (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1883,6 +1950,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rounded Total (Company Currency)", "label": "Rounded Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1912,6 +1980,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -1938,6 +2007,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Grand Total", "label": "Grand Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1967,6 +2037,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words", "label": "In Words",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1995,6 +2066,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Advance Paid", "label": "Advance Paid",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2023,11 +2095,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-legal", "options": "fa fa-legal",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2051,6 +2124,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms", "label": "Terms",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2080,6 +2154,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2108,6 +2183,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2136,6 +2212,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2165,6 +2242,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Ref SQ", "label": "Ref SQ",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2193,6 +2271,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Party Account Currency", "label": "Party Account Currency",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2221,6 +2300,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -2249,6 +2329,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "% Received", "label": "% Received",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2279,6 +2360,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "% Billed", "label": "% Billed",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2307,6 +2389,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Printing Settings", "label": "Printing Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2336,6 +2419,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2365,6 +2449,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2394,6 +2479,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -2421,6 +2507,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Group same items", "label": "Group same items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2449,6 +2536,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Language", "label": "Print Language",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2479,11 +2567,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Raw Materials Supplied", "label": "Raw Materials Supplied",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-truck", "options": "fa fa-truck",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2507,6 +2596,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplied Items", "label": "Supplied Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2537,10 +2627,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring", "label": "Recurring",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-time", "options": "fa fa-time",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -2564,6 +2655,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Settings", "label": "Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2592,6 +2684,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Recurring", "label": "Is Recurring",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2620,6 +2713,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference Document", "label": "Reference Document",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2649,6 +2743,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Frequency", "label": "Frequency",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2678,6 +2773,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Repeat on Day of Month", "label": "Repeat on Day of Month",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2706,6 +2802,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "End Date", "label": "End Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2733,6 +2830,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Submit on creation", "label": "Submit on creation",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2762,6 +2860,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Notify by email", "label": "Notify by email",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2791,6 +2890,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Notification Email Address", "label": "Notification Email Address",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2819,6 +2919,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Recurring Print Format", "label": "Recurring Print Format",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2847,6 +2948,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "This Document", "label": "This Document",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -2875,6 +2977,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "From Date", "label": "From Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2903,6 +3006,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "To Date", "label": "To Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2931,6 +3035,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Date", "label": "Next Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -2948,7 +3053,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-file-text", "icon": "fa fa-file-text",
"idx": 105, "idx": 105,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -2957,7 +3062,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:57:10.007843", "modified": "2016-11-07 06:01:00.233621",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@ -156,30 +156,6 @@ class PurchaseOrder(BuyingController):
msgprint(_("{0} {1} has been modified. Please refresh.").format(self.doctype, self.name), msgprint(_("{0} {1} has been modified. Please refresh.").format(self.doctype, self.name),
raise_exception=True) raise_exception=True)
def before_print(self):
if self.get("group_same_items"):
group_item_qty = {}
group_item_amount = {}
for item in self.items:
group_item_qty[item.item_code] = group_item_qty.get(item.item_code, 0) + item.qty
group_item_amount[item.item_code] = group_item_amount.get(item.item_code, 0) + item.amount
duplicate_list = []
for item in self.items:
if item.item_code in group_item_qty:
item.qty = group_item_qty[item.item_code]
item.amount = group_item_amount[item.item_code]
del group_item_qty[item.item_code]
else:
duplicate_list.append(item)
for item in duplicate_list:
self.remove(item)
def update_status(self, status): def update_status(self, status):
self.check_modified_date() self.check_modified_date()
self.set_status(update=True, status=status) self.set_status(update=True, status=status)
@ -380,4 +356,3 @@ def update_status(status, name):
po = frappe.get_doc("Purchase Order", name) po = frappe.get_doc("Purchase Order", name)
po.update_status(status) po.update_status(status)
po.update_delivered_qty_in_sales_order() po.update_delivered_qty_in_sales_order()

View File

@ -1,68 +0,0 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
cur_frm.cscript.inspection_type = function(doc, cdt, cdn) {
if(doc.inspection_type == 'Incoming'){
doc.delivery_note_no = '';
hide_field('delivery_note_no');
unhide_field('purchase_receipt_no');
}
else if(doc.inspection_type == 'Outgoing'){
doc.purchase_receipt_no = '';
unhide_field('delivery_note_no');
hide_field('purchase_receipt_no');
}
else {
doc.purchase_receipt_no = '';
doc.delivery_note_no = '';
hide_field('purchase_receipt_no');
hide_field('delivery_note_no');
}
}
cur_frm.cscript.refresh = cur_frm.cscript.inspection_type;
// item code based on GRN/DN
cur_frm.fields_dict['item_code'].get_query = function(doc, cdt, cdn) {
if (doc.purchase_receipt_no) {
return {
query: "erpnext.buying.doctype.quality_inspection.quality_inspection.item_query",
filters: {
"from": "Purchase Receipt Item",
"parent": doc.purchase_receipt_no
}
}
} else if (doc.delivery_note_no) {
return {
query: "erpnext.buying.doctype.quality_inspection.quality_inspection.item_query",
filters: {
"from": "Delivery Note Item",
"parent": doc.delivery_note_no
}
}
}
}
// Serial No based on item_code
cur_frm.fields_dict['item_serial_no'].get_query = function(doc, cdt, cdn) {
var filters = {};
if (doc.item_code) {
filters = {
'item_code': doc.item_code
}
}
return { filters: filters }
}
cur_frm.set_query("batch_no", function(doc) {
return {
filters: {
"item": doc.item_code
}
}
})
cur_frm.add_fetch('item_code', 'item_name', 'item_name');
cur_frm.add_fetch('item_code', 'description', 'description');

View File

@ -23,6 +23,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -54,6 +55,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -85,6 +87,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -113,6 +116,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -142,6 +146,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Date", "label": "Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -171,6 +176,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -198,6 +204,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Detail", "label": "Supplier Detail",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -226,11 +233,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-shopping-cart", "options": "fa fa-shopping-cart",
"permlevel": 0, "permlevel": 0,
"precision": "", "precision": "",
"print_hide": 0, "print_hide": 0,
@ -255,6 +263,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Items", "label": "Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -285,6 +294,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -312,6 +322,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Standard Reply", "label": "Standard Reply",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -340,6 +351,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Message for Supplier", "label": "Message for Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -368,11 +380,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-legal", "options": "fa fa-legal",
"permlevel": 0, "permlevel": 0,
"precision": "", "precision": "",
"print_hide": 0, "print_hide": 0,
@ -397,6 +410,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms", "label": "Terms",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -427,6 +441,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -456,6 +471,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Printing Settings", "label": "Printing Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -483,6 +499,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -513,6 +530,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -543,11 +561,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"precision": "", "precision": "",
"print_hide": 0, "print_hide": 0,
@ -572,6 +591,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -602,6 +622,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Fiscal Year", "label": "Fiscal Year",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -632,6 +653,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -658,6 +680,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -676,7 +699,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-shopping-cart", "icon": "fa fa-shopping-cart",
"idx": 0, "idx": 0,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -685,7 +708,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:57:31.603664", "modified": "2016-11-07 05:34:08.567257",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Request for Quotation", "name": "Request for Quotation",
@ -776,6 +799,27 @@
"submit": 0, "submit": 0,
"write": 0 "write": 0
}, },
{
"amend": 0,
"apply_user_permissions": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"email": 1,
"export": 0,
"if_owner": 0,
"import": 0,
"is_custom": 0,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Supplier",
"set_user_permissions": 0,
"share": 0,
"submit": 0,
"write": 0
},
{ {
"amend": 0, "amend": 0,
"apply_user_permissions": 0, "apply_user_permissions": 0,

View File

@ -11,6 +11,7 @@
"doctype": "DocType", "doctype": "DocType",
"document_type": "Setup", "document_type": "Setup",
"editable_grid": 0, "editable_grid": 0,
"engine": "InnoDB",
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
@ -24,15 +25,17 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Name and Type", "label": "Name and Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-user", "options": "fa fa-user",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -51,6 +54,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -61,6 +65,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -79,6 +84,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Name", "label": "Supplier Name",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -88,6 +94,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -106,6 +113,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Country", "label": "Country",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -115,6 +123,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -133,6 +142,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image", "label": "Image",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -141,6 +151,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -159,6 +170,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -168,6 +180,7 @@
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -186,12 +199,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -211,6 +226,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Supplier Type", "label": "Supplier Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -221,6 +237,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 1, "reqd": 1,
"search_index": 0, "search_index": 0,
@ -239,6 +256,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Language", "label": "Print Language",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -248,6 +266,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -267,6 +286,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Disabled", "label": "Disabled",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -275,6 +295,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -293,6 +314,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency and Price List", "label": "Currency and Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -301,6 +323,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -319,6 +342,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Billing Currency", "label": "Billing Currency",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -327,6 +351,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -345,6 +370,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -352,6 +378,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -370,6 +397,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List", "label": "Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -378,6 +406,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -396,6 +425,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit Limit", "label": "Credit Limit",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -404,6 +434,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -422,6 +453,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit Days Based On", "label": "Credit Days Based On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -431,6 +463,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -450,6 +483,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Credit Days", "label": "Credit Days",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -457,6 +491,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -476,15 +511,17 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address and Contacts", "label": "Address and Contacts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"options": "icon-map-marker", "options": "fa fa-map-marker",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -503,6 +540,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address HTML", "label": "Address HTML",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -510,6 +548,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -528,12 +567,14 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -553,6 +594,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact HTML", "label": "Contact HTML",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -560,6 +602,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 1, "read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -579,6 +622,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Default Payable Accounts", "label": "Default Payable Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -586,6 +630,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -606,6 +651,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Accounts", "label": "Accounts",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -614,6 +660,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -633,6 +680,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -640,6 +688,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -659,6 +708,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Website", "label": "Website",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -668,6 +718,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -687,6 +738,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Details", "label": "Supplier Details",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -696,6 +748,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -714,6 +767,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Frozen", "label": "Is Frozen",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -722,6 +776,7 @@
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
"read_only": 0, "read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0, "report_hide": 0,
"reqd": 0, "reqd": 0,
"search_index": 0, "search_index": 0,
@ -731,7 +786,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-user", "icon": "fa fa-user",
"idx": 370, "idx": 370,
"image_field": "image", "image_field": "image",
"image_view": 0, "image_view": 0,
@ -741,7 +796,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-09-21 18:11:03.873221", "modified": "2016-11-07 05:24:30.465053",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Supplier", "name": "Supplier",
@ -758,6 +813,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -778,6 +834,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -798,6 +855,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -818,6 +876,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 0, "print": 0,
"read": 1, "read": 1,
@ -838,6 +897,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
@ -858,6 +918,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 0, "print": 0,
"read": 1, "read": 1,
@ -878,6 +939,7 @@
"export": 0, "export": 0,
"if_owner": 0, "if_owner": 0,
"import": 0, "import": 0,
"is_custom": 0,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,

View File

@ -23,10 +23,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-user", "options": "fa fa-user",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -78,6 +80,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -108,6 +111,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Supplier", "label": "Supplier",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -137,6 +141,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Name", "label": "Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -163,6 +168,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -192,6 +198,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Date", "label": "Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -220,6 +227,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -250,6 +258,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -279,6 +288,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address and Contact", "label": "Address and Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -306,6 +316,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Supplier Address", "label": "Supplier Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -333,6 +344,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Person", "label": "Contact Person",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -360,6 +372,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address", "label": "Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -386,6 +399,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact", "label": "Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -412,6 +426,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mobile No", "label": "Mobile No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -438,6 +453,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Email", "label": "Contact Email",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -465,10 +481,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency and Price List", "label": "Currency and Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-tag", "options": "fa fa-tag",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -492,6 +509,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Currency", "label": "Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -522,6 +540,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Exchange Rate", "label": "Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -551,6 +570,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -578,6 +598,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List", "label": "Price List",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -606,6 +627,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Currency", "label": "Price List Currency",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -634,6 +656,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Price List Exchange Rate", "label": "Price List Exchange Rate",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -661,6 +684,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Ignore Pricing Rule", "label": "Ignore Pricing Rule",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -687,11 +711,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-shopping-cart", "options": "fa fa-shopping-cart",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -715,6 +740,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Items", "label": "Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -744,6 +770,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -769,6 +796,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total (Company Currency)", "label": "Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -797,6 +825,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total (Company Currency)", "label": "Net Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -826,6 +855,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -851,6 +881,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total", "label": "Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -879,6 +910,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Net Total", "label": "Net Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -908,11 +940,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -937,6 +970,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges", "label": "Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -966,6 +1000,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Purchase Taxes and Charges", "label": "Purchase Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -995,6 +1030,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Calculation", "label": "Taxes and Charges Calculation",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1022,11 +1058,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-money", "options": "fa fa-money",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1050,6 +1087,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added (Company Currency)", "label": "Taxes and Charges Added (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1079,6 +1117,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted (Company Currency)", "label": "Taxes and Charges Deducted (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1108,6 +1147,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges (Company Currency)", "label": "Total Taxes and Charges (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1137,6 +1177,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1163,6 +1204,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Added", "label": "Taxes and Charges Added",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1192,6 +1234,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Taxes and Charges Deducted", "label": "Taxes and Charges Deducted",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1221,6 +1264,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Total Taxes and Charges", "label": "Total Taxes and Charges",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1250,6 +1294,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount", "label": "Additional Discount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1278,6 +1323,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Apply Additional Discount On", "label": "Apply Additional Discount On",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1306,6 +1352,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount (Company Currency)", "label": "Additional Discount Amount (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1334,6 +1381,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1360,6 +1408,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Percentage", "label": "Additional Discount Percentage",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1387,6 +1436,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Additional Discount Amount", "label": "Additional Discount Amount",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1415,6 +1465,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1441,6 +1492,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Grand Total (Company Currency)", "label": "Grand Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1471,6 +1523,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words (Company Currency)", "label": "In Words (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1499,6 +1552,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Rounded Total (Company Currency)", "label": "Rounded Total (Company Currency)",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1528,6 +1582,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -1554,6 +1609,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Grand Total", "label": "Grand Total",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1583,6 +1639,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "In Words", "label": "In Words",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1612,11 +1669,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-legal", "options": "fa fa-legal",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1640,6 +1698,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms", "label": "Terms",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1669,6 +1728,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Terms and Conditions", "label": "Terms and Conditions",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1697,6 +1757,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Printing Settings", "label": "Printing Settings",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1724,6 +1785,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Heading", "label": "Print Heading",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1753,6 +1815,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Letter Head", "label": "Letter Head",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1782,6 +1845,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Print Language", "label": "Print Language",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1809,11 +1873,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1837,6 +1902,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1866,6 +1932,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -1892,6 +1959,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Is Subcontracted", "label": "Is Subcontracted",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1919,6 +1987,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Reference", "label": "Reference",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -1946,6 +2015,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Opportunity", "label": "Opportunity",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1965,7 +2035,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-shopping-cart", "icon": "fa fa-shopping-cart",
"idx": 29, "idx": 29,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -1975,7 +2045,7 @@
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": 0, "menu_index": 0,
"modified": "2016-11-03 15:57:47.183671", "modified": "2016-11-07 05:59:51.237877",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Supplier Quotation", "name": "Supplier Quotation",

View File

@ -2,7 +2,7 @@
"creation": "2012-09-21 20:15:16.000000", "creation": "2012-09-21 20:15:16.000000",
"docstatus": 0, "docstatus": 0,
"doctype": "Page", "doctype": "Page",
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
"idx": 1, "idx": 1,
"modified": "2013-07-11 14:43:52.000000", "modified": "2013-07-11 14:43:52.000000",
"modified_by": "Administrator", "modified_by": "Administrator",

View File

@ -0,0 +1,21 @@
- New Training Module
- Training Event
- Training Result
- Training Feedback
- Daily Work Summary
- Salary Processing Period
- Process salary based on bimonthly, fortnightly, weekly and even on daily basis.
- Budget against Project
- Currency Exchange based on date
- Provision to delete the offline records in POS
- Chart of Accounts template for Canada, France, Germany (SKR04), Guatemala, Indonesia, Mexico, Nicaragua, Netherlands.
- Chart of Accounts for new company based on existing company
- Quality Inspection before delivery
- Fixed Item and Warehouse renaming / merging logic fixed
- Apply Pricing Rule in Shopping Cart
- Jinja template in Terms and Conditions
- Settings to disallow same items to be entered multiple times in sales/purchase transactions
- Schools update
- New Documents: Instructor, Student Leave Application, Student Batch Name, Batch Creation Tool
- New Reports: Student Monthly Attendance Sheet, Absent Student Report, Student Batch-Wise Attendance
- Renamed Scheduling Tool to Course scheduling Tool, Batch Name to Student Batch Name and Batch Creation tool to Student Batch Creation tool

View File

@ -63,7 +63,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Account", "name": "Account",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("Chart of Accounts"), "label": _("Chart of Accounts"),
"route": "Tree/Account", "route": "Tree/Account",
"description": _("Tree of financial accounts."), "description": _("Tree of financial accounts."),
@ -199,7 +199,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Cost Center", "name": "Cost Center",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("Chart of Cost Centers"), "label": _("Chart of Cost Centers"),
"route": "Tree/Cost Center", "route": "Tree/Cost Center",
"description": _("Tree of financial Cost Centers."), "description": _("Tree of financial Cost Centers."),
@ -244,7 +244,7 @@ def get_data():
}, },
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -351,7 +351,7 @@ def get_data():
}, },
{ {
"label": _("Other Reports"), "label": _("Other Reports"),
"icon": "icon-table", "icon": "fa fa-table",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -423,7 +423,7 @@ def get_data():
}, },
{ {
"label": _("Help"), "label": _("Help"),
"icon": "icon-facetime-video", "icon": "fa fa-facetime-video",
"items": [ "items": [
{ {
"type": "help", "type": "help",

View File

@ -5,7 +5,7 @@ def get_data():
return [ return [
{ {
"label": _("Purchasing"), "label": _("Purchasing"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -57,7 +57,7 @@ def get_data():
}, },
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -98,7 +98,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Item Group", "name": "Item Group",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("Item Group"), "label": _("Item Group"),
"link": "Tree/Item Group", "link": "Tree/Item Group",
"description": _("Tree of Item Groups."), "description": _("Tree of Item Groups."),
@ -119,13 +119,13 @@ def get_data():
}, },
{ {
"label": _("Analytics"), "label": _("Analytics"),
"icon": "icon-table", "icon": "fa fa-table",
"items": [ "items": [
{ {
"type": "page", "type": "page",
"name": "purchase-analytics", "name": "purchase-analytics",
"label": _("Purchase Analytics"), "label": _("Purchase Analytics"),
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
}, },
{ {
"type": "report", "type": "report",
@ -143,7 +143,7 @@ def get_data():
}, },
{ {
"label": _("Other Reports"), "label": _("Other Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",

View File

@ -4,7 +4,7 @@ def get_data():
return [ return [
{ {
"label": _("Sales Pipeline"), "label": _("Sales Pipeline"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -30,13 +30,13 @@ def get_data():
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "page", "type": "page",
"name": "sales-funnel", "name": "sales-funnel",
"label": _("Sales Funnel"), "label": _("Sales Funnel"),
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
}, },
{ {
"type": "report", "type": "report",
@ -53,7 +53,7 @@ def get_data():
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Customer Addresses and Contacts", "name": "Customer Addresses And Contacts",
"doctype": "Contact" "doctype": "Contact"
}, },
{ {
@ -66,7 +66,7 @@ def get_data():
}, },
{ {
"label": _("Communication"), "label": _("Communication"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -77,7 +77,7 @@ def get_data():
}, },
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -88,7 +88,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Customer Group"), "label": _("Customer Group"),
"name": "Customer Group", "name": "Customer Group",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Customer Group", "link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."), "description": _("Manage Customer Group Tree."),
}, },
@ -96,7 +96,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Territory"), "label": _("Territory"),
"name": "Territory", "name": "Territory",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Territory", "link": "Tree/Territory",
"description": _("Manage Territory Tree."), "description": _("Manage Territory Tree."),
}, },
@ -104,7 +104,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Sales Person"), "label": _("Sales Person"),
"name": "Sales Person", "name": "Sales Person",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Sales Person", "link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."), "description": _("Manage Sales Person Tree."),
}, },
@ -112,7 +112,7 @@ def get_data():
}, },
{ {
"label": _("SMS"), "label": _("SMS"),
"icon": "icon-wrench", "icon": "fa fa-wrench",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",

View File

@ -79,7 +79,7 @@ def get_data():
{ {
"module_name": "Stock", "module_name": "Stock",
"color": "#f39c12", "color": "#f39c12",
"icon": "icon-truck", "icon": "fa fa-truck",
"icon": "octicon octicon-package", "icon": "octicon octicon-package",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -94,7 +94,7 @@ def get_data():
{ {
"module_name": "Selling", "module_name": "Selling",
"color": "#1abc9c", "color": "#1abc9c",
"icon": "icon-tag", "icon": "fa fa-tag",
"icon": "octicon octicon-tag", "icon": "octicon octicon-tag",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -102,7 +102,7 @@ def get_data():
{ {
"module_name": "Buying", "module_name": "Buying",
"color": "#c0392b", "color": "#c0392b",
"icon": "icon-shopping-cart", "icon": "fa fa-shopping-cart",
"icon": "octicon octicon-briefcase", "icon": "octicon octicon-briefcase",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -110,7 +110,7 @@ def get_data():
{ {
"module_name": "HR", "module_name": "HR",
"color": "#2ecc71", "color": "#2ecc71",
"icon": "icon-group", "icon": "fa fa-group",
"icon": "octicon octicon-organization", "icon": "octicon octicon-organization",
"label": _("Human Resources"), "label": _("Human Resources"),
"type": "module", "type": "module",
@ -119,7 +119,7 @@ def get_data():
{ {
"module_name": "Manufacturing", "module_name": "Manufacturing",
"color": "#7f8c8d", "color": "#7f8c8d",
"icon": "icon-cogs", "icon": "fa fa-cogs",
"icon": "octicon octicon-tools", "icon": "octicon octicon-tools",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -127,7 +127,7 @@ def get_data():
{ {
"module_name": "POS", "module_name": "POS",
"color": "#589494", "color": "#589494",
"icon": "icon-th", "icon": "fa fa-th",
"icon": "octicon octicon-credit-card", "icon": "octicon octicon-credit-card",
"type": "page", "type": "page",
"link": "pos", "link": "pos",
@ -136,7 +136,7 @@ def get_data():
{ {
"module_name": "Projects", "module_name": "Projects",
"color": "#8e44ad", "color": "#8e44ad",
"icon": "icon-puzzle-piece", "icon": "fa fa-puzzle-piece",
"icon": "octicon octicon-rocket", "icon": "octicon octicon-rocket",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -144,7 +144,7 @@ def get_data():
{ {
"module_name": "Support", "module_name": "Support",
"color": "#2c3e50", "color": "#2c3e50",
"icon": "icon-phone", "icon": "fa fa-phone",
"icon": "octicon octicon-issue-opened", "icon": "octicon octicon-issue-opened",
"type": "module", "type": "module",
"hidden": 1 "hidden": 1
@ -231,7 +231,7 @@ def get_data():
{ {
"module_name": "Assessment", "module_name": "Assessment",
"color": "#8a70be", "color": "#8a70be",
"icon": "icon-file-text-alt", "icon": "fa fa-file-text-alt",
"label": _("Assessment"), "label": _("Assessment"),
"link": "List/Assessment", "link": "List/Assessment",
"_doctype": "Assessment", "_doctype": "Assessment",
@ -240,7 +240,7 @@ def get_data():
{ {
"module_name": "Fees", "module_name": "Fees",
"color": "#83C21E", "color": "#83C21E",
"icon": "icon-money", "icon": "fa fa-money",
"label": _("Fees"), "label": _("Fees"),
"link": "List/Fees", "link": "List/Fees",
"_doctype": "Fees", "_doctype": "Fees",
@ -258,7 +258,7 @@ def get_data():
{ {
"module_name": "Room", "module_name": "Room",
"color": "#f22683", "color": "#f22683",
"icon": "icon-map-marker", "icon": "fa fa-map-marker",
"label": _("Room"), "label": _("Room"),
"link": "List/Room", "link": "List/Room",
"_doctype": "Room", "_doctype": "Room",

View File

@ -1,3 +1,7 @@
from __future__ import unicode_literals
docs_version = "7.x.x"
source_link = "https://github.com/frappe/erpnext" source_link = "https://github.com/frappe/erpnext"
docs_base_url = "https://frappe.github.io/erpnext" docs_base_url = "https://frappe.github.io/erpnext"
headline = "ERPNext Documentation" headline = "ERPNext Documentation"
@ -15,14 +19,16 @@ ERPNext is Open Source under the GNU General Public Licence v3 and has been
listed as one of the Best Open Source Softwares in the world by many online listed as one of the Best Open Source Softwares in the world by many online
blogs.""" blogs."""
docs_version = "6.x.x"
splash_light_background = True splash_light_background = True
google_analytics_id = 'UA-8911157-22'
def get_context(context): def get_context(context):
context.brand_html = "ERPNext" context.brand_html = ('<img class="brand-logo" src="'+context.docs_base_url
+'/assets/img/erpnext-docs.png"> ERPNext</img>')
context.app.splash_light_background = True context.app.splash_light_background = True
context.top_bar_items = [ context.top_bar_items = [
{"label": "User Manual", "url": context.docs_base_url + "/user/manual", "right": 1}, {"label": "User Manual", "url": context.docs_base_url + "/user/manual", "right": 1},
{"label": "Videos", "url": context.docs_base_url + "/user/videos", "right": 1}, {"label": "Videos", "url": context.docs_base_url + "/user/videos", "right": 1},
{"label": "API Documentation", "url": context.docs_base_url + "/current", "right": 1} {"label": "API", "url": context.docs_base_url + "/current", "right": 1},
{"label": "Forum", "url": 'https://discuss.erpnext.com', "right": 1}
] ]

View File

@ -150,15 +150,26 @@ def get_data():
}, },
{ {
"label": _("Tools"), "label": _("Training"),
"icon": "icon-wrench",
"items": [ "items": [
{
] "type": "doctype",
"name": "Training Event"
}, },
{
"type": "doctype",
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
]
},
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -185,11 +196,15 @@ def get_data():
"name": "Designation", "name": "Designation",
"description": _("Employee designation (e.g. CEO, Director etc.).") "description": _("Employee designation (e.g. CEO, Director etc.).")
}, },
{
"type": "doctype",
"name": "Daily Work Summary Settings"
},
] ]
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -231,7 +246,7 @@ def get_data():
}, },
{ {
"label": _("Help"), "label": _("Help"),
"icon": "icon-facetime-video", "icon": "fa fa-facetime-video",
"items": [ "items": [
{ {
"type": "help", "type": "help",

View File

@ -4,7 +4,7 @@ def get_data():
return [ return [
{ {
"label": _("Maintenance"), "label": _("Maintenance"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",

View File

@ -5,7 +5,7 @@ def get_data():
return [ return [
{ {
"label": _("Production"), "label": _("Production"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -41,7 +41,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "BOM", "name": "BOM",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("BOM Browser"), "label": _("BOM Browser"),
"description": _("Tree of Bill of Materials"), "description": _("Tree of Bill of Materials"),
"link": "Tree/BOM", "link": "Tree/BOM",
@ -66,7 +66,7 @@ def get_data():
}, },
{ {
"label": _("Tools"), "label": _("Tools"),
"icon": "icon-wrench", "icon": "fa fa-wrench",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -87,7 +87,7 @@ def get_data():
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -123,7 +123,7 @@ def get_data():
}, },
{ {
"label": _("Help"), "label": _("Help"),
"icon": "icon-facetime-video", "icon": "fa fa-facetime-video",
"items": [ "items": [
{ {
"type": "help", "type": "help",

View File

@ -5,7 +5,7 @@ def get_data():
return [ return [
{ {
"label": _("Projects"), "label": _("Projects"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -48,7 +48,7 @@ def get_data():
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -66,7 +66,7 @@ def get_data():
}, },
{ {
"label": _("Help"), "label": _("Help"),
"icon": "icon-facetime-video", "icon": "fa fa-facetime-video",
"items": [ "items": [
{ {
"type": "help", "type": "help",

View File

@ -48,6 +48,45 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Program Enrollment Tool" "name": "Program Enrollment Tool"
},
{
"type": "doctype",
"name": "Student Batch Creation Tool"
}
]
},
{
"label": _("Attendance"),
"items": [
{
"type": "doctype",
"name": "Student Attendance"
},
{
"type": "doctype",
"name": "Student Leave Application"
},
{
"type": "doctype",
"name": "Student Attendance Tool"
},
{
"type": "report",
"is_query_report": True,
"name": "Absent Student Report",
"doctype": "Student Attendance"
},
{
"type": "report",
"is_query_report": True,
"name": "Student Batch-Wise Attendance",
"doctype": "Student Attendance"
},
{
"type": "report",
"is_query_report": True,
"name": "Student Monthly Attendance Sheet",
"doctype": "Student Attendance"
} }
] ]
}, },
@ -61,8 +100,13 @@ def get_data():
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Student Attendance" "name": "Course Scheduling Tool"
}
]
}, },
{
"label": _("Assessment"),
"items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Assessment" "name": "Assessment"
@ -73,7 +117,7 @@ def get_data():
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Scheduling Tool" "name": "Grading Structure"
} }
] ]
}, },
@ -128,14 +172,6 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Program" "name": "Program"
}, },
{
"type": "doctype",
"name": "Student Category"
},
{
"type": "doctype",
"name": "Grading Structure"
},
{ {
"type": "doctype", "type": "doctype",
"name": "Instructor" "name": "Instructor"
@ -144,6 +180,14 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Room" "name": "Room"
}, },
{
"type": "doctype",
"name": "Student Category"
},
{
"type": "doctype",
"name": "Student Batch Name"
},
{ {
"type": "doctype", "type": "doctype",
"name": "Academic Term" "name": "Academic Term"

View File

@ -5,7 +5,7 @@ def get_data():
return [ return [
{ {
"label": _("Sales"), "label": _("Sales"),
"icon": "icon-star", "icon": "fa fa-star",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -31,7 +31,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Customer Group"), "label": _("Customer Group"),
"name": "Customer Group", "name": "Customer Group",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Customer Group", "link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."), "description": _("Manage Customer Group Tree."),
}, },
@ -69,7 +69,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Item Group", "name": "Item Group",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("Item Group"), "label": _("Item Group"),
"link": "Tree/Item Group", "link": "Tree/Item Group",
"description": _("Tree of Item Groups."), "description": _("Tree of Item Groups."),
@ -100,7 +100,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Territory"), "label": _("Territory"),
"name": "Territory", "name": "Territory",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Territory", "link": "Tree/Territory",
"description": _("Manage Territory Tree."), "description": _("Manage Territory Tree."),
}, },
@ -113,7 +113,7 @@ def get_data():
"type": "doctype", "type": "doctype",
"label": _("Sales Person"), "label": _("Sales Person"),
"name": "Sales Person", "name": "Sales Person",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"link": "Tree/Sales Person", "link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."), "description": _("Manage Sales Person Tree."),
}, },
@ -135,7 +135,7 @@ def get_data():
}, },
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -167,26 +167,26 @@ def get_data():
}, },
{ {
"label": _("Analytics"), "label": _("Analytics"),
"icon": "icon-table", "icon": "fa fa-table",
"items": [ "items": [
{ {
"type": "page", "type": "page",
"name": "sales-analytics", "name": "sales-analytics",
"label": _("Sales Analytics"), "label": _("Sales Analytics"),
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
}, },
{ {
"type": "page", "type": "page",
"name": "sales-funnel", "name": "sales-funnel",
"label": _("Sales Funnel"), "label": _("Sales Funnel"),
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
}, },
{ {
"type": "report", "type": "report",
"is_query_report": True, "is_query_report": True,
"name": "Customer Acquisition and Loyalty", "name": "Customer Acquisition and Loyalty",
"doctype": "Customer", "doctype": "Customer",
"icon": "icon-bar-chart", "icon": "fa fa-bar-chart",
}, },
{ {
"type": "report", "type": "report",
@ -204,7 +204,7 @@ def get_data():
}, },
{ {
"label": _("Other Reports"), "label": _("Other Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -270,7 +270,7 @@ def get_data():
}, },
{ {
"label": _("SMS"), "label": _("SMS"),
"icon": "icon-wrench", "icon": "fa fa-wrench",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",

View File

@ -6,7 +6,7 @@ def get_data():
data = [ data = [
{ {
"label": _("Settings"), "label": _("Settings"),
"icon": "icon-wrench", "icon": "fa fa-wrench",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -19,7 +19,7 @@ def get_data():
}, },
{ {
"label": _("Printing"), "label": _("Printing"),
"icon": "icon-print", "icon": "fa fa-print",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -75,7 +75,7 @@ def get_data():
}, },
{ {
"label": _("Customize"), "label": _("Customize"),
"icon": "icon-glass", "icon": "fa fa-glass",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -92,7 +92,7 @@ def get_data():
}, },
{ {
"label": _("Email"), "label": _("Email"),
"icon": "icon-envelope", "icon": "fa fa-envelope",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -109,12 +109,12 @@ def get_data():
] ]
for module, label, icon in ( for module, label, icon in (
("accounts", _("Accounts"), "icon-money"), ("accounts", _("Accounts"), "fa fa-money"),
("stock", _("Stock"), "icon-truck"), ("stock", _("Stock"), "fa fa-truck"),
("selling", _("Selling"), "icon-tag"), ("selling", _("Selling"), "fa fa-tag"),
("buying", _("Buying"), "icon-shopping-cart"), ("buying", _("Buying"), "fa fa-shopping-cart"),
("hr", _("Human Resources"), "icon-group"), ("hr", _("Human Resources"), "fa fa-group"),
("support", _("Support"), "icon-phone")): ("support", _("Support"), "fa fa-phone")):
add_setup_section(data, "erpnext", module, label, icon) add_setup_section(data, "erpnext", module, label, icon)

View File

@ -79,7 +79,7 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Item Group", "name": "Item Group",
"icon": "icon-sitemap", "icon": "fa fa-sitemap",
"label": _("Item Group"), "label": _("Item Group"),
"link": "Tree/Item Group", "link": "Tree/Item Group",
"description": _("Tree of Item Groups."), "description": _("Tree of Item Groups."),
@ -140,7 +140,7 @@ def get_data():
}, },
{ {
"label": _("Tools"), "label": _("Tools"),
"icon": "icon-wrench", "icon": "fa fa-wrench",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -166,7 +166,7 @@ def get_data():
}, },
{ {
"label": _("Setup"), "label": _("Setup"),
"icon": "icon-cog", "icon": "fa fa-cog",
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
@ -198,7 +198,7 @@ def get_data():
}, },
{ {
"label": _("Analytics"), "label": _("Analytics"),
"icon": "icon-table", "icon": "fa fa-table",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -210,7 +210,7 @@ def get_data():
"type": "page", "type": "page",
"name": "stock-analytics", "name": "stock-analytics",
"label": _("Stock Analytics"), "label": _("Stock Analytics"),
"icon": "icon-bar-chart" "icon": "fa fa-bar-chart"
}, },
{ {
"type": "report", "type": "report",
@ -229,7 +229,7 @@ def get_data():
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "report", "type": "report",
@ -277,7 +277,7 @@ def get_data():
}, },
{ {
"label": _("Help"), "label": _("Help"),
"icon": "icon-facetime-video", "icon": "fa fa-facetime-video",
"items": [ "items": [
{ {
"type": "help", "type": "help",

View File

@ -35,13 +35,13 @@ def get_data():
}, },
{ {
"label": _("Reports"), "label": _("Reports"),
"icon": "icon-list", "icon": "fa fa-list",
"items": [ "items": [
{ {
"type": "page", "type": "page",
"name": "support-analytics", "name": "support-analytics",
"label": _("Support Analytics"), "label": _("Support Analytics"),
"icon": "icon-bar-chart" "icon": "fa fa-bar-chart"
}, },
{ {
"type": "report", "type": "report",

View File

@ -63,6 +63,11 @@ class AccountsController(TransactionBase):
if self.doctype == 'Purchase Invoice': if self.doctype == 'Purchase Invoice':
self.validate_paid_amount() self.validate_paid_amount()
def before_print(self):
if self.doctype in ['Purchase Order', 'Sales Order']:
if self.get("group_same_items"):
self.group_similar_items()
def validate_paid_amount(self): def validate_paid_amount(self):
if hasattr(self, "is_pos") or hasattr(self, "is_paid"): if hasattr(self, "is_pos") or hasattr(self, "is_paid"):
is_paid = self.get("is_pos") or self.get("is_paid") is_paid = self.get("is_pos") or self.get("is_paid")
@ -122,6 +127,11 @@ class AccountsController(TransactionBase):
validate_due_date(self.posting_date, self.due_date, "Supplier", self.supplier, self.company) validate_due_date(self.posting_date, self.due_date, "Supplier", self.supplier, self.company)
def set_price_list_currency(self, buying_or_selling): def set_price_list_currency(self, buying_or_selling):
if self.meta.get_field("posting_date"):
transaction_date = self.posting_date
else:
transaction_date = self.transaction_date
if self.meta.get_field("currency"): if self.meta.get_field("currency"):
# price list part # price list part
fieldname = "selling_price_list" if buying_or_selling.lower() == "selling" \ fieldname = "selling_price_list" if buying_or_selling.lower() == "selling" \
@ -134,8 +144,8 @@ class AccountsController(TransactionBase):
self.plc_conversion_rate = 1.0 self.plc_conversion_rate = 1.0
elif not self.plc_conversion_rate: elif not self.plc_conversion_rate:
self.plc_conversion_rate = get_exchange_rate( self.plc_conversion_rate = get_exchange_rate(self.price_list_currency,
self.price_list_currency, self.company_currency) self.company_currency, transaction_date)
# currency # currency
if not self.currency: if not self.currency:
@ -145,7 +155,7 @@ class AccountsController(TransactionBase):
self.conversion_rate = 1.0 self.conversion_rate = 1.0
elif not self.conversion_rate: elif not self.conversion_rate:
self.conversion_rate = get_exchange_rate(self.currency, self.conversion_rate = get_exchange_rate(self.currency,
self.company_currency) self.company_currency, transaction_date)
def set_missing_item_details(self, for_validate=False): def set_missing_item_details(self, for_validate=False):
"""set missing item values""" """set missing item values"""
@ -576,6 +586,27 @@ class AccountsController(TransactionBase):
frappe.db.set_value(self.doctype, self.name, "total_advance", frappe.db.set_value(self.doctype, self.name, "total_advance",
total_allocated_amount, update_modified=False) total_allocated_amount, update_modified=False)
def group_similar_items(self):
group_item_qty = {}
group_item_amount = {}
for item in self.items:
group_item_qty[item.item_code] = group_item_qty.get(item.item_code, 0) + item.qty
group_item_amount[item.item_code] = group_item_amount.get(item.item_code, 0) + item.amount
duplicate_list = []
for item in self.items:
if item.item_code in group_item_qty:
item.qty = group_item_qty[item.item_code]
item.amount = group_item_amount[item.item_code]
del group_item_qty[item.item_code]
else:
duplicate_list.append(item)
for item in duplicate_list:
self.remove(item)
@frappe.whitelist() @frappe.whitelist()
def get_tax_rate(account_head): def get_tax_rate(account_head):
return frappe.db.get_value("Account", account_head, ["tax_rate", "account_name"], as_dict=True) return frappe.db.get_value("Account", account_head, ["tax_rate", "account_name"], as_dict=True)

View File

@ -14,15 +14,17 @@ def validate_status(status, options):
status_map = { status_map = {
"Lead": [ "Lead": [
["Converted", "has_customer"], ["Lost Quotation", "has_lost_quotation"],
["Opportunity", "has_opportunity"], ["Opportunity", "has_opportunity"],
["Quotation", "has_quotation"],
["Converted", "has_customer"],
], ],
"Opportunity": [ "Opportunity": [
["Quotation", "has_quotation"], ["Quotation", "has_quotation"],
["Converted", "has_ordered_quotation"], ["Converted", "has_ordered_quotation"],
["Lost", "eval:self.status=='Lost'"], ["Lost", "eval:self.status=='Lost'"],
["Lost", "has_lost_quotation"],
["Closed", "eval:self.status=='Closed'"] ["Closed", "eval:self.status=='Closed'"]
], ],
"Quotation": [ "Quotation": [
["Draft", None], ["Draft", None],

View File

@ -11,6 +11,10 @@ from erpnext.accounts.general_ledger import make_gl_entries, delete_gl_entries,
from erpnext.controllers.accounts_controller import AccountsController from erpnext.controllers.accounts_controller import AccountsController
class StockController(AccountsController): class StockController(AccountsController):
def validate(self):
super(StockController, self).validate()
self.validate_inspection()
def make_gl_entries(self, repost_future_gle=True): def make_gl_entries(self, repost_future_gle=True):
if self.docstatus == 2: if self.docstatus == 2:
delete_gl_entries(voucher_type=self.doctype, voucher_no=self.name) delete_gl_entries(voucher_type=self.doctype, voucher_no=self.name)
@ -39,31 +43,34 @@ class StockController(AccountsController):
gl_list = [] gl_list = []
warehouse_with_no_account = [] warehouse_with_no_account = []
for detail in voucher_details: for item_row in voucher_details:
sle_list = sle_map.get(detail.name) sle_list = sle_map.get(item_row.name)
if sle_list: if sle_list:
for sle in sle_list: for sle in sle_list:
if warehouse_account.get(sle.warehouse): if warehouse_account.get(sle.warehouse):
# from warehouse account # from warehouse account
self.check_expense_account(detail) self.check_expense_account(item_row)
if not sle.stock_value_difference:
self.validate_negative_stock(sle)
gl_list.append(self.get_gl_dict({ gl_list.append(self.get_gl_dict({
"account": warehouse_account[sle.warehouse]["name"], "account": warehouse_account[sle.warehouse]["name"],
"against": detail.expense_account, "against": item_row.expense_account,
"cost_center": detail.cost_center, "cost_center": item_row.cost_center,
"remarks": self.get("remarks") or "Accounting Entry for Stock", "remarks": self.get("remarks") or "Accounting Entry for Stock",
"debit": flt(sle.stock_value_difference, 2), "debit": flt(sle.stock_value_difference, 2),
}, warehouse_account[sle.warehouse]["account_currency"])) }, warehouse_account[sle.warehouse]["account_currency"]))
# to target warehouse / expense account # to target warehouse / expense account
gl_list.append(self.get_gl_dict({ gl_list.append(self.get_gl_dict({
"account": detail.expense_account, "account": item_row.expense_account,
"against": warehouse_account[sle.warehouse]["name"], "against": warehouse_account[sle.warehouse]["name"],
"cost_center": detail.cost_center, "cost_center": item_row.cost_center,
"remarks": self.get("remarks") or "Accounting Entry for Stock", "remarks": self.get("remarks") or "Accounting Entry for Stock",
"credit": flt(sle.stock_value_difference, 2), "credit": flt(sle.stock_value_difference, 2),
"project": detail.get("project") or self.get("project") "project": item_row.get("project") or self.get("project")
})) }))
elif sle.warehouse not in warehouse_with_no_account: elif sle.warehouse not in warehouse_with_no_account:
warehouse_with_no_account.append(sle.warehouse) warehouse_with_no_account.append(sle.warehouse)
@ -78,6 +85,12 @@ class StockController(AccountsController):
return process_gl_map(gl_list) return process_gl_map(gl_list)
def validate_negative_stock(self, sle):
if sle.qty_after_transaction < 0 and sle.actual_qty < 0:
frappe.throw(_("For the Item {0}, valuation rate not found for warehouse {1}. To be able to do accounting entries (for booking expenses), we need valuation rate for item {2}. Please create an incoming stock transaction, on or before {3} {4}, and then try submiting {5}")
.format(sle.item_code, sle.warehouse,
sle.item_code, sle.posting_date, sle.posting_time, self.name))
def get_voucher_details(self, default_expense_account, default_cost_center, sle_map): def get_voucher_details(self, default_expense_account, default_cost_center, sle_map):
if self.doctype == "Stock Reconciliation": if self.doctype == "Stock Reconciliation":
return [frappe._dict({ "name": voucher_detail_no, "expense_account": default_expense_account, return [frappe._dict({ "name": voucher_detail_no, "expense_account": default_expense_account,
@ -126,7 +139,7 @@ class StockController(AccountsController):
def get_stock_ledger_details(self): def get_stock_ledger_details(self):
stock_ledger = {} stock_ledger = {}
for sle in frappe.db.sql("""select warehouse, stock_value_difference, for sle in frappe.db.sql("""select warehouse, stock_value_difference,
voucher_detail_no, item_code, posting_date, actual_qty voucher_detail_no, item_code, posting_date, posting_time, actual_qty, qty_after_transaction
from `tabStock Ledger Entry` where voucher_type=%s and voucher_no=%s""", from `tabStock Ledger Entry` where voucher_type=%s and voucher_no=%s""",
(self.doctype, self.name), as_dict=True): (self.doctype, self.name), as_dict=True):
stock_ledger.setdefault(sle.voucher_detail_no, []).append(sle) stock_ledger.setdefault(sle.voucher_detail_no, []).append(sle)
@ -254,6 +267,28 @@ class StockController(AccountsController):
"name": self.name, "name": self.name,
}, update_modified) }, update_modified)
def validate_inspection(self):
'''Checks if quality inspection is set for Items that require inspection.
On submit, throw an exception'''
inspection_required_fieldname = None
if self.doctype in ["Purchase Receipt", "Purchase Invoice"]:
inspection_required_fieldname = "inspection_required_before_purchase"
elif self.doctype in ["Delivery Note", "Sales Invoice"]:
inspection_required_fieldname = "inspection_required_before_delivery"
if not inspection_required_fieldname or \
(self.doctype in ["Sales Invoice", "Purchase Invoice"] and not self.update_stock):
return
for d in self.get('items'):
if (frappe.db.get_value("Item", d.item_code, inspection_required_fieldname)
and not d.quality_inspection):
frappe.msgprint(_("Quality Inspection required for Item {0}").format(d.item_code))
if self.docstatus==1:
raise frappe.ValidationError
def update_gl_entries_after(posting_date, posting_time, for_warehouses=None, for_items=None, def update_gl_entries_after(posting_date, posting_time, for_warehouses=None, for_items=None,
warehouse_account=None): warehouse_account=None):
def _delete_gl_entries(voucher_type, voucher_no): def _delete_gl_entries(voucher_type, voucher_no):

View File

@ -23,10 +23,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-user", "options": "fa fa-user",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -50,6 +51,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -79,6 +81,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Person Name", "label": "Person Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -107,6 +110,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Organization Name", "label": "Organization Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -135,6 +139,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Email Id", "label": "Email Id",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -164,6 +169,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -191,12 +197,13 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Lead\nOpen\nReplied\nOpportunity\nInterested\nConverted\nDo Not Contact", "options": "Lead\nOpen\nReplied\nOpportunity\nQuotation\nLost Quotation\nInterested\nConverted\nDo Not Contact",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -220,6 +227,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Source", "label": "Source",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -250,6 +258,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "From Customer", "label": "From Customer",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -281,6 +290,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Campaign Name", "label": "Campaign Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -310,6 +320,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Image", "label": "Image",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -337,6 +348,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -364,6 +376,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Lead Owner", "label": "Lead Owner",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -393,6 +406,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -419,6 +433,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Contact By", "label": "Next Contact By",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -450,6 +465,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Contact Date", "label": "Next Contact Date",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -479,11 +495,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address & Contact", "label": "Address & Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"options": "icon-map-marker", "options": "fa fa-map-marker",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -508,6 +525,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address Desc", "label": "Address Desc",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -534,6 +552,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address HTML", "label": "Address HTML",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -560,6 +579,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -585,6 +605,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Phone", "label": "Phone",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -613,6 +634,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mobile No.", "label": "Mobile No.",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -641,6 +663,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Fax", "label": "Fax",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -669,6 +692,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Website", "label": "Website",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -698,6 +722,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Territory", "label": "Territory",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -727,11 +752,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "More Information", "label": "More Information",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -755,6 +781,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Lead Type", "label": "Lead Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -784,6 +811,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Market Segment", "label": "Market Segment",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -813,6 +841,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Industry", "label": "Industry",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -842,6 +871,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Request Type", "label": "Request Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -871,6 +901,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -898,6 +929,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -927,6 +959,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Unsubscribed", "label": "Unsubscribed",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -953,6 +986,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Blog Subscriber", "label": "Blog Subscriber",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -970,7 +1004,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-user", "icon": "fa fa-user",
"idx": 5, "idx": 5,
"image_field": "image", "image_field": "image",
"image_view": 0, "image_view": 0,
@ -980,7 +1014,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:58:17.035538", "modified": "2016-12-15 05:16:25.037080",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Lead", "name": "Lead",

View File

@ -82,6 +82,21 @@ class Lead(SellingController):
def has_opportunity(self): def has_opportunity(self):
return frappe.db.get_value("Opportunity", {"lead": self.name, "status": ["!=", "Lost"]}) return frappe.db.get_value("Opportunity", {"lead": self.name, "status": ["!=", "Lost"]})
def has_quotation(self):
return frappe.db.get_value("Quotation", {
"lead": self.name,
"docstatus": 1,
"status": ["!=", "Lost"]
})
def has_lost_quotation(self):
return frappe.db.get_value("Quotation", {
"lead": self.name,
"docstatus": 1,
"status": "Lost"
})
@frappe.whitelist() @frappe.whitelist()
def make_customer(source_name, target_doc=None): def make_customer(source_name, target_doc=None):
return _make_customer(source_name, target_doc) return _make_customer(source_name, target_doc)

View File

@ -24,10 +24,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-user", "options": "fa fa-user",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -51,6 +52,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Series", "label": "Series",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -80,6 +82,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Opportunity From", "label": "Opportunity From",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -110,6 +113,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Customer", "label": "Customer",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -140,6 +144,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Lead", "label": "Lead",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -170,6 +175,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer / Lead Name", "label": "Customer / Lead Name",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -196,6 +202,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -223,6 +230,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -251,6 +259,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Opportunity Type", "label": "Opportunity Type",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -281,6 +290,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Status", "label": "Status",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -311,6 +321,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Lost Reason", "label": "Lost Reason",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -337,6 +348,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Mins to first response", "label": "Mins to first response",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -364,6 +376,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "With Items", "label": "With Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -392,11 +405,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "", "label": "",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-shopping-cart", "options": "fa fa-shopping-cart",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -421,6 +435,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Items", "label": "Items",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -452,10 +467,11 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Info", "label": "Contact Info",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "icon-bullhorn", "options": "fa fa-bullhorn",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -480,6 +496,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer / Lead Address", "label": "Customer / Lead Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -507,6 +524,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Address", "label": "Address",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -537,6 +555,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 0,
"label": "Territory", "label": "Territory",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -566,6 +585,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Customer Group", "label": "Customer Group",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -595,6 +615,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"permlevel": 0, "permlevel": 0,
@ -621,6 +642,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Person", "label": "Contact Person",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -649,6 +671,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact", "label": "Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -676,6 +699,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Email", "label": "Contact Email",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -703,6 +727,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Contact Mobile No", "label": "Contact Mobile No",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -730,11 +755,12 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Source", "label": "Source",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "icon-file-text", "options": "fa fa-file-text",
"permlevel": 0, "permlevel": 0,
"print_hide": 0, "print_hide": 0,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -758,6 +784,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Source", "label": "Source",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -788,6 +815,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Campaign", "label": "Campaign",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -817,6 +845,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -844,6 +873,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Company", "label": "Company",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -874,6 +904,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Opportunity Date", "label": "Opportunity Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -904,6 +935,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Contact", "label": "Next Contact",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -932,6 +964,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 1, "in_filter": 1,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 1,
"label": "Next Contact By", "label": "Next Contact By",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -963,6 +996,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Next Contact Date", "label": "Next Contact Date",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
@ -991,6 +1025,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
@ -1018,6 +1053,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "To Discuss", "label": "To Discuss",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1046,6 +1082,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0,
"label": "Amended From", "label": "Amended From",
"length": 0, "length": 0,
"no_copy": 1, "no_copy": 1,
@ -1067,7 +1104,7 @@
], ],
"hide_heading": 0, "hide_heading": 0,
"hide_toolbar": 0, "hide_toolbar": 0,
"icon": "icon-info-sign", "icon": "fa fa-info-sign",
"idx": 195, "idx": 195,
"image_view": 0, "image_view": 0,
"in_create": 0, "in_create": 0,
@ -1076,7 +1113,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-11-03 15:58:37.392157", "modified": "2016-11-07 05:55:17.785342",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Opportunity", "name": "Opportunity",

View File

@ -64,7 +64,7 @@ class Opportunity(TransactionBase):
lead = frappe.get_doc({ lead = frappe.get_doc({
"doctype": "Lead", "doctype": "Lead",
"email_id": self.contact_email, "email_id": self.contact_email,
"lead_name": sender_name "lead_name": sender_name or 'Unknown'
}) })
lead.flags.ignore_email_validation = True lead.flags.ignore_email_validation = True
@ -91,6 +91,14 @@ class Opportunity(TransactionBase):
return frappe.db.sql("""select q.name from `tabQuotation` q, `tabQuotation Item` qi return frappe.db.sql("""select q.name from `tabQuotation` q, `tabQuotation Item` qi
where q.name = qi.parent and q.docstatus=1 and qi.prevdoc_docname =%s and q.status = 'Ordered'""", self.name) where q.name = qi.parent and q.docstatus=1 and qi.prevdoc_docname =%s and q.status = 'Ordered'""", self.name)
def has_lost_quotation(self):
return frappe.db.sql("""
select q.name
from `tabQuotation` q, `tabQuotation Item` qi
where q.name = qi.parent and q.docstatus=1
and qi.prevdoc_docname =%s and q.status = 'Lost'
""", self.name)
def validate_cust_name(self): def validate_cust_name(self):
if self.customer: if self.customer:
self.customer_name = frappe.db.get_value("Customer", self.customer, "customer_name") self.customer_name = frappe.db.get_value("Customer", self.customer, "customer_name")
@ -205,7 +213,8 @@ def make_quotation(source_name, target_doc=None):
if company_currency == quotation.currency: if company_currency == quotation.currency:
exchange_rate = 1 exchange_rate = 1
else: else:
exchange_rate = get_exchange_rate(quotation.currency, company_currency) exchange_rate = get_exchange_rate(quotation.currency, company_currency,
quotation.transaction_date)
quotation.conversion_rate = exchange_rate quotation.conversion_rate = exchange_rate

Some files were not shown because too many files have changed in this diff Show More