diff --git a/.eslintrc b/.eslintrc
index 4dd12168534..c9a1b0365bf 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -52,6 +52,7 @@
"frappe": true,
"erpnext": true,
"schools": true,
+ "education": true,
"$": true,
"jQuery": true,
diff --git a/.travis.yml b/.travis.yml
index 8681c03f55d..d57b2d8a694 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,7 +29,7 @@ install:
- cp -r $TRAVIS_BUILD_DIR/test_sites/test_site ~/frappe-bench/sites/
before_script:
- - wget http://chromedriver.storage.googleapis.com/2.27/chromedriver_linux64.zip
+ - wget http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo apt-get install libnss3
- sudo apt-get --only-upgrade install google-chrome-stable
@@ -64,4 +64,10 @@ jobs:
- bench execute erpnext.setup.utils.enable_all_roles_and_domains
- bench run-ui-tests --app erpnext
env: Client Side Test
+ - # stage
+ script:
+ - wget http://build.erpnext.com/20171108_190013_955977f8_database.sql.gz
+ - bench --force restore ~/frappe-bench/20171108_190013_955977f8_database.sql.gz --mariadb-root-password travis
+ - bench migrate
+ env: Patch Testing
diff --git a/erpnext/__init__.py b/erpnext/__init__.py
index a55d0e7562a..b16e299dc4b 100644
--- a/erpnext/__init__.py
+++ b/erpnext/__init__.py
@@ -4,7 +4,7 @@ import inspect
import frappe
from erpnext.hooks import regional_overrides
-__version__ = '9.2.13'
+__version__ = '9.2.16'
def get_default_company(user=None):
'''Get default company for user'''
diff --git a/erpnext/accounts/doctype/account/account.js b/erpnext/accounts/doctype/account/account.js
index ca46d6b0e56..3a86fbcda9f 100644
--- a/erpnext/accounts/doctype/account/account.js
+++ b/erpnext/accounts/doctype/account/account.js
@@ -47,6 +47,12 @@ frappe.ui.form.on('Account', {
// show / hide convert buttons
frm.trigger('add_toolbar_buttons');
}
+
+ if(!frm.doc.__islocal) {
+ frm.add_custom_button(__('Update Account Number'), function () {
+ frm.trigger("update_account_number");
+ });
+ }
},
account_type: function (frm) {
if (frm.doc.is_group == 0) {
@@ -90,6 +96,46 @@ frappe.ui.form.on('Account', {
});
});
}
+ },
+ update_account_number: function(frm) {
+ var d = new frappe.ui.Dialog({
+ title: __('Update Account Number'),
+ fields: [
+ {
+ "label": "Account Number",
+ "fieldname": "account_number",
+ "fieldtype": "Data",
+ "reqd": 1
+ }
+ ],
+ primary_action: function() {
+ var data = d.get_values();
+ if(data.account_number === frm.doc.account_number) {
+ d.hide();
+ return;
+ }
+
+ frappe.call({
+ method: "erpnext.accounts.doctype.account.account.update_account_number",
+ args: {
+ account_number: data.account_number,
+ name: frm.doc.name
+ },
+ callback: function(r) {
+ if(!r.exc) {
+ if(r.message) {
+ frappe.set_route("Form", "Account", r.message);
+ } else {
+ frm.set_value("account_number", data.account_number);
+ }
+ d.hide();
+ }
+ }
+ });
+ },
+ primary_action_label: __('Update')
+ });
+ d.show();
}
});
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json
index 8de923f2e00..8731c5108f6 100644
--- a/erpnext/accounts/doctype/account/account.json
+++ b/erpnext/accounts/doctype/account/account.json
@@ -102,6 +102,36 @@
"set_only_once": 0,
"unique": 0
},
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "account_number",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 1,
+ "label": "Account Number",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
@@ -545,7 +575,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2017-08-11 15:28:35.855809",
+ "modified": "2017-08-22 17:39:10.711343",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Account",
@@ -655,7 +685,7 @@
"quick_entry": 0,
"read_only": 0,
"read_only_onload": 0,
- "search_fields": "",
+ "search_fields": "account_number",
"show_name_in_global_search": 1,
"sort_order": "ASC",
"track_changes": 1,
diff --git a/erpnext/accounts/doctype/account/account.py b/erpnext/accounts/doctype/account/account.py
index b31c5d65290..36f8ce2c3b2 100644
--- a/erpnext/accounts/doctype/account/account.py
+++ b/erpnext/accounts/doctype/account/account.py
@@ -3,14 +3,14 @@
from __future__ import unicode_literals
import frappe
-from frappe.utils import cint, fmt_money
+from frappe.utils import cint, cstr
from frappe import throw, _
-from frappe.model.document import Document
+from frappe.utils.nestedset import NestedSet
class RootNotEditable(frappe.ValidationError): pass
class BalanceMismatchError(frappe.ValidationError): pass
-class Account(Document):
+class Account(NestedSet):
nsm_parent_field = 'parent_account'
def onload(self):
@@ -20,18 +20,14 @@ class Account(Document):
self.set_onload("can_freeze_account", True)
def autoname(self):
- # first validate if company exists
- company = frappe.db.get_value("Company", self.company, ["abbr", "name"], as_dict=True)
- if not company:
- frappe.throw(_('Company {0} does not exist').format(self.company))
-
- self.name = self.account_name.strip() + ' - ' + company.abbr
+ self.name = get_account_autoname(self.account_number, self.account_name, self.company)
def validate(self):
if frappe.local.flags.allow_unverified_charts:
return
self.validate_parent()
self.validate_root_details()
+ validate_account_number(self.name, self.account_number, self.company)
self.validate_group_or_ledger()
self.set_root_and_report_type()
self.validate_mandatory()
@@ -56,12 +52,15 @@ class Account(Document):
def set_root_and_report_type(self):
if self.parent_account:
- par = frappe.db.get_value("Account", self.parent_account, ["report_type", "root_type"], as_dict=1)
+ par = frappe.db.get_value("Account", self.parent_account,
+ ["report_type", "root_type", "account_type"], as_dict=1)
if par.report_type:
self.report_type = par.report_type
if par.root_type:
self.root_type = par.root_type
+ if par.account_type and not self.account_type:
+ self.account_type = par.account_type
if self.is_group:
db_value = frappe.db.get_value("Account", self.name, ["report_type", "root_type"], as_dict=1)
@@ -161,31 +160,18 @@ class Account(Document):
if not self.report_type:
throw(_("Report Type is mandatory"))
-
- def update_nsm_model(self):
- """update lft, rgt indices for nested set model"""
- import frappe
- import frappe.utils.nestedset
- frappe.utils.nestedset.update_nsm(self)
-
- def on_update(self):
- self.update_nsm_model()
-
- def validate_trash(self):
- """checks gl entries and if child exists"""
+ def on_trash(self):
+ # checks gl entries and if child exists
if self.check_gle_exists():
throw(_("Account with existing transaction can not be deleted"))
- if self.check_if_child_exists():
- throw(_("Child account exists for this account. You can not delete this account."))
- def on_trash(self):
- self.validate_trash()
- self.update_nsm_model()
+ super(Account, self).on_trash()
def before_rename(self, old, new, merge=False):
# Add company abbr if not provided
from erpnext.setup.doctype.company.company import get_name_with_abbr
new_account = get_name_with_abbr(new, self.company)
+ new_account = get_name_with_number(new_account, self.account_number)
# Validate properties before merging
if merge:
@@ -208,7 +194,25 @@ class Account(Document):
super(Account, self).after_rename(old, new, merge)
if not merge:
- frappe.db.set_value("Account", new, "account_name", " - ".join(new.split(" - ")[:-1]))
+ new_acc = frappe.db.get_value("Account", new, ["account_name", "account_number"], as_dict=1)
+
+ # exclude company abbr
+ new_parts = new.split(" - ")[:-1]
+ # update account number and remove from parts
+ if new_parts[0][0].isdigit():
+ # if account number is separate by space, split using space
+ if len(new_parts) == 1:
+ new_parts = new.split(" ")
+ if new_acc.account_number != new_parts[0]:
+ self.account_number = new_parts[0]
+ self.db_set("account_number", new_parts[0])
+ new_parts = new_parts[1:]
+
+ # update account name
+ account_name = " - ".join(new_parts)
+ if new_acc.account_name != account_name:
+ self.account_name = account_name
+ self.db_set("account_name", account_name)
def get_parent_account(doctype, txt, searchfield, start, page_len, filters):
return frappe.db.sql("""select name from tabAccount
@@ -229,3 +233,46 @@ def get_account_currency(account):
return account_currency
return frappe.local_cache("account_currency", account, generator)
+
+def get_account_autoname(account_number, account_name, company):
+ # first validate if company exists
+ company = frappe.db.get_value("Company", company, ["abbr", "name"], as_dict=True)
+ if not company:
+ frappe.throw(_('Company {0} does not exist').format(company))
+
+ parts = [account_name.strip(), company.abbr]
+ if cstr(account_number).strip():
+ parts.insert(0, cstr(account_number).strip())
+ return ' - '.join(parts)
+
+def validate_account_number(name, account_number, company):
+ if account_number:
+ account_with_same_number = frappe.db.get_value("Account",
+ {"account_number": account_number, "company": company, "name": ["!=", name]})
+ if account_with_same_number:
+ frappe.throw(_("Account Number {0} already used in account {1}")
+ .format(account_number, account_with_same_number))
+
+@frappe.whitelist()
+def update_account_number(name, account_number):
+ account = frappe.db.get_value("Account", name, ["account_name", "company"], as_dict=True)
+
+ validate_account_number(name, account_number, account.company)
+
+ frappe.db.set_value("Account", name, "account_number", account_number)
+
+ account_name = account.account_name
+ if account_name[0].isdigit():
+ separator = " - " if " - " in account_name else " "
+ account_name = account_name.split(separator, 1)[1]
+ frappe.db.set_value("Account", name, "account_name", account_name)
+
+ new_name = get_account_autoname(account_number, account_name, account.company)
+ if name != new_name:
+ frappe.rename_doc("Account", name, new_name)
+ return new_name
+
+def get_name_with_number(new_account, account_number):
+ if account_number and not new_account[0].isdigit():
+ new_account = account_number + " - " + new_account
+ return new_account
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/account_tree.js b/erpnext/accounts/doctype/account/account_tree.js
index 20d760670f5..2f4e09b53ce 100644
--- a/erpnext/accounts/doctype/account/account_tree.js
+++ b/erpnext/accounts/doctype/account/account_tree.js
@@ -24,6 +24,8 @@ frappe.treeview_settings["Account"] = {
fields: [
{fieldtype:'Data', fieldname:'account_name', label:__('New Account Name'), reqd:true,
description: __("Name of new Account. Note: Please don't create accounts for Customers and Suppliers")},
+ {fieldtype:'Data', fieldname:'account_number', label:__('Account Number'),
+ description: __("Number of new Account, it will be included in the account name as a prefix")},
{fieldtype:'Check', fieldname:'is_group', label:__('Is Group'),
description: __('Further accounts can be made under Groups, but entries can be made against non-Groups')},
{fieldtype:'Select', fieldname:'root_type', label:__('Root Type'),
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
index 1e694e7e3a7..dc98db141ee 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
@@ -16,12 +16,12 @@ def create_charts(company, chart_template=None, existing_company=None):
if root_account:
root_type = child.get("root_type")
- if account_name not in ["account_type", "root_type", "is_group", "tax_rate"]:
+ if account_name not in ["account_number", "account_type",
+ "root_type", "is_group", "tax_rate"]:
- account_name_in_db = unidecode(account_name.strip().lower())
- if account_name_in_db in accounts:
- count = accounts.count(account_name_in_db)
- account_name = account_name + " " + cstr(count)
+ account_number = cstr(child.get("account_number")).strip()
+ account_name, account_name_in_db = add_suffix_if_duplicate(account_name,
+ account_number, accounts)
is_group = identify_is_group(child)
report_type = "Balance Sheet" if root_type in ["Asset", "Liability", "Equity"] \
@@ -35,6 +35,7 @@ def create_charts(company, chart_template=None, existing_company=None):
"is_group": is_group,
"root_type": root_type,
"report_type": report_type,
+ "account_number": account_number,
"account_type": child.get("account_type"),
"account_currency": frappe.db.get_value("Company", company, "default_currency"),
"tax_rate": child.get("tax_rate")
@@ -53,10 +54,23 @@ def create_charts(company, chart_template=None, existing_company=None):
_import_accounts(chart, None, None, root_account=True)
+def add_suffix_if_duplicate(account_name, account_number, accounts):
+ if account_number:
+ account_name_in_db = unidecode(" - ".join([account_number,
+ account_name.strip().lower()]))
+ else:
+ account_name_in_db = unidecode(account_name.strip().lower())
+
+ if account_name_in_db in accounts:
+ count = accounts.count(account_name_in_db)
+ account_name = account_name + " " + cstr(count)
+
+ return account_name, account_name_in_db
+
def identify_is_group(child):
if child.get("is_group"):
is_group = child.get("is_group")
- elif len(set(child.keys()) - set(["account_type", "root_type", "is_group", "tax_rate"])):
+ elif len(set(child.keys()) - set(["account_type", "root_type", "is_group", "tax_rate", "account_number"])):
is_group = 1
else:
is_group = 0
@@ -71,6 +85,10 @@ def get_chart(chart_template, existing_company=None):
elif chart_template == "Standard":
from erpnext.accounts.doctype.account.chart_of_accounts.verified import standard_chart_of_accounts
return standard_chart_of_accounts.get()
+ elif chart_template == "Standard with Numbers":
+ from erpnext.accounts.doctype.account.chart_of_accounts.verified \
+ import standard_chart_of_accounts_with_account_number
+ return standard_chart_of_accounts_with_account_number.get()
else:
folders = ("verified",)
if frappe.local.flags.allow_unverified_charts:
@@ -86,7 +104,7 @@ def get_chart(chart_template, existing_company=None):
return json.loads(chart).get("tree")
@frappe.whitelist()
-def get_charts_for_country(country):
+def get_charts_for_country(country, with_standard=False):
charts = []
def _get_chart_name(content):
@@ -111,26 +129,26 @@ def get_charts_for_country(country):
with open(os.path.join(path, fname), "r") as f:
_get_chart_name(f.read())
- if len(charts) != 1:
- charts.append("Standard")
+ if len(charts) != 1 or with_standard:
+ charts += ["Standard", "Standard with Numbers"]
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"],
+ all_accounts = frappe.get_all('Account',
+ filters={'company': existing_company},
+ fields = ["name", "account_name", "parent_account", "account_type",
+ "is_group", "root_type", "tax_rate", "account_number"],
order_by="lft, rgt")
-
+
account_tree = {}
# fill in tree starting with root accounts (those with no parent)
if all_accounts:
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 ""
@@ -139,17 +157,16 @@ def build_account_tree(tree, parent, all_accounts):
# if no children, but a group account
if not children and parent.is_group:
tree["is_group"] = 1
+ tree["account_number"] = parent.account_number
# 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_number"] = child.account_number
if child.account_type:
tree[child.account_name]["account_type"] = child.account_type
if child.tax_rate:
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ar_ar_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ar_ar_chart_template.json
deleted file mode 100644
index 0dfd1bdb440..00000000000
--- a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ar_ar_chart_template.json
+++ /dev/null
@@ -1,209 +0,0 @@
-{
- "country_code": "ar",
- "name": "Argentina - Plan de Cuentas",
- "tree": {
- "Cuentas Patrimoniales": {
- "ACTIVO": {
- "Bienes Inmateriales": {
- "Bienes Inmateriales / (-) Amortizaci\u00f3n Acumulada": {},
- "Bienes Inmateriales / Concesiones y Franquicias": {},
- "Bienes Inmateriales / Marcas de F\u00e1brica": {},
- "Bienes Inmateriales / Patentes de Invenci\u00f3n": {}
- },
- "Bienes de Cambio": {
- "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Bienes de Cambio": {},
- "Bienes de Cambio - Mercader\u00edas": {
- "Bienes de Cambio - Mercader\u00edas / Categoria de productos 01": {}
- },
- "Bienes de Cambio - Mercader\u00edas en Tr\u00e1nsito": {},
- "Materiales Varios ": {},
- "Materias primas": {},
- "Productos Elaborados": {},
- "Productos en Curso de Elaboraci\u00f3n": {}
- },
- "Bienes de Uso": {
- "Bienes de Uso / (-) Depreciaci\u00f3n Acumulada": {},
- "Bienes de Uso / Equipos": {},
- "Bienes de Uso / Inmuebles": {},
- "Bienes de Uso / Maquinaria": {},
- "Bienes de Uso / Rodados": {}
- },
- "Caja y Bancos": {
- "Caja y Bancos - Caja": {
- "Caja y bancos - Caja / efectivo ARS": {}
- },
- "Caja y Bancos - Cuentas Corrientes": {
- "Caja y Bancos.../ BCO. CTA CTE ARS": {}
- },
- "Caja y Bancos - Fondos fijos": {
- "Caja y ...- Fondos fijos / caja chica 01 ARS": {}
- },
- "Caja y Bancos - Moneda Extranjera": {
- "Caja y bancos - Caja / efectivo USD": {}
- },
- "Caja y bancos - Recaudaciones a Depositar ": {},
- "Caja y bancos - Valores a Depositar ": {}
- },
- "Inversiones": {
- "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones": {},
- "Inversiones / Acciones Permanentes": {},
- "Inversiones / Acciones Transitorias": {},
- "Inversiones / T\u00edtulos P\u00fablicos": {}
- }
- },
- "Cr\u00e9ditos por Ventas": {
- "Cr\u00e9ditos por Ventas / (-) Previsi\u00f3n para Ds. Incobrables": {},
- "Cr\u00e9ditos por Ventas / Deudores Morosos": {},
- "Cr\u00e9ditos por Ventas / Deudores Varios": {},
- "Cr\u00e9ditos por Ventas / Deudores en Gesti\u00f3n Judicial": {},
- "Cr\u00e9ditos por Ventas / Deudores por Ventas": {}
- },
- "Otros Cr\u00e9ditos": {
- "Otros Cr\u00e9ditos / (-) Intereses (+) a Devengar": {},
- "Otros Cr\u00e9ditos / (-) Previsi\u00f3n para Descuentos": {},
- "Otros Cr\u00e9ditos / Accionistas": {},
- "Otros Cr\u00e9ditos / Alquileres Pagados por Adelantado": {},
- "Otros Cr\u00e9ditos / Anticipo al Personal": {},
- "Otros Cr\u00e9ditos / Anticipo de Impuestos": {},
- "Otros Cr\u00e9ditos / Anticipos a Proveedores": {},
- "Otros Cr\u00e9ditos / Intereses Pagados por Adelantado": {},
- "Otros Cr\u00e9ditos / Pr\u00e9stamos otorgados": {}
- },
- "PASIVO": {
- "Deudas Bancarias y Financieras": {
- "Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente": {},
- "Deudas Bancarias y Financieras / Debentures Emitidos": {},
- "Deudas Bancarias y Financieras / Intereses a Pagar": {},
- "Deudas Bancarias y Financieras / Obligaciones a Pagar": {},
- "Deudas Bancarias y Financieras / Prestamos": {}
- },
- "Deudas Comerciales": {
- "Deudas Comerciales / (-) Intereses a Devengar por Compras al Cr\u00e9dito": {},
- "Deudas Comerciales / Anticipos de Clientes": {},
- "Deudas Comerciales / Proveedores": {}
- },
- "Deudas Fiscales": {
- "Deudas Fiscales / IVA a Pagar": {},
- "Deudas Fiscales / Impuesto a la Ganancia M\u00ednima Presunta a Pagar": {},
- "Deudas Fiscales / Impuesto a las Ganancias a Pagar": {},
- "Deudas Fiscales / Impuesto a los D\u00e9bitos y Cr\u00e9ditos Bancarios a Pagar": {},
- "Deudas Fiscales / Impuesto sobre los Bienes Personales a Pagar": {},
- "Deudas Fiscales / Monotributo a Pagar": {}
- },
- "Deudas Sociales": {
- "Deudas Sociales / Cargas Sociales a Pagar": {},
- "Deudas Sociales / Provisi\u00f3n para Sueldo Anual Complementario": {},
- "Deudas Sociales / Retenciones a Depositar": {},
- "Deudas Sociales / Sueldos a Pagar": {}
- },
- "Otras Deudas": {
- "Otras Deudas / Acreedores Varios": {},
- "Otras Deudas / Cobros por Adelantado": {},
- "Otras Deudas / Dividendos a Pagar": {},
- "Otras Deudas / Honorarios Directores y S\u00edndicos a Pagar": {}
- },
- "Previsiones": {
- "Previsiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos": {},
- "Previsiones / Previsi\u00f3n para Garant\u00edas por Service": {},
- "Previsiones / Previsi\u00f3n para juicios Pendientes": {}
- }
- },
- "PATRIMONIO NETO": {
- "Ajustes al Patrimonio": {
- "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Bienes de Uso": {}
- },
- "Aportes No Capitalizados": {
- "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones": {},
- "Aportes No Capitalizados / Primas de Emsi\u00f3n": {}
- },
- "Capital Social": {
- "Capital social / (-) Descuento de Emisi\u00f3n de Acciones": {},
- "Capital social / Acciones en Circulaci\u00f3n": {},
- "Capital social / Capital Suscripto": {},
- "Capital social / Dividendos a Distribuir en Acciones": {}
- },
- "Ganancias Reservadas": {
- "Reserva Estatutaria": {},
- "Reserva Facultativa": {},
- "Reserva Legal": {},
- "Reserva para Renovaci\u00f3n de Bienes de Uso": {}
- },
- "Resultados No Asignados": {
- "Ganancias y P\u00e9rdidas del Ejercicio": {},
- "Resultado del Ejercicio": {},
- "Resultados Acumulados": {},
- "Resultados Acumulados del Ejercicio Anterior": {}
- }
- },
- "root_type": ""
- },
- "Cuentas de Movimiento": {
- "Compras": {
- "Compras - Categoria de productos 01": {}
- },
- "Costos de Producci\u00f3n": {},
- "Gastos de Administraci\u00f3n": {},
- "Gastos de Comercializaci\u00f3n": {},
- "root_type": ""
- },
- "Cuentas de Orden": {
- "CUENTAS DE ORDEN ACREEDORAS": {
- "Acreedor por Documentos Descontados": {},
- "Acreedor por Garant\u00edas Otorgadas": {},
- "Comitente por Mercaderias Recibidas en Consignaci\u00f3n": {}
- },
- "CUENTAS DE ORDEN DEUDORAS": {
- "Dep\u00f3sito de Valores Recibos en Garant\u00eda": {},
- "Documentos Descontados": {},
- "Documentos Endosados": {},
- "Garantias Otorgadas": {},
- "Mercaderias Recibidas en Consignaci\u00f3n": {}
- },
- "root_type": ""
- },
- "Cuentas de Resultado": {
- "RESULTADOS NEGATIVOS": {
- "Resultados Negativos Extraordinarios": {
- "Donaciones Cedidas, Otorgadas": {},
- "Gastos en Siniestros": {},
- "P\u00e9rdida Venta Bienes de Uso": {}
- },
- "Resultados Negativos Ordinarios": {
- "Costo de Mercader\u00edas Vendidas": {
- "Costo de Mercader\u00edas Vendidas - Categoria de productos 01": {}
- },
- "Gastos Bancarios": {},
- "Gastos de Publicidad y Propaganda": {},
- "Gastos en Amortizaci\u00f3n": {},
- "Gastos en Cargas Sociales": {},
- "Gastos en Depreciaci\u00f3n de Bienes de Uso": {},
- "Gastos en Impuestos": {},
- "Gastos en Servicios P\u00fablicos": {},
- "Gastos en Sueldos y Jormales": {}
- }
- },
- "RESULTADOS POSITIVOS": {
- "Resultados Positivos Extraordinarios": {
- "Donaciones obtenidas, ganandas, percibidas": {},
- "Ganancia Venta Inversiones Permanentes": {},
- "Ganancia Venta de Bienes de Uso": {},
- "Recupero de Deudores Incobrables": {},
- "Recupero de Rezagos": {}
- },
- "Resultados Positivos Ordinarios": {
- "Alquileres gananados, obtenidos, percibidos": {},
- "Comisiones gananados, obtenidos, percibidos": {},
- "Descuentos gananados, obtenidos, percibidos": {},
- "Ganancia Venta de Acciones": {},
- "Honorarios gananados, obtenidos, percibidos": {},
- "Intereses gananados, obtenidos, percibidos": {},
- "Renta de T\u00edtulos P\u00fablicos": {},
- "Resultados Positivos Ordinarios": {
- "Ventas - Categoria de productos 01": {}
- }
- }
- },
- "root_type": ""
- }
- }
-}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ca_ca_en_chart_template_en.json b/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ca_ca_en_chart_template_en.json
deleted file mode 100644
index 02c460981b0..00000000000
--- a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/ca_ca_en_chart_template_en.json
+++ /dev/null
@@ -1,172 +0,0 @@
-{
- "country_code": "ca",
- "name": "Canada - Chart of Accounts for english-speaking provinces",
- "tree": {
- "ASSETS": {
- "CURRENT ASSETS": {
- "ACCOUNTS RECEIVABLES": {
- "ALLOWANCE FOR DOUBTFUL ACCOUNTS": {},
- "Customers Account": {
- "account_type": "Receivable"
- }
- },
- "CASH": {},
- "CERTIFICATES OF DEPOSITS": {},
- "INVESTMENTS HELD FOR TRADING": {},
- "PREPAID EXPENSES": {},
- "STOCKS": {
- "Stock Delivered But Not Billed": {},
- "Stock In Hand": {}
- },
- "TAXES RECEIVABLES": {
- "GST receivable": {
- "account_type": "Receivable"
- },
- "HST receivable": {
- "HST receivable - 13%": {
- "account_type": "Receivable"
- },
- "HST receivable - 14%": {
- "account_type": "Receivable"
- },
- "HST receivable - 15%": {
- "account_type": "Receivable"
- }
- },
- "PST/QST receivable": {
- "account_type": "Receivable"
- }
- },
- "TREASURY OR TREASURY EQUIVALENTS": {}
- },
- "NON-CURRENT ASSETS": {
- "INTANGIBLE ASSETS": {
- "PATENTS, TRADEMARKS AND COPYRIGHTS": {}
- },
- "INVESTMENTS AVAILABLE FOR SALE": {},
- "TANGIBLE ASSETS": {
- "ACCUMULATED DEPRECIATIONS": {}
- }
- },
- "root_type": "Asset"
- },
- "EQUITY": {
- "CONTRIBUTED SURPLUS": {},
- "DIVIDENDS": {},
- "PREMIUMS": {},
- "RETAINED EARNINGS": {},
- "SHARE CAPITAL": {},
- "TRANSLATION ADJUSTMENTS": {},
- "root_type": "Equity"
- },
- "EXPENSES": {
- "NON-OPERATING EXPENSES": {
- "INTERESTS EXPENSES": {},
- "OTHER NON-OPERATING EXPENSES": {}
- },
- "OPERATING EXPENSES": {
- "COST OF GOODS SOLD": {
- "Inside Purchases": {},
- "International Purchases": {},
- "Purchases in harmonized provinces": {},
- "Purchases in non-harmonized provinces": {}
- },
- "GENERAL EXPENSES": {},
- "LABOUR EXPENSES": {
- "Annuities": {},
- "Employment Insurance": {},
- "Federal Income Tax": {},
- "Health Services Fund": {},
- "Holidays": {},
- "Labour Health and Safety": {},
- "Labour Standards": {},
- "Parental Insurance": {},
- "Provincial Income Tax": {},
- "Salaries, wages and commissions": {}
- },
- "OTHER OPERATING EXPENSES": {},
- "RESEARCH AND DEVELOPMENT EXPENSES": {},
- "SALES EXPENSES": {}
- },
- "root_type": "Expense"
- },
- "INCOMES": {
- "NON-OPERATING INCOMES": {
- "INTERESTS": {},
- "OTHER NON-OPERATING INCOMES": {}
- },
- "OPERATING INCOMES": {
- "Harmonized Provinces Sales": {},
- "Inside Sales": {},
- "International Sales": {},
- "Non-Harmonized Provinces Sales": {},
- "OTHER OPERATING INCOMES": {}
- },
- "root_type": "Income"
- },
- "LIABILITIES": {
- "CURRENT LIABILITIES": {
- "ACCOUNTS PAYABLES": {
- "Suppliers Account": {
- "account_type": "Payable"
- }
- },
- "CURRENT FINANCIAL DEBTS": {},
- "LABOUR TAXES TO PAY": {
- "CANADIAN REVENU AGENCY": {
- "EMPLOYMENT INSURANCE TO PAY": {
- "EI - Employees Contribution": {},
- "EI - Employer Contribution": {}
- },
- "Federal Income Tax": {}
- },
- "PROVINCIAL REVENU AGENCY": {
- "ANNUITIES TO PAY": {
- "Annuities - Employees Contribution": {},
- "Annuities - Employer Contribution": {}
- },
- "Health Services Fund to pay": {},
- "Labour Health and Safety to pay": {},
- "Labour Standards to pay": {},
- "PARENTAL INSURANCE PLAN TO PAY": {
- "PAP - Employee Contribution": {},
- "PAP - Employer Contribution": {}
- },
- "Provincial Income Tax": {}
- }
- },
- "LIABILITIES ASSETS HELD FOR TRANSFER": {
- "Stock Received But Not Billed": {}
- },
- "OTHER ACCOUNTS PAYABLES": {},
- "STOCK LIABILITIES": {},
- "TAXES PAYABLES": {
- "GST to pay": {
- "account_type": "Payable"
- },
- "HST to pay": {
- "HST to pay - 13%": {
- "account_type": "Payable"
- },
- "HST to pay - 14%": {
- "account_type": "Payable"
- },
- "HST to pay - 15%": {
- "account_type": "Payable"
- }
- },
- "PST/QST to pay": {
- "account_type": "Payable"
- }
- }
- },
- "NON-CURRENT LIABILITIES": {
- "DEFERRED TAXES": {},
- "NON-CURRENT FINANCIAL DEBTS": {},
- "OTHER NON-CURRENT LIABILITIES": {},
- "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES": {}
- },
- "root_type": "Liability"
- }
- }
-}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/hu_hungarian_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/unverified/hu_hungarian_chart_template.json
deleted file mode 100644
index 85a49c5702c..00000000000
--- a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/hu_hungarian_chart_template.json
+++ /dev/null
@@ -1,355 +0,0 @@
-{
- "country_code": "hu",
- "name": "Hungary - Magyar f\u0151k\u00f6nyvi kivonat",
- "tree": {
- "Eredm\u00e9ny sz\u00e1ml\u00e1k": {
- "AZ \u00c9RT\u00c9KES\u00cdT\u00c9S \u00c1RBEV\u00c9TELE, BEV\u00c9TELEK": {
- "BELF\u00d6LDI \u00c9RK\u00c9KES\u00cdT\u00c9S \u00c1RBEV\u00c9TELE": {
- "Belf\u00f6ldi \u00e9rt\u00e9kes\u00edt\u00e9s \u00e1rbev\u00e9tele": {}
- },
- "BELF\u00d6LDI \u00c9RT\u00c9KES\u00cdT\u00c9S \u00c1RBEV\u00c9TELE": {
- "Belf\u00f6ldi \u00e9rt\u00e9kes\u00edt\u00e9s \u00e1rbev\u00e9tele": {}
- },
- "EGY\u00c9B BEV\u00c9TELEK": {
- "Az \u00fczleti \u00e9vhez kapcs. egy\u00e9b bev\u00e9telek": {},
- "Biztos\u00edt\u00f3 \u00e1ltal visszaig. k\u00e1rt\u00e9r\u00edt\u00e9s \u00f6.": {},
- "C\u00e9ltartal\u00e9k felhaszn\u00e1l\u00e1sa": {},
- "K\u00fcl\u00f6nf\u00e9le egy\u00e9b bev\u00e9telek": {},
- "Ut\u00f3lag kapott p\u00fc. rendezett engedm\u00e9ny": {},
- "Visszafiz. k\u00f6t. n\u00e9lk\u00fcl kapott t\u00e1mogat\u00e1s": {},
- "\u00c9rt,\u00e1truh\u00e1zott k\u00f6vetel\u00e9sek elism.m\u00e9rt\u00e9ke": {},
- "\u00c9rt.immat. javak, t\u00e1rgyi eszk.bev\u00e9tele": {},
- "\u00c9rt\u00e9kveszt\u00e9sek vissza\u00edr\u00e1sa, tervenf.\u00e9cs.": {}
- },
- "EXPORT \u00c9RT\u00c9KES\u00cdT\u00c9S \u00c1RBEV\u00c9TELE": {
- "Export \u00e9rt\u00e9kes\u00edt\u00e9s \u00e1rbev. EU tagorsz\u00e1gba": {},
- "Export \u00e9rt\u00e9kes\u00edt\u00e9s \u00e1rbev.nem EU tagorsz.": {}
- },
- "P\u00c9NZ\u00dcGYI M\u00dcVELETEK BEV\u00c9TELEI": {
- "Befekt. p\u00fci.eszk. kamatai, \u00e1rf.nyeres.": {},
- "Egy\u00e9b kapott kamatok,kamatjell.bev\u00e9telek": {},
- "Egy\u00e9b p\u00e9nz\u00fcgyi m\u00fbveletek bev\u00e9telei": {},
- "Egy\u00e9b \u00e1rfolyamnyeres\u00e9gek, opci\u00f3s bev.": {},
- "Forg\u00f3eszk. \u00e9rt\u00e9kpap\u00edr \u00e1rfolyamnyeres\u00e9ge": {},
- "Kapott (j\u00e1r\u00f3) osztal\u00e9k, r\u00e9szesed\u00e9s": {},
- "R\u00e9szesed\u00e9sek \u00e9rt. \u00e1rfolyamnyeres\u00e9ge": {},
- "V\u00e1s. k\u00f6vetel\u00e9sekkel kapcs. bev\u00e9telek": {},
- "\u00c1tv\u00e1lt\u00e1si, \u00e1t\u00e9rt\u00e9kel\u00e9skori \u00e1rf.nyeres\u00e9g": {}
- },
- "RENDKIV\u00dcLI BEV\u00c9TELEK": {
- "Rendk\u00edv\u00fcli bev\u00e9telek": {}
- }
- },
- "AZ \u00c9RT\u00c9KES\u00cdT\u00c9S \u00d6NK\u00d6LTS. \u00c9S R\u00c1FORD\u00cdT\u00c1SOK": {
- "ANYAGJELLEG\u00db R\u00c1FORD\u00cdT\u00c1SOK": {
- "Anyagk\u00f6lts\u00e9g": {},
- "Egy\u00e9b szolg\u00e1ltat\u00e1sok \u00e9rt\u00e9ke": {},
- "Eladott (k\u00f6zvet\u00edtett) szolg. \u00e9rt\u00e9ke": {},
- "Eladott \u00e1ruk beszerz\u00e9si \u00e9rt\u00e9ke": {},
- "Ig\u00e9nybevett szolg\u00e1ltat\u00e1sok \u00e9rt\u00e9ke": {}
- },
- "EGY\u00c9B R\u00c1FORD\u00cdT\u00c1SOK": {
- "Ad\u00f3k, illet\u00e9kek, hozz\u00e1j\u00e1rul\u00e1sok": {},
- "Az \u00fczleti \u00e9vhez kapcs. r\u00e1ford\u00edt\u00e1sok": {},
- "C\u00e9ltartal\u00e9k k\u00e9pz\u00e9se": {},
- "Elsz\u00e1molt \u00e9rt\u00e9kveszt\u00e9s, tervenf. \u00e9rt\u00e9kcs": {},
- "K\u00fcl\u00f6nf\u00e9le egy\u00e9b r\u00e1ford\u00edt\u00e1sok": {},
- "Ut\u00f3lag adott p\u00fc. rendezett engedm\u00e9ny": {},
- "\u00c9rt.\u00e1truh\u00e1zott k\u00f6vetel\u00e9sek k\u00f6nyvsz. \u00e9rt.": {},
- "\u00c9rt\u00e9kes\u00edtett eszk.imm.javak nytsz \u00e9rt\u00e9ke": {}
- },
- "NYERES\u00c9GET TERHEL\u00d6 AD\u00d3K": {
- "Egyszer\u00fcs\u00edtett v\u00e1llalkoz\u00f3i ad\u00f3": {},
- "T\u00e1rsas v\u00e1llalkoz\u00e1s k\u00fcl\u00f6nad\u00f3ja": {},
- "T\u00e1rsas\u00e1gi ad\u00f3": {}
- },
- "P\u00c9NZ\u00dcGYI M\u00dcVELETEK R\u00c1FORD\u00cdT\u00c1SAI": {
- "Befektetett p\u00fci. eszk. \u00e1rf.vesztes\u00e9ge": {},
- "Egy\u00e9b p\u00e9nz\u00fcgyi r\u00e1ford\u00edt\u00e1sok": {},
- "Egy\u00e9b \u00e1rfolyamvesztes\u00e9gek, opci\u00f3s d\u00edjak": {},
- "Fizetend\u00f5 kamatok, kamatjell. r\u00e1ford.": {},
- "Forg\u00f3eszk. \u00e9rt\u00e9kpap\u00edr \u00e1rf.vesztes\u00e9ge": {},
- "R\u00e9szesed\u00e9sek,\u00e9.pap\u00edrok,bankb. \u00e9rt\u00e9kveszt": {},
- "V\u00e1s\u00e1rolt k\u00f6v. kapcs. r\u00e1ford\u00edt\u00e1sok": {},
- "\u00c1tv\u00e1lt\u00e1si, \u00e9rt\u00e9kel\u00e9si \u00e1rfolyamvesztes\u00e9g": {}
- },
- "RENDKIV\u00dcLI R\u00c1FORD\u00cdT\u00c1SOK": {
- "Egy\u00e9b vagyoncs\u00f6kk. rendk\u00edv\u00fcli r\u00e1ford\u00edt\u00e1s": {},
- "Saj\u00e1t \u00fczletr\u00e9sz nyilv\u00e1ntart\u00e1si \u00e9rt\u00e9ke": {},
- "Tartoz\u00e1s\u00e1tv. szerz. szerinti \u00f6sszege": {},
- "T\u00e1rsas\u00e1gban bevitt eszk. nytsz. \u00e9rt\u00e9ke": {}
- },
- "SZEM\u00c9LYI JELLEG\u00fb R\u00c1FORD\u00cdT\u00c1SOK": {
- "B\u00e9rj\u00e1rul\u00e9kok": {},
- "B\u00e9rk\u00f6lts\u00e9g": {},
- "Szem\u00e9lyi jelleg\u00fc egy\u00e9b kifizet\u00e9sek": {}
- },
- "\u00c9RT\u00c9KCS\u00d6KKEN\u00c9SI LE\u00cdR\u00c1S": {}
- },
- "K\u00d6LTS\u00c9GNEMEK": {
- "AKT\u00cdV\u00c1LT SAJ\u00c1T TELJES\u00cdTM\u00c9NYEK \u00c9RT\u00c9KE": {
- "Saj\u00e1t el\u00f5\u00e1ll\u00edt\u00e1si eszk\u00f6z\u00f6k aktiv\u00e1lt \u00e9rt.": {},
- "Saj\u00e1t term. k\u00e9szletek \u00e1llom\u00e1nyv\u00e1ltoz\u00e1sa": {}
- },
- "ANYAGK\u00d6LTS\u00c9G": {
- "Anyagk\u00f6lts\u00e9g megt\u00e9r\u00fcl\u00e9s": {},
- "Egy \u00e9ven bel\u00fcl elhaszn. anyagi eszk\u00f6z\u00f6k": {},
- "Egy\u00e9b anyagk\u00f6lts\u00e9g": {},
- "V\u00e1s\u00e1rolt anyagok k\u00f6lts\u00e9gei": {}
- },
- "B\u00c9RJ\u00c1RUL\u00c9KOK": {
- "Egyszer\u00fbs\u00edtett fogl. k\u00f6zteher": {},
- "Egyszer\u00fbs\u00edtett k\u00f6ztehervisel\u00e9si hj\u00e1r": {},
- "Eg\u00e9szs\u00e9g\u00fcgyi hozz\u00e1j\u00e1rul\u00e1s": {},
- "K\u00f6zteherjegy": {},
- "Munkaad\u00f3i j\u00e1rul\u00e9k": {},
- "Rehabilit\u00e1ci\u00f3s hozz\u00e1j\u00e1rul\u00e1s": {},
- "Szakk\u00e9pz\u00e9si hozz\u00e1j\u00e1rul\u00e1s": {},
- "T\u00e1rsadalombiztos\u00edt\u00e1si j\u00e1rul\u00e9k": {}
- },
- "B\u00c9RK\u00d6LTS\u00c9G": {
- "Egyszer\u00fbs\u00edtett fogl. b\u00e9rk\u00f6lts\u00e9ge": {},
- "Megb\u00edz\u00e1si d\u00edjak b\u00e9rk\u00f6lts\u00e9g terh\u00e9re": {},
- "Munkav\u00e1llal\u00f3k munkab\u00e9r k\u00f6lts\u00e9ge": {},
- "Tagok szem\u00e9lyes k\u00f6zr. ellen\u00e9rt\u00e9ke": {}
- },
- "EGY\u00c9B SZOLG\u00c1LTAT\u00c1SOK K\u00d6LTS\u00c9GEI": {
- "Biztos\u00edt\u00e1si d\u00edjak": {},
- "Hat\u00f3s\u00e1gi igazgat\u00e1si d\u00edjak (illet\u00e9kek)": {},
- "P\u00e9nz\u00fcgyi szolg-i d\u00edjak, bankk\u00f6lts\u00e9gek": {}
- },
- "IG\u00c9NYBE VETT SZOLG\u00c1LTAT\u00c1SOK K\u00d6LTS\u00c9GEI": {
- "B\u00e9rleti d\u00edjak": {},
- "Egy\u00e9b ig\u00e9nybevett szolg\u00e1ltat\u00e1sok ktg-ei": {},
- "Hirdet\u00e9s, rekl\u00e1m-propaganda k\u00f6lts\u00e9g": {},
- "Jav\u00edt\u00e1si, karbantart\u00e1si k\u00f6lts\u00e9gek": {},
- "Oktat\u00e1si, tov\u00e1bbk\u00e9pz\u00e9si k\u00f6lts\u00e9gek": {},
- "Postai, t\u00e1vk\u00f6zl\u00e9si k\u00f6lts\u00e9gek": {},
- "Szakk\u00f6nyv, foly\u00f3irat, napilap beszerz\u00e9s": {},
- "Sz\u00e1ll\u00edt\u00e1si, rakod\u00e1si k\u00f6lts\u00e9g": {},
- "Utaz\u00e1si- \u00e9s kik\u00fcldet\u00e9si k\u00f6lts\u00e9gek": {}
- },
- "K\u00d6LTS\u00c9GNEM \u00c1TVEZET\u00c9SI SZ\u00c1MLA": {
- "Anyagk\u00f6lts\u00e9g \u00e1tvezet\u00e9si szla": {},
- "B\u00e9rj\u00e1rul\u00e9kok \u00e1tvezet\u00e9si szla": {},
- "B\u00e9rk\u00f6lts\u00e9g \u00e1tvezet\u00e9si szla": {},
- "Egy\u00e9b szolg\u00e1ltat\u00e1sok \u00e1tvezet\u00e9si szla": {},
- "Ig\u00e9nybevett szolg. \u00e1tvezet\u00e9si szla": {},
- "Szem\u00e9lyi jell. kif. \u00e1tvezet\u00e9si szla": {},
- "\u00c9rt\u00e9kcs\u00f6kken\u00e9si le\u00edr\u00e1s \u00e1tvez. szla": {}
- },
- "SZEM\u00c9LYI JELLEG\u00fb EGY\u00c9B KIFIZET\u00c9SEK": {
- "Egy\u00e9b szem\u00e9lyi jelleg\u00fb kifizet\u00e9sek": {},
- "Foglalkoztat\u00f3t terhel\u00f5 t\u00e1pp\u00e9nz hj\u00e1rul\u00e1s": {},
- "J\u00f3l\u00e9ti \u00e9s kultur\u00e1lis k\u00f6lts\u00e9gek": {},
- "Kifizet\u00f5t terhel\u00f5 szem\u00e9lyi j\u00f6vedelemad\u00f3": {},
- "Mag\u00e1nnyugd\u00edjp\u00e9nzt\u00e1ri tagd\u00edjak, hozz\u00e1j\u00e1r.": {},
- "Szem\u00e9lyi jelleg\u00fb kifizet\u00e9sek": {},
- "Term\u00e9szetbeni juttat\u00e1sok": {}
- },
- "\u00c9RT\u00c9KCS\u00d6KKEN\u00c9SI LE\u00cdR\u00c1S": {
- "Terv szerinti egy\u00f6sszeg\u00fb (kis\u00e9rt\u00e9k\u00fbek)": {},
- "Terv szerinti \u00e9rt\u00e9kcs\u00f6kken\u00e9s line\u00e1ris": {}
- }
- },
- "root_type": ""
- },
- "M\u00e9rleg sz\u00e1ml\u00e1k": {
- "BEFEKTETETT ESZK\u00d6Z\u00d6K": {
- "BEFEKTETETT P\u00fc.I ESZK\u00d6Z\u00d6K R\u00c9SZESED\u00c9SEK": {
- "Egy\u00e9b tart\u00f3s r\u00e9szesed\u00e9s": {},
- "R\u00e9szesed\u00e9sek \u00e9rt\u00e9khelyesb\u00edt\u00e9se": {},
- "R\u00e9szesed\u00e9sek \u00e9rt\u00e9kveszt\u00e9se, vissza\u00edr\u00e1sa": {},
- "Tart\u00f3s r\u00e9szesed\u00e9s kapcs. v\u00e1llalkoz\u00e1sban": {}
- },
- "BERUH\u00c1Z\u00c1SOK, FEL\u00faJ\u00cdT\u00c1SOK": {
- "Befejezetlen beruh\u00e1z\u00e1sok": {},
- "Beruh\u00e1z\u00e1sok terven fel\u00fcli \u00e9rt\u00e9kcs\u00f6kk.": {},
- "Fel\u00faj\u00edt\u00e1sok": {}
- },
- "EGY\u00c9B BERENDEZ\u00c9SEK, FELSZ., J\u00c1RM\u00dcVEK": {
- "Egy\u00e9b g\u00e9pek,felsz,j\u00e1rm. \u00e9rt\u00e9khelyesb\u00edt\u00e9s": {},
- "Egy\u00e9b j\u00e1rm\u00fbvek": {},
- "Irodai, igazgat\u00e1si berendez\u00e9sek": {},
- "\u00dczemi berendez\u00e9sek, g\u00e9pek,felszerel\u00e9sek": {},
- "\u00dczemk\u00f6r\u00f6n kiv\u00fcli berendez\u00e9sek, felsz.": {}
- },
- "HITELVISZONYT MEGTESTES\u00cdT\u00d6 \u00c9RT\u00c9KPAP\u00cdROK": {
- "Egy\u00e9b v\u00e1llalkoz\u00e1sok \u00e9rt\u00e9kpap\u00edrjai": {},
- "Kapcsolt v\u00e1llalkoz\u00e1sok \u00e9rt\u00e9kpap\u00edrjai": {},
- "Tart\u00f3s diszkont \u00e9rt\u00e9kpap\u00edrok": {},
- "\u00c1llamk\u00f6tv\u00e9nyek": {},
- "\u00c9rt\u00e9kpap\u00edrok \u00e9rt\u00e9kveszt\u00e9se, vissza\u00edr\u00e1sa": {}
- },
- "IMMATERI\u00c1LIS JAVAK": {
- "Alap\u00edt\u00e1s-\u00e1tszervez\u00e9s akt\u00edv\u00e1lt \u00e9rt\u00e9ke": {},
- "Immateri\u00e1lis javak \u00e9rt\u00e9khelyesb\u00edt\u00e9se": {},
- "K\u00eds\u00e9rleti fejleszt\u00e9s akt\u00edv\u00e1lt \u00e9rt\u00e9ke": {},
- "Szellemi term\u00e9kek": {},
- "Vagyoni \u00e9rt\u00e9k\u00fb jogok": {},
- "\u00dczleti vagy c\u00e9g\u00e9rt\u00e9k": {}
- },
- "INGATLANOK, KAPCS. VAGYONI \u00c9RT. JOGOK": {
- "Egy\u00e9b \u00e9p\u00edtm\u00e9nyek": {},
- "F\u00f6ldter\u00fclet": {},
- "Ingatlanhoz kapcs. vagyoni \u00e9rt. jogok": {},
- "Ingatlanok \u00e9rt\u00e9khelyesb\u00edt\u00e9se": {},
- "Telek, telkes\u00edt\u00e9s": {},
- "\u00c9p\u00fcletek,\u00e9p\u00fcletr\u00e9szek,tulajdoni h\u00e1nyadok": {},
- "\u00dczemk\u00f6r\u00f6n kiv\u00fcli ingatlanok, \u00e9p\u00fcletek": {}
- },
- "M\u00dcSZAKI BERENDEZ\u00c9SEK, G\u00c9PEK, J\u00c1RM\u00dcVEK": {
- "M\u00fcszaki g\u00e9pek,felsz,j\u00e1rm. \u00e9rt\u00e9khelyesb.": {},
- "Termel\u00e9sben r\u00e9sztvev\u00f5 j\u00e1rm\u00fbvek": {},
- "Termel\u00f5 g\u00e9pek, berendez\u00e9sek, gy\u00e1rt\u00f3eszk.": {}
- },
- "TART\u00d3SAN ADOTT K\u00d6LCS\u00d6N\u00d6K": {
- "Egy\u00e9b tart\u00f3s bankbet\u00e9tek": {},
- "Egy\u00e9b tart\u00f3san adott k\u00f6lcs\u00f6n\u00f6k": {},
- "P\u00e9nz\u00fcgyi l\u00edzing miatti tart\u00f3s k\u00f6vetel\u00e9s": {},
- "Tart\u00f3s bankbet\u00e9tek egy\u00e9b r\u00e9sz. v\u00e1ll.-ban": {},
- "Tart\u00f3s bankbet\u00e9tek kapcs. v\u00e1ll.-ban": {},
- "Tart\u00f3san adott k\u00f6lcs\u00f6n egy\u00e9b r\u00e9sz.v\u00e1ll.": {},
- "Tart\u00f3san adott k\u00f6lcs\u00f6n\u00f6k kapcs. v\u00e1ll.": {},
- "Tart\u00f3san adott k\u00f6lcs\u00f6n\u00f6k \u00e9rt\u00e9kveszt\u00e9se": {}
- },
- "TENY\u00c9SZ\u00c1LLATOK": {
- "Teny\u00e9sz\u00e1llatok": {}
- }
- },
- "FORR\u00c1SOK (PASSZ\u00cdV\u00c1K)": {
- "C\u00c9LTARTAL\u00c9KOK": {
- "C\u00e9ltartal\u00e9k v\u00e1rhat\u00f3 k\u00f6telezetts\u00e9gre": {}
- },
- "EGY\u00c9B R\u00d6VID LEJ\u00c1RAT\u00fa K\u00d6TELEZETTS\u00c9GEK": {
- "El\u00f5zetesen felsz\u00e1m\u00edtott \u00e1lt.forgalmi ad\u00f3": {},
- "Fizetend\u00f5 \u00e1ltal\u00e1nos forgalmi ad\u00f3": {},
- "K\u00f6lts\u00e9gvet\u00e9si befizet\u00e9si k\u00f6t.teljes\u00edt\u00e9se": {},
- "K\u00f6lts\u00e9gvet\u00e9si befizet\u00e9si k\u00f6telezetts\u00e9gek": {},
- "Szem\u00e9lyi j\u00f6vedelemad\u00f3 elsz\u00e1mol\u00e1sa": {},
- "T\u00e1rsas\u00e1gi ad\u00f3 \u00e9s osztal\u00e9kad\u00f3 elsz\u00e1mol\u00e1s": {},
- "V\u00e1m- \u00e9s P\u00e9nz\u00fcgy\u00f5rs\u00e9g elsz\u00e1mol\u00e1si sz\u00e1mla": {},
- "\u00c1fa p\u00e9nz\u00fcgyi elsz\u00e1mol\u00e1si sz\u00e1mla": {},
- "\u00d6nkorm\u00e1nyzati ad\u00f3k elsz\u00e1mol\u00e1si sz\u00e1mla": {}
- },
- "HOSSZ\u00da LEJ\u00c1RAT\u00da K\u00d6TELEZETTS\u00c9GEK": {
- "Beruh\u00e1z\u00e1si \u00e9s fejleszt\u00e9si hitelek": {},
- "Egy\u00e9b hossz\u00fa lej. k\u00f6telezetts\u00e9gek": {},
- "Egy\u00e9b hossz\u00fa lej\u00e1rat\u00fa hitelek": {},
- "Hossz\u00fa lej\u00e1ratra kapott k\u00f6lcs\u00f6n\u00f6k": {},
- "P\u00e9nz\u00fcgyi l\u00edzinggel kapcsolatos k\u00f6telez.": {},
- "Tartoz\u00e1sok k\u00f6tv\u00e9nykibocs\u00e1t\u00e1sb\u00f3l": {},
- "Tart\u00f3s k\u00f6t. egy\u00e9b r\u00e9sz. v\u00e1ll. szemben": {},
- "Tart\u00f3s k\u00f6t. kapcs. v\u00e1llalkoz\u00e1ssal sz.": {},
- "\u00c1tv\u00e1ltoztathat\u00f3 k\u00f6tv\u00e9nyek": {}
- },
- "H\u00c1TRASOROLT K\u00d6TELEZETTS\u00c9GEK": {
- "H\u00e1trasorolt k\u00f6telezetts\u00e9g": {}
- },
- "PASSZ\u00cdV ID\u00d6BELI ELHAT\u00c1ROL\u00c1S": {
- "Bev\u00e9telek passz\u00edv id\u00f5beli elhat\u00e1rol\u00e1sa": {},
- "Halasztott bev\u00e9telek": {},
- "K\u00f6lts\u00e9gek,r\u00e1ford. passz\u00edv id\u00f5beli elhat.": {}
- },
- "R\u00d6VID LEJ\u00c1RAT\u00fa K\u00d6TELEZETTS\u00c9GEK": {
- "R\u00f6vid lej\u00e1rat\u00fa hitelek": {},
- "R\u00f6vid lej\u00e1rat\u00fa k\u00f6lcs\u00f6n\u00f6k": {},
- "Sz\u00e1ll\u00edt\u00f3k": {
- "Belf\u00f6ldi sz\u00e1ll\u00edt\u00f3k": {
- "account_type": "Payable"
- },
- "K\u00fclf\u00f6ldi sz\u00e1ll\u00edt\u00f3k": {
- "account_type": "Payable"
- }
- },
- "Vev\u00f5kt\u00f5l kapott el\u00f5legek": {}
- },
- "SAJ\u00c1T T\u00d6KE": {
- "Eredm\u00e9nytartal\u00e9k": {},
- "Jegyzett t\u00f5ke": {},
- "Lek\u00f6t\u00f6tt tartal\u00e9k": {},
- "M\u00e9rleg szerinti eredm\u00e9ny": {},
- "T\u00f5ketartal\u00e9k": {},
- "\u00c9rt\u00e9kel\u00e9si tartal\u00e9k": {}
- },
- "\u00c9VI M\u00c9RLEG SZ\u00c1ML\u00c1K": {
- "Nyit\u00f3m\u00e9rleg sz\u00e1mla": {}
- }
- },
- "K\u00c9SZLETEK": {
- "ANYAGOK": {
- "Seg\u00e9danyagok": {}
- },
- "BEFEJEZETLEN TERMEL\u00c9S \u00c9S F\u00c9LK\u00c9SZTERM\u00c9KEK": {
- "Befejezetlen termel\u00e9s": {}
- },
- "BET\u00c9TD\u00cdJAS G\u00d6NGY\u00d6LEGEK": {
- "Bet\u00e9td\u00edjas g\u00f6ngy\u00f6legek": {}
- },
- "K\u00c9SZTERM\u00c9KEK": {
- "K\u00e9szterm\u00e9kek": {}
- },
- "K\u00d6ZVET\u00cdTETT SZOLG\u00c1LTAT\u00c1SOK": {
- "K\u00f6zvet\u00edtett szolg\u00e1ltat\u00e1sok": {}
- },
- "\u00c1RUK": {
- "\u00c1ruk beszerz\u00e9si \u00e1ron": {}
- }
- },
- "K\u00d6VETEL\u00c9SEK,P\u00c9NZ\u00dcGYI ESZK,AKT\u00cdV ID\u00d6B.ELH": {
- "ADOTT EL\u00d6LEGEK": {
- "Adott el\u00f5legek": {}
- },
- "AKT\u00cdV ID\u00d6BELI ELHAT\u00c1ROL\u00c1S": {
- "Akt\u00edv id\u00f5beli elhat\u00e1rol\u00e1sa": {}
- },
- "EGY\u00c9B K\u00d6VETEL\u00c9SEK": {
- "K\u00fcl\u00f6nf\u00e9le egy\u00e9b k\u00f6vetel\u00e9sek": {},
- "Munkav\u00e1llal\u00f3kkal szembeni k\u00f6vetel\u00e9s": {}
- },
- "K\u00d6VETEL\u00c9SEK \u00c1RUSZ\u00c1LL.- SZOLG\u00c1LTAT\u00c1SB\u00d3L": {
- "Belf\u00f6ldi k\u00f6vetel\u00e9sek": {
- "account_type": "Receivable"
- },
- "K\u00fclf\u00f6ldi k\u00f6vetel\u00e9sek": {
- "account_type": "Receivable"
- }
- },
- "P\u00c9NZESZK\u00d6Z\u00d6K": {
- "Deviza bet\u00e9tsz\u00e1mla": {
- "account_type": "Bank"
- },
- "Elk\u00fcl\u00f6n\u00edtett bet\u00e9tsz\u00e1ml\u00e1k": {
- "account_type": "Bank"
- },
- "Elsz\u00e1mol\u00e1si bet\u00e9tsz\u00e1mla": {
- "Banksz\u00e1mla": {
- "account_type": "Bank"
- }
- },
- "P\u00e9nzhelyettes\u00edt\u00f5 eszk. (utalv\u00e1ny, jegy)": {
- "account_type": "Bank"
- },
- "P\u00e9nzt\u00e1rak": {
- "P\u00e9nzt\u00e1r": {
- "account_type": "Cash"
- }
- },
- "Valuta p\u00e9nzt\u00e1r": {
- "account_type": "Cash"
- },
- "\u00c1tvezet\u00e9si sz\u00e1mla": {
- "account_type": "Bank"
- }
- },
- "\u00c9RT\u00c9KPAP\u00cdROK": {
- "Egy\u00e9b r\u00e9szesed\u00e9s": {},
- "Forgat\u00e1si c\u00e9l\u00fa hitelv. m. \u00e9rt\u00e9kpap\u00edrok": {},
- "R\u00e9szesed\u00e9s kapcsolt v\u00e1llalkoz\u00e1sban": {},
- "Saj\u00e1t r\u00e9szv\u00e9nyek, saj\u00e1t \u00fczletr\u00e9szek": {}
- }
- },
- "root_type": ""
- }
- }
-}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/nl_l10nnl_chart_template.json b/erpnext/accounts/doctype/account/chart_of_accounts/unverified/nl_l10nnl_chart_template.json
deleted file mode 100644
index 8009a10388f..00000000000
--- a/erpnext/accounts/doctype/account/chart_of_accounts/unverified/nl_l10nnl_chart_template.json
+++ /dev/null
@@ -1,716 +0,0 @@
-{
- "country_code": "nl",
- "name": "Nederlands - Grootboekschema",
- "tree": {
- "FABRIKAGEREKENINGEN": {
- "root_type": ""
- },
- "FINANCIELE REKENINGEN, KORTLOPENDE VORDERINGEN EN SCHULDEN": {
- "KORTLOPENDE SCHULDEN": {
- "Accountantskosten": {},
- "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": {},
- "Investeringsaftrek": {},
- "Loonheffing": {},
- "Overige te betalen posten": {},
- "Pensioenpremies": {},
- "Premie WIR": {},
- "Rekening-courant inkoopvereniging": {},
- "Rente": {},
- "Sociale lasten": {},
- "Tanti\u00e8mes": {},
- "Te vorderen Btw-verlegd": {
- "account_type": "Tax"
- },
- "Telefoon/telefax": {},
- "Termijnen onderh. werk": {},
- "Vakantiedagen": {},
- "Vakantiegeld": {},
- "Vakantiezegels": {},
- "Vennootschapsbelasting": {},
- "Vooruit ontvangen bedr.": {}
- },
- "LIQUIDE MIDDELEN": {
- "ABN-AMRO bank": {
- "account_type": "Cash"
- },
- "BIZNER bank": {
- "account_type": "Cash"
- },
- "Bankbetaalkaarten": {},
- "Effecten": {},
- "Girobetaalkaarten": {},
- "Kas": {
- "account_type": "Cash"
- },
- "Kas valuta": {
- "account_type": "Cash"
- },
- "Kleine kas": {
- "account_type": "Cash"
- },
- "Kruisposten": {},
- "Postbank": {
- "account_type": "Cash"
- },
- "RABO bank": {
- "account_type": "Cash"
- }
- },
- "VORDERINGEN": {
- "Debiteuren": {
- "account_type": "Receivable"
- },
- "Dubieuze debiteuren": {},
- "Overige vorderingen": {},
- "Rekening-courant directie": {},
- "Te ontvangen ziekengeld": {},
- "Voorschotten personeel": {},
- "Vooruitbetaalde kosten": {},
- "Voorziening dubieuze debiteuren": {}
- },
- "root_type": ""
- },
- "INDIRECTE KOSTEN": {
- "root_type": ""
- },
- "KOSTENREKENINGEN": {
- "AFSCHRIJVINGEN": {
- "Aanhangwagens": {},
- "Aankoopkosten": {},
- "Aanloopkosten": {},
- "Auteursrechten": {},
- "Bedrijfsgebouwen": {},
- "Bedrijfsinventaris": {},
- "Drankvergunningen": {},
- "Fabrieksinventaris": {},
- "Gebouwen": {},
- "Gereedschappen": {},
- "Goodwill": {},
- "Grondverbetering": {},
- "Heftrucks": {},
- "Kantine-inventaris": {},
- "Kantoorinventaris": {},
- "Kantoormachines": {},
- "Licenties": {},
- "Machines": {},
- "Magazijninventaris": {},
- "Octrooien": {},
- "Ontwikkelingskosten": {},
- "Pachtersinvestering": {},
- "Parkeerplaats": {},
- "Personenauto's": {},
- "Rijwielen en bromfietsen": {},
- "Tonnagevergunningen": {},
- "Verbouwingen": {},
- "Vergunningen": {},
- "Voorraadverschillen": {},
- "Vrachtauto's": {},
- "Winkels": {},
- "Woon-winkelhuis": {}
- },
- "ALGEMENE KOSTEN": {
- "Accountantskosten": {},
- "Advieskosten": {},
- "Assuranties": {},
- "Bankkosten": {},
- "Juridische kosten": {},
- "Overige algemene kosten": {},
- "Toev. Ass. eigen risico": {}
- },
- "BEDRIJFSKOSTEN": {
- "Assuranties": {},
- "Energie (krachtstroom)": {},
- "Gereedschappen": {},
- "Hulpmaterialen": {},
- "Huur inventaris": {},
- "Huur machines": {},
- "Leasing invent.operational": {},
- "Leasing mach. operational": {},
- "Onderhoud inventaris": {},
- "Onderhoud machines": {},
- "Ophalen/vervoer afval": {},
- "Overige bedrijfskosten": {}
- },
- "FINANCIERINGSKOSTEN": {
- "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": {},
- "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": {},
- "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": ""
- },
- "OVERIGE RESULTATEN": {
- "Memoriaal": {
- "account_type": "Cash"
- },
- "Opbrengsten deelnemingen": {},
- "Reorganisatiekosten": {},
- "Verlies verkoop deelnem.": {},
- "Voorz. Verlies deelnem.": {},
- "Vpb bijzonder resultaat": {},
- "Vpb normaal resultaat": {},
- "Winst": {},
- "Winst bij verkoop deelnem.": {},
- "root_type": ""
- },
- "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": ""
- },
- "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": {},
- "Hypotheken o/g 1": {},
- "Hypotheken o/g 2": {},
- "Hypotheken o/g 3": {},
- "Hypotheken o/g 4": {},
- "Hypotheken o/g 5": {},
- "Lease-verplichtingen": {},
- "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": {}
- },
- "MACHINES": {
- "Aanschafwaarde Machines 1": {},
- "Aanschafwaarde Machines 2": {},
- "Aanschafwaarde Machines 3": {},
- "Aanschafwaarde Machines 4": {},
- "Aanschafwaarde Machines 5": {},
- "Afschrijving Machines 1": {},
- "Afschrijving Machines 2": {},
- "Afschrijving Machines 3": {},
- "Afschrijving Machines 4": {},
- "Afschrijving Machines 5": {}
- }
- },
- "ONROERENDE GOEDEREN": {
- "Aanschafwaarde Aanloopkosten": {},
- "Aanschafwaarde Bedrijfsgebouwen": {},
- "Aanschafwaarde Gebouwen": {},
- "Aanschafwaarde Grondverbetering": {},
- "Aanschafwaarde Landerijen": {},
- "Aanschafwaarde Ondergrond gebouwen": {},
- "Aanschafwaarde Pachtersinvesteringen": {},
- "Aanschafwaarde Parkeerplaats": {},
- "Aanschafwaarde Verbouwingen": {},
- "Aanschafwaarde Winkels": {},
- "Aanschafwaarde Woon-winkelhuis": {},
- "Afschrijving Aanloopkosten": {},
- "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": ""
- },
- "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": ""
- },
- "VOORRAAD GEREED PRODUCT EN ONDERHANDEN WERK": {
- "Betalingskort. crediteuren": {},
- "Garantiekosten": {},
- "Hulpmaterialen": {},
- "Inkomende vrachten": {},
- "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": {},
- "Kostprijs omzet handelsgoederen": {},
- "Onttrekking uitgev.garantie": {},
- "Priv\u00e9-gebruik goederen": {},
- "Tegenrekening inkoop": {},
- "Toev. Voorz. incour. grondst.": {},
- "Toevoeging garantieverpl.": {},
- "Toevoeging voorz. incour. handelsgoed.": {},
- "Uitbesteed werk": {},
- "Voorz. Incourourant grondst.": {},
- "Voorz.incour. handelsgoed.": {},
- "root_type": ""
- },
- "VOORRAAD GRONDSTOFFEN, HULPMATERIALEN EN HANDELSGOEDEREN": {
- "Emballage": {
- "account_type": "Cash"
- },
- "Gereed product 1": {
- "account_type": "Cash"
- },
- "Gereed product 2": {
- "account_type": "Cash"
- },
- "Goederen 1": {
- "account_type": "Cash"
- },
- "Goederen 2": {
- "account_type": "Cash"
- },
- "Goederen in consignatie": {
- "account_type": "Cash"
- },
- "Goederen onderweg": {
- "account_type": "Cash"
- },
- "Grondstoffen 1": {
- "account_type": "Cash"
- },
- "Grondstoffen 2": {
- "account_type": "Cash"
- },
- "Halffabrikaten 1": {
- "account_type": "Cash"
- },
- "Halffabrikaten 2": {
- "account_type": "Cash"
- },
- "Hulpstoffen 1": {
- "account_type": "Cash"
- },
- "Hulpstoffen 2": {
- "account_type": "Cash"
- },
- "Kantoorbenodigdheden": {
- "account_type": "Cash"
- },
- "Onderhanden werk": {
- "account_type": "Cash"
- },
- "Verpakkingsmateriaal": {
- "account_type": "Cash"
- },
- "Zegels": {
- "account_type": "Cash"
- },
- "root_type": ""
- }
- }
-}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/ar_chart_of_accounts.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/ar_chart_of_accounts.json
index 367ea60bbce..057d43761bd 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/ar_chart_of_accounts.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/ar_chart_of_accounts.json
@@ -2,418 +2,839 @@
"country_code": "ar",
"name": "Argentina - Chart of Accounts",
"tree": {
- "1.0.0.00.00 - ACTIVO": {
- "1.1.0.00.00 - ACTIVO CORRIENTE": {
- "1.1.1.00.00 - CAJA Y BANCOS": {
- "1.1.1.01.00 - CAJAS": {
- "1.1.1.01.01 - Caja": {},
- "1.1.1.01.02 - Caja chica": {},
- "1.1.1.01.03 - Caja en Moneda Extranjera": {},
- "1.1.1.01.04 - Valores a depositar": {},
- "1.1.1.01.05 - Tarjetas - Cupones": {},
+ "ACTIVO": {
+ "ACTIVO CORRIENTE": {
+ "CAJA Y BANCOS": {
+ "BANCOS": {
+ "Banco de la Nacio\u0301n Argentina(ejemplo) c/c en": {
+ "account_number": "1.1.1.02.01"
+ },
+ "Banco del exterior": {
+ "account_number": "1.1.1.02.03"
+ },
+ "account_number": "1.1.1.02.00",
+ "account_type": "Bank"
+ },
+ "CAJAS": {
+ "Caja": {
+ "account_number": "1.1.1.01.01"
+ },
+ "Caja chica": {
+ "account_number": "1.1.1.01.02"
+ },
+ "Caja en Moneda Extranjera": {
+ "account_number": "1.1.1.01.03"
+ },
+ "Tarjetas - Cupones": {
+ "account_number": "1.1.1.01.05"
+ },
+ "Valores a depositar": {
+ "account_number": "1.1.1.01.04"
+ },
+ "account_number": "1.1.1.01.00",
"account_type": "Cash"
},
- "1.1.1.02.00 - BANCOS": {
- "1.1.1.02.01 - Banco de la Nacio\u0301n Argentina(ejemplo) c/c en": {},
- "1.1.1.02.03 - Banco del exterior": {},
- "account_type": "Bank"
- }
+ "account_number": "1.1.1.00.00"
},
- "1.1.2.00.00 - INVERSIONES TEMPORARIAS": {
- "1.1.2.01.00 - INVERSIONES EN ACCIONES": {
- "1.1.2.01.01 - Acciones": {
- "account_type": "Receivable"
- }
- },
- "1.1.2.02.00 - DEPO\u0301SITOS A PLAZO FIJO": {
- "1.1.2.02.01 - Depo\u0301sitos a Plazo Fijo en pesos": {
- "account_type": "Receivable"
- },
- "1.1.2.02.02 - Depo\u0301sitos a Plazo Fijo en moneda": {
- "account_type": "Receivable"
- }
- }
- },
- "1.1.3.00.00 - CRE\u0301DITOS POR VENTAS DE SERVICIOS": {
- "1.1.3.01.00 - DEUDORES EN CTA. CTE": {
- "1.1.3.01.01 - Deudores locales": {
- "account_type": "Receivable"
- },
- "1.1.3.01.02 - Deudores del exterior": {
- "account_type": "Receivable"
- },
- "1.1.3.01.03 - Deudores Morosos": {
+ "CRE\u0301DITOS POR VENTAS DE SERVICIOS": {
+ "DEUDORES EN CTA. CTE": {
+ "Deudores Morosos": {
+ "account_number": "1.1.3.01.03",
"account_type": "Chargeable"
},
- "1.1.3.01.04 - Deudores en Gestio\u0301n Judicial": {}
- },
- "1.1.3.02.00 - Documentos a cobrar por Vas. de Servicios": {
- "account_type": "Receivable"
- },
- "1.1.3.03.00 - Previsio\u0301n para deudores incobrables": {}
- },
- "1.1.4.00.00 - OTROS CRE\u0301DITOS CORRIENTES": {
- "1.1.4.01.00 - CRE\u0301DITOS IMPOSITIVOS CORRIENTES": {
- "1.1.4.01.01 - Anticipos Impuesto a las Ganancias": {},
- "1.1.4.01.02 - Anticipos Impuesto a los Ingresos Brutos": {},
- "1.1.4.01.03 - Percepciones y Retenciones Impto. a las Ganancias": {},
- "1.1.4.01.04 - Percepciones y Retenciones Impto. a los": {},
- "1.1.4.01.05 - IVA Cre\u0301dito Fiscal": {},
- "1.1.4.01.06 - IVA Cre\u0301dito Fiscal Exportacio\u0301n": {},
- "1.1.4.01.07 - IVA Saldo a Favor Te\u0301cnico": {},
- "1.1.4.01.08 - IVA Saldo a Favor Te\u0301cnico": {},
- "1.1.4.01.09 - IVA Saldo a Favor de Libre": {},
- "1.1.4.01.10 - Percepciones y Retenciones de IVA": {},
- "1.1.4.01.11 - Cre\u0301ditos por quebrantos impositivos no": {},
- "1.1.4.01.12 - Activos por Impuesto Diferido (Ctes.)": {}
- },
- "1.1.4.02.00 - CRE\u0301DITOS DIVERSOS CORRIENTES": {
- "1.1.4.02.01 - Cuentas Particulares Directores": {},
- "1.1.4.02.02 - Cuentas Particulares Socios/Accionistas": {},
- "1.1.4.02.03 - Anticipos a Proveedores (No cong.": {
+ "Deudores del exterior": {
+ "account_number": "1.1.3.01.02",
"account_type": "Receivable"
},
- "1.1.4.02.04 - Anticipos de Sueldos": {},
- "1.1.4.02.05 - Pre\u0301stamos al personal": {},
- "1.1.4.02.06 - Depo\u0301sitos pendientes de acreditacio\u0301n": {},
- "1.1.4.02.07 - Arrendamiento pagado por adelantado": {}
- }
+ "Deudores en Gestio\u0301n Judicial": {
+ "account_number": "1.1.3.01.04"
+ },
+ "Deudores locales": {
+ "account_number": "1.1.3.01.01",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.1.3.01.00"
+ },
+ "Documentos a cobrar por Vas. de Servicios": {
+ "account_number": "1.1.3.02.00",
+ "account_type": "Receivable"
+ },
+ "Previsio\u0301n para deudores incobrables": {
+ "account_number": "1.1.3.03.00"
+ },
+ "account_number": "1.1.3.00.00"
},
- "1.1.5.00.00 - OTROS ACTIVOS CORRIENTES": {
- "is_group": 1
- },
- "1.1.6.00.00 - INVENTARIOS": {
+ "INVENTARIOS": {
+ "account_number": "1.1.6.00.00",
"account_type": "Stock",
"is_group": 1
- }
+ },
+ "INVERSIONES TEMPORARIAS": {
+ "DEPO\u0301SITOS A PLAZO FIJO": {
+ "Depo\u0301sitos a Plazo Fijo en moneda": {
+ "account_number": "1.1.2.02.02",
+ "account_type": "Receivable"
+ },
+ "Depo\u0301sitos a Plazo Fijo en pesos": {
+ "account_number": "1.1.2.02.01",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.1.2.02.00"
+ },
+ "INVERSIONES EN ACCIONES": {
+ "Acciones": {
+ "account_number": "1.1.2.01.01",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.1.2.01.00"
+ },
+ "account_number": "1.1.2.00.00"
+ },
+ "OTROS ACTIVOS CORRIENTES": {
+ "account_number": "1.1.5.00.00",
+ "is_group": 1
+ },
+ "OTROS CRE\u0301DITOS CORRIENTES": {
+ "CRE\u0301DITOS DIVERSOS CORRIENTES": {
+ "Anticipos a Proveedores (No cong.": {
+ "account_number": "1.1.4.02.03",
+ "account_type": "Receivable"
+ },
+ "Anticipos de Sueldos": {
+ "account_number": "1.1.4.02.04"
+ },
+ "Arrendamiento pagado por adelantado": {
+ "account_number": "1.1.4.02.07"
+ },
+ "Cuentas Particulares Directores": {
+ "account_number": "1.1.4.02.01"
+ },
+ "Cuentas Particulares Socios/Accionistas": {
+ "account_number": "1.1.4.02.02"
+ },
+ "Depo\u0301sitos pendientes de acreditacio\u0301n": {
+ "account_number": "1.1.4.02.06"
+ },
+ "Pre\u0301stamos al personal": {
+ "account_number": "1.1.4.02.05"
+ },
+ "account_number": "1.1.4.02.00"
+ },
+ "CRE\u0301DITOS IMPOSITIVOS CORRIENTES": {
+ "Activos por Impuesto Diferido (Ctes.)": {
+ "account_number": "1.1.4.01.12"
+ },
+ "Anticipos Impuesto a las Ganancias": {
+ "account_number": "1.1.4.01.01"
+ },
+ "Anticipos Impuesto a los Ingresos Brutos": {
+ "account_number": "1.1.4.01.02"
+ },
+ "Cre\u0301ditos por quebrantos impositivos no": {
+ "account_number": "1.1.4.01.11"
+ },
+ "IVA Cre\u0301dito Fiscal": {
+ "account_number": "1.1.4.01.05"
+ },
+ "IVA Cre\u0301dito Fiscal Exportacio\u0301n": {
+ "account_number": "1.1.4.01.06"
+ },
+ "IVA Saldo a Favor Te\u0301cnico": {
+ "account_number": "1.1.4.01.07"
+ },
+ "IVA Saldo a Favor de Libre": {
+ "account_number": "1.1.4.01.09"
+ },
+ "Percepciones y Retenciones Impto. a las Ganancias": {
+ "account_number": "1.1.4.01.03"
+ },
+ "Percepciones y Retenciones Impto. a los": {
+ "account_number": "1.1.4.01.04"
+ },
+ "Percepciones y Retenciones de IVA": {
+ "account_number": "1.1.4.01.10"
+ },
+ "account_number": "1.1.4.01.00"
+ },
+ "account_number": "1.1.4.00.00"
+ },
+ "account_number": "1.1.0.00.00"
},
- "1.2.0.00.00 - ACTIVO NO CORRIENTE": {
- "1.2.1.00.00 - INVERSIONES PERMANENTES": {
- "1.2.1.01.00 - BONOS DE DEUDA": {
- "1.2.1.01.01 - Ti\u0301tulos Deuda Pu\u0301blica (Pesos)": {
+ "ACTIVO NO CORRIENTE": {
+ "ACTIVOS INTANGIBLES": {
+ "MARCAS Y PATENTES": {
+ "Amortizaciones Acumuladas Marcas y": {
+ "account_number": "1.2.3.01.03"
+ },
+ "Marcas y Patentes Actualizaciones": {
+ "account_number": "1.2.3.01.02"
+ },
+ "Marcas y Patentes Valores Originales": {
+ "account_number": "1.2.3.01.01"
+ },
+ "account_number": "1.2.3.01.00"
+ },
+ "account_number": "1.2.3.00.00"
+ },
+ "BIENES DE USO": {
+ "HERRAMIENTAS": {
+ "Amortizaciones Acumuladas": {
+ "account_number": "1.2.2.09.03",
+ "account_type": "Depreciation"
+ },
+ "Herramientas Ajuste": {
+ "account_number": "1.2.2.09.02"
+ },
+ "Herramientas Valores Originales": {
+ "account_number": "1.2.2.09.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.09.00"
+ },
+ "INMUEBLES": {
+ "Amortizaciones Acumuladas Inmuebles": {
+ "account_number": "1.2.2.01.03",
+ "account_type": "Depreciation"
+ },
+ "Inmuebles Actualizaciones": {
+ "account_number": "1.2.2.01.02"
+ },
+ "Inmuebles Valores originales": {
+ "account_number": "1.2.2.01.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.01.00"
+ },
+ "INSTALACIONES": {
+ "Amortizaciones Acumuladas": {
+ "account_number": "1.2.2.08.03",
+ "account_type": "Depreciation"
+ },
+ "Instalaciones Ajuste": {
+ "account_number": "1.2.2.08.02"
+ },
+ "Instalaciones Valores Originales": {
+ "account_number": "1.2.2.08.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.08.00"
+ },
+ "MAQUINARIAS Y EQUIPOS": {
+ "Amortizaciones Acumuladas Maquinarias": {
+ "account_number": "1.2.2.02.03",
+ "account_type": "Depreciation"
+ },
+ "Maquinarias y Equipos Actualizaciones": {
+ "account_number": "1.2.2.02.02"
+ },
+ "Maquinarias y Equipos Valores de origen": {
+ "account_number": "1.2.2.02.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.02.00"
+ },
+ "MUEBLES Y U\u0301TILES": {
+ "Amortizaciones Acumuladas Muebles y": {
+ "account_number": "1.2.2.03.03",
+ "account_type": "Depreciation"
+ },
+ "Muebles y U\u0301tiles Actualizaciones": {
+ "account_number": "1.2.2.03.02"
+ },
+ "Muebles y U\u0301tiles Valores de Origen": {
+ "account_number": "1.2.2.03.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.03.00"
+ },
+ "RODADOS": {
+ "Amortizaciones Acumuladas Rodados": {
+ "account_number": "1.2.2.04.03",
+ "account_type": "Depreciation"
+ },
+ "Rodados Actualizaciones": {
+ "account_number": "1.2.2.04.02"
+ },
+ "Rodados Valores Originales": {
+ "account_number": "1.2.2.04.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.04.00"
+ },
+ "TERRENOS": {
+ "Terrenos Actualizaciones": {
+ "account_number": "1.2.2.07.02"
+ },
+ "Terrenos Valores Originales": {
+ "account_number": "1.2.2.07.01",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1.2.2.07.00"
+ },
+ "account_number": "1.2.2.00.00"
+ },
+ "CRE\u0301DITOS POR VENTA DE SERVICIOS": {
+ "DEUDORES NO CORRIENTES": {
+ "Deudores Locales (No Ctes.)": {
+ "account_number": "1.2.4.01.01"
+ },
+ "account_number": "1.2.4.01.00"
+ },
+ "Documentos a cobrar por Vtas. de Servicios": {
+ "account_number": "1.2.4.02.00"
+ },
+ "account_number": "1.2.4.00.00"
+ },
+ "INVERSIONES PERMANENTES": {
+ "BONOS DE DEUDA": {
+ "Bonex": {
+ "account_number": "1.2.1.01.02"
+ },
+ "Ti\u0301tulos Deuda Pu\u0301blica (Pesos)": {
+ "account_number": "1.2.1.01.01",
"is_group": 1
},
- "1.2.1.01.02 - Bonex": {}
+ "account_number": "1.2.1.01.00"
},
- "1.2.1.02.00 - DEPO\u0301SITOS A PLAZO FIJO NO": {
- "1.2.1.02.01 - Depo\u0301sitos a plazo fijo en pesos (no cte.)": {},
- "1.2.1.02.02 - Depo\u0301sitos a plazo fijo en moneda": {}
+ "DEPO\u0301SITOS A PLAZO FIJO NO": {
+ "Depo\u0301sitos a plazo fijo en moneda": {
+ "account_number": "1.2.1.02.02"
+ },
+ "Depo\u0301sitos a plazo fijo en pesos (no cte.)": {
+ "account_number": "1.2.1.02.01"
+ },
+ "account_number": "1.2.1.02.00"
},
- "1.2.1.03.00 - INVERSIONES EN BIENES DEPRECIABLES": {
- "1.2.1.03.01 - Inversiones en Inmuebles Valores": {},
- "1.2.1.03.02 - Inversiones en Inmuebles": {},
- "1.2.1.03.03 - Amortizaciones Acumuladas Inversiones": {}
- }
+ "INVERSIONES EN BIENES DEPRECIABLES": {
+ "Amortizaciones Acumuladas Inversiones": {
+ "account_number": "1.2.1.03.03"
+ },
+ "Inversiones en Inmuebles": {
+ "account_number": "1.2.1.03.02"
+ },
+ "Inversiones en Inmuebles Valores": {
+ "account_number": "1.2.1.03.01"
+ },
+ "account_number": "1.2.1.03.00"
+ },
+ "account_number": "1.2.1.00.00"
},
- "1.2.2.00.00 - BIENES DE USO": {
- "1.2.2.01.00 - INMUEBLES": {
- "1.2.2.01.01 - Inmuebles Valores originales": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.01.02 - Inmuebles Actualizaciones": {},
- "1.2.2.01.03 - Amortizaciones Acumuladas Inmuebles": {
- "account_type": "Depreciation"
- }
+ "OTROS ACTIVOS NO CORRIENTES": {
+ "Llave de Negocio": {
+ "account_number": "1.2.6.01.00"
},
- "1.2.2.02.00 - MAQUINARIAS Y EQUIPOS": {
- "1.2.2.02.01 - Maquinarias y Equipos Valores de origen": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.02.02 - Maquinarias y Equipos Actualizaciones": {},
- "1.2.2.02.03 - Amortizaciones Acumuladas Maquinarias": {
- "account_type": "Depreciation"
- }
- },
- "1.2.2.03.00 - MUEBLES Y U\u0301TILES": {
- "1.2.2.03.01 - Muebles y U\u0301tiles Valores de Origen": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.03.02 - Muebles y U\u0301tiles Actualizaciones": {},
- "1.2.2.03.03 - Amortizaciones Acumuladas Muebles y": {
- "account_type": "Depreciation"
- }
- },
- "1.2.2.04.00 - RODADOS": {
- "1.2.2.04.01 - Rodados Valores Originales": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.04.02 - Rodados Actualizaciones": {},
- "1.2.2.04.03 - Amortizaciones Acumuladas Rodados": {
- "account_type": "Depreciation"
- }
- },
- "1.2.2.07.00 - TERRENOS": {
- "1.2.2.07.01 - Terrenos Valores Originales": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.07.02 - Terrenos Actualizaciones": {}
- },
- "1.2.2.08.00 - INSTALACIONES": {
- "1.2.2.08.01 - Instalaciones Valores Originales": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.08.02 - Instalaciones Ajuste": {},
- "1.2.2.08.03 - Amortizaciones Acumuladas": {
- "account_type": "Depreciation"
- }
- },
- "1.2.2.09.00 - HERRAMIENTAS": {
- "1.2.2.09.01 - Herramientas Valores Originales": {
- "account_type": "Fixed Asset"
- },
- "1.2.2.09.02 - Herramientas Ajuste": {},
- "1.2.2.09.03 - Amortizaciones Acumuladas": {
- "account_type": "Depreciation"
- }
- }
+ "account_number": "1.2.6.00.00"
},
- "1.2.3.00.00 - ACTIVOS INTANGIBLES": {
- "1.2.3.01.00 - MARCAS Y PATENTES": {
- "1.2.3.01.01 - Marcas y Patentes Valores Originales": {},
- "1.2.3.01.02 - Marcas y Patentes Actualizaciones": {},
- "1.2.3.01.03 - Amortizaciones Acumuladas Marcas y": {}
- }
- },
- "1.2.4.00.00 - CRE\u0301DITOS POR VENTA DE SERVICIOS": {
- "1.2.4.01.00 - DEUDORES NO CORRIENTES": {
- "1.2.4.01.01 - Deudores Locales (No Ctes.)": {}
+ "OTROS CRE\u0301DITOS NO CORRIENTES": {
+ "CRE\u0301DITOS DIVERSOS NO CORRIENTES": {
+ "Cuentas Particulares Directores (No": {
+ "account_number": "1.2.5.02.01"
+ },
+ "Cuentas Particulares Socios/Accionistas": {
+ "account_number": "1.2.5.02.02"
+ },
+ "account_number": "1.2.5.02.00"
},
- "1.2.4.02.00 - Documentos a cobrar por Vtas. de Servicios": {}
- },
- "1.2.5.00.00 - OTROS CRE\u0301DITOS NO CORRIENTES": {
- "1.2.5.01.00 - CRE\u0301DITOS IMPOSITIVOS NO CORRIENTES": {
- "1.2.5.01.01 - Activos por Impto. Diferido (No Ctes.)": {},
- "1.2.5.01.02 - Cre\u0301ditos por Quebrantos Impositivos no": {}
+ "CRE\u0301DITOS IMPOSITIVOS NO CORRIENTES": {
+ "Activos por Impto. Diferido (No Ctes.)": {
+ "account_number": "1.2.5.01.01"
+ },
+ "Cre\u0301ditos por Quebrantos Impositivos no": {
+ "account_number": "1.2.5.01.02"
+ },
+ "account_number": "1.2.5.01.00"
},
- "1.2.5.02.00 - CRE\u0301DITOS DIVERSOS NO CORRIENTES": {
- "1.2.5.02.01 - Cuentas Particulares Directores (No": {},
- "1.2.5.02.02 - Cuentas Particulares Socios/Accionistas": {}
- }
+ "account_number": "1.2.5.00.00"
},
- "1.2.6.00.00 - OTROS ACTIVOS NO CORRIENTES": {
- "1.2.6.01.00 - Llave de Negocio": {}
- }
+ "account_number": "1.2.0.00.00"
},
+ "account_number": "1.0.0.00.00",
"root_type": "Asset"
},
- "2.0.0.00.00 - PASIVO": {
- "2.1.0.00.00 - PASIVO CORRIENTE": {
- "2.1.1.00.00 - DEUDAS COMERCIALES CORRIENTES": {
- "2.1.1.02.00 - ACREEDORES": {
- "2.1.1.02.01 - Acreedores Locales (Ctes.)": {
- "account_type": "Payable"
- }
- }
+ "EGRESOS": {
+ "EGRESOS EXTRAORDINARIOS": {
+ "Ajuste de Amortizaciones acumuladas de": {
+ "account_number": "5.2.4.00.00"
},
- "2.1.2.00.00 - REMUNERACIONES Y CAGAS SOCIALES": {
- "2.1.2.02.00 - DEUDAS PREVISIONALES": {
- "2.1.2.02.01 - Jubilaciones a pagar": {},
- "2.1.2.02.02 - ART a pagar": {},
- "2.1.2.02.03 - Obra Social a pagar": {},
- "2.1.2.02.04 - SAC a pagar": {},
- "2.1.2.02.05 - Vacaciones a pagar": {}
- },
- "2.1.2.03.00 - Sueldos y Jornales a pagar": {
- "account_type": "Chargeable"
- }
+ "Ajuste del valor de los bienes": {
+ "account_number": "5.2.3.00.00"
},
- "2.1.3.00.00 - CARGAS FISCALES": {
- "2.1.3.01.00 - IMPUESTO AL VALOR AGREGADO": {
- "2.1.3.01.01 - IVA De\u0301bito Fiscal": {},
- "2.1.3.01.02 - IVA De\u0301bito Fiscal Sobretasa": {},
- "2.1.3.01.03 - Percepciones y Retenciones efectuadas": {},
- "2.1.3.01.04 - IVA a Pagar": {}
- },
- "2.1.3.02.00 - INGRESOS BRUTOS": {
- "2.1.3.02.01 - Impuesto a los Ingresos Brutos a Pagar": {},
- "2.1.3.02.02 - Percepciones efectuadas Ingresos": {}
- },
- "2.1.3.03.00 - IMPUESTO A LAS GANANCIAS": {
- "2.1.3.03.01 - Impuesto Ganancia Mi\u0301nima Presunta a": {},
- "2.1.3.03.02 - Impuesto a las Ganancias a Pagar": {},
- "2.1.3.03.03 - Pasivo por Impuesto Diferido": {},
- "2.1.3.03.04 - Percepciones y Retenciones efectuadas": {}
- }
+ "Amortizaciones extraordinarias": {
+ "account_number": "5.2.2.00.00"
},
- "2.1.4.00.00 - DEUDAS FINANCIERAS": {
- "2.1.4.01.00 - Pre\u0301stamo Banco de la Nacio\u0301n Argentina (Cte.)": {},
- "2.1.4.02.00 - Pre\u0301stamo Banco de la Provincia de Bs. As.": {}
+ "Pe\u0301rdida por venta bienes de uso": {
+ "account_number": "5.2.1.00.00"
},
- "2.1.5.00.00 - OTRAS DEUDAS CORRIENTES": {
- "2.1.5.01.00 - Dividendos a pagar (Ctes.)": {},
- "2.1.5.02.00 - Honorarios Directores a Pagar (Ctes.)": {}
- },
- "2.1.6.00.00 - PROVISIONES": {
- "2.1.6.01.00 - Provisio\u0301n para despidos": {},
- "2.1.6.02.00 - Provisio\u0301n para SAC": {}
- },
- "2.1.7.00.00 - INVENTARIOS POR PAGAR": {
- "2.1.7.01.00 - Inventario entrante no facturado": {
- "account_type": "Stock Received But Not Billed"
- }
- }
+ "account_number": "5.2.0.00.00"
},
- "2.2.0.00.00 - PASIVO NO CORRIENTE": {
- "2.2.1.00.00 - DEUDAS FINANCIERAS NO CORRIENTES": {
- "2.2.1.01.00 - Pre\u0301stamo Banco de la Nacio\u0301n Argentina(ejemplo) (No": {}
+ "EGRESOS ORDINARIOS": {
+ "GASTOS DE ADMINISTRACIO\u0301N": {
+ "Amortizaciones - Administracio\u0301n": {
+ "account_number": "5.1.3.04.00"
+ },
+ "Cargas Sociales - Administracio\u0301n": {
+ "account_number": "5.1.3.02.00"
+ },
+ "Certificaciones y Sellados": {
+ "account_number": "5.1.3.07.00"
+ },
+ "Correspondencia - Administracio\u0301n": {
+ "account_number": "5.1.3.11.00"
+ },
+ "Costo sobre ventas": {
+ "account_number": "5.1.3.15.00",
+ "account_type": "Cost of Goods Sold"
+ },
+ "Energi\u0301a - Administracio\u0301n": {
+ "account_number": "5.1.3.13.00"
+ },
+ "Gastos Bancarios - Administracio\u0301n": {
+ "account_number": "5.1.3.08.00"
+ },
+ "Gastos Varios - Administracio\u0301n": {
+ "account_number": "5.1.3.09.00"
+ },
+ "Gastos de Valoracion": {
+ "account_number": "5.1.3.16.00",
+ "account_type": "Expenses Included In Valuation"
+ },
+ "Honorarios - Administracio\u0301n": {
+ "account_number": "5.1.3.03.00"
+ },
+ "Insumos Computacio\u0301n - Administracio\u0301n": {
+ "account_number": "5.1.3.10.00"
+ },
+ "Libreri\u0301a y Papeleri\u0301a - Administracio\u0301n": {
+ "account_number": "5.1.3.06.00"
+ },
+ "Mantenimiento - Administracio\u0301n": {
+ "account_number": "5.1.3.12.00"
+ },
+ "Seguros - Administracio\u0301n": {
+ "account_number": "5.1.3.14.00"
+ },
+ "Sueldos - Administracio\u0301n": {
+ "account_number": "5.1.3.01.00"
+ },
+ "Via\u0301ticos - Administracio\u0301n": {
+ "account_number": "5.1.3.05.00"
+ },
+ "account_number": "5.1.3.00.00"
},
- "2.2.2.00.00 - CARGAS FISCALES NO CORRIENTES": {
- "2.2.2.01.00 - Moratoria": {}
+ "GASTOS DE COMERCIALIZACIO\u0301N": {
+ "Amortizaciones - Comercializacio\u0301n": {
+ "account_number": "5.1.4.04.00"
+ },
+ "Cargas Sociales - Comercializacio\u0301n": {
+ "account_number": "5.1.4.02.00"
+ },
+ "Comisiones de terceros": {
+ "account_number": "5.1.4.11.00"
+ },
+ "Descuentos otorgados a clientes": {
+ "account_number": "5.1.4.10.00"
+ },
+ "Fletes - Comercializacio\u0301n": {
+ "account_number": "5.1.4.08.00"
+ },
+ "Gastos Varios - Comercializacio\u0301n": {
+ "account_number": "5.1.4.07.00"
+ },
+ "Honorarios - Comercializacio\u0301n": {
+ "account_number": "5.1.4.06.00"
+ },
+ "IVA no computable - Comercializacio\u0301n": {
+ "account_number": "5.1.4.09.00"
+ },
+ "Publicidad - Comercializacio\u0301n": {
+ "account_number": "5.1.4.03.00"
+ },
+ "Quebrantos por deudores": {
+ "account_number": "5.1.4.12.00"
+ },
+ "Seguros - Comercializacio\u0301n": {
+ "account_number": "5.1.4.05.00"
+ },
+ "Sueldos - Comercializacio\u0301n": {
+ "account_number": "5.1.4.01.00"
+ },
+ "Via\u0301ticos - Comercializacio\u0301n": {
+ "account_number": "5.1.4.13.00"
+ },
+ "account_number": "5.1.4.00.00"
},
- "2.2.3.00.00 - DEUDAS COMERCIALES": {
- "2.2.3.01.00 - ACREEDORES": {
- "2.2.3.01.01 - Acreedores Locales (No Ctes.)": {}
- }
+ "GASTOS DE EXPLOTACIO\u0301N": {
+ "Amortizaciones - Explotacio\u0301n": {
+ "account_number": "5.1.2.10.00"
+ },
+ "Cargas Sociales - Explotacio\u0301n": {
+ "account_number": "5.1.2.02.00"
+ },
+ "Combustibles y Lubricantes - Explotacio\u0301n": {
+ "account_number": "5.1.2.14.00"
+ },
+ "Comida del personal - Explotacio\u0301n": {
+ "account_number": "5.1.2.08.00"
+ },
+ "Cuota me\u0301dica a cargo del empleador": {
+ "account_number": "5.1.2.09.00"
+ },
+ "Despidos - Explotacio\u0301n": {
+ "account_number": "5.1.2.07.00"
+ },
+ "Energi\u0301a - Explotacio\u0301n": {
+ "account_number": "5.1.2.03.00"
+ },
+ "Fletes - Explotacio\u0301n": {
+ "account_number": "5.1.2.16.00"
+ },
+ "Gastos de limpieza - Explotacio\u0301n": {
+ "account_number": "5.1.2.12.00"
+ },
+ "Honorarios Profesionales - Explotacio\u0301n": {
+ "account_number": "5.1.2.04.00"
+ },
+ "Insumos diversos - Explotacio\u0301n": {
+ "account_number": "5.1.2.15.00"
+ },
+ "Mantenimiento - Explotacio\u0301n": {
+ "account_number": "5.1.2.13.00"
+ },
+ "Repuestos y Reparaciones - Explotacio\u0301n": {
+ "account_number": "5.1.2.11.00"
+ },
+ "Ropa de trabajo - Explotacio\u0301n": {
+ "account_number": "5.1.2.05.00"
+ },
+ "Seguros - Explotacio\u0301n": {
+ "account_number": "5.1.2.06.00"
+ },
+ "Sueldos y Jornales - Explotacio\u0301n": {
+ "account_number": "5.1.2.01.00"
+ },
+ "account_number": "5.1.2.00.00"
},
- "2.2.4.00.00 - OTRAS DEUDAS NO CORRIENTES": {
- "is_group": 1
- }
+ "GASTOS FINANCIEROS": {
+ "Amortizaciones Inversiones en bienes": {
+ "account_number": "5.1.5.08.00"
+ },
+ "Diferencia de Cambio": {
+ "account_number": "5.1.5.04.00"
+ },
+ "Diferencia de Cambio Balance en": {
+ "account_number": "5.1.5.05.00"
+ },
+ "Intereses a Proveedores": {
+ "account_number": "5.1.5.02.00"
+ },
+ "Intereses y Gastos bancarios": {
+ "account_number": "5.1.5.01.00"
+ },
+ "Intereses y recargos impositivos": {
+ "account_number": "5.1.5.03.00"
+ },
+ "R.E.C.P.A.M": {
+ "account_number": "5.1.5.09.00"
+ },
+ "Resultado por tenencia (negativo)": {
+ "account_number": "5.1.5.06.00"
+ },
+ "Resultado por tenencia negativo de": {
+ "account_number": "5.1.5.10.00"
+ },
+ "account_number": "5.1.5.00.00"
+ },
+ "GASTOS SOBRE EXISTENCIAS": {
+ "Ajuste de Existencia": {
+ "account_number": "5.1.8.03.00",
+ "account_type": "Stock Adjustment"
+ },
+ "Costo sobre ventas": {
+ "account_number": "5.1.8.01.00",
+ "account_type": "Cost of Goods Sold"
+ },
+ "Gastos de Valoracion": {
+ "account_number": "5.1.8.02.00",
+ "account_type": "Expenses Included In Valuation"
+ },
+ "account_number": "5.1.8.00.00"
+ },
+ "IMPUESTOS": {
+ "Impuesto a las Ganancia Mi\u0301nima": {
+ "account_number": "5.1.7.02.00"
+ },
+ "Impuesto a las Ganancias": {
+ "account_number": "5.1.7.01.00"
+ },
+ "Impuesto a los Ingresos Brutos": {
+ "account_number": "5.1.7.03.00"
+ },
+ "Impuesto s/ los De\u0301bitos y Cre\u0301ditos": {
+ "account_number": "5.1.7.06.00"
+ },
+ "Impuestos Territoriales": {
+ "account_number": "5.1.7.05.00"
+ },
+ "Impuestos internos y varios": {
+ "account_number": "5.1.7.07.00"
+ },
+ "Tasa municipal": {
+ "account_number": "5.1.7.04.00"
+ },
+ "account_number": "5.1.7.00.00"
+ },
+ "account_number": "5.1.0.00.00"
},
- "root_type": "Liability"
+ "account_number": "5.0.0.00.00",
+ "root_type": "Expense"
},
- "3.0.0.00.00 - PATRIMONIO NETO": {
- "3.1.0.00.00 - APORTE DE LOS PROPIETARIOS": {
- "3.1.1.00.00 - CAPITAL SOCIAL": {
- "3.1.1.01.00 - Acciones en Circulacio\u0301n": {},
- "3.1.1.02.00 - Aportes Irrevocables": {},
- "3.1.1.03.00 - Acciones a distribuir": {},
- "3.1.1.04.00 - Capital": {},
- "3.1.1.05.00 - Ajuste del Capital": {}
- }
- },
- "3.3.0.00.00 - RESERVAS": {
- "3.3.1.00.00 - Reserva Legal": {},
- "3.3.2.00.00 - Reserva Facultativa": {},
- "3.3.3.00.00 - Reserva Estatutaria": {},
- "3.3.4.00.00 - Ajuste Reserva Legal": {}
- },
- "3.4.0.00.00 - RESULTADOS ACUMULADOS": {
- "3.4.1.00.00 - Resultado del Ejercicio": {},
- "3.4.2.00.00 - Resultado Ejercicios Anteriores": {},
- "3.4.3.00.00 - A.R.E.A (P)": {},
- "3.4.4.00.00 - A.R.E.A (G)": {}
- },
- "root_type": "Equity"
- },
- "4.1.0.00.00 - INGRESOS": {
- "4.1.0.00.00 - INGRESOS ORDINARIOS": {
- "4.1.1.00.00 - INGRESOS POR SERVICIOS PRESTADOS": {
- "4.1.1.01.00 - Ventas de Servicios": {},
- "4.1.1.02.00 - Ingresos de fuente extranjera": {}
+ "INGRESOS": {
+ "INGRESOS EXTRAORDINARIOS": {
+ "Otros ingresos extraordinarios": {
+ "account_number": "4.2.3.00.00"
},
- "4.1.3.00.00 - RESULTADOS FINANCIEROS Y POR": {
- "4.1.3.01.00 - Intereses Ganados": {},
- "4.1.3.02.00 - Resultado por Tenencia de acciones": {},
- "4.1.3.03.00 - Diferencia tipo de cambio": {},
- "4.1.3.04.00 - Resultado por tenencia (positivo)": {}
+ "Reintegro de Seguros": {
+ "account_number": "4.2.2.00.00"
},
- "4.1.4.00.00 - OTROS INGRESOS ORDINARIOS": {
+ "Utilidad Venta Bienes de Uso": {
+ "account_number": "4.2.1.00.00"
+ },
+ "account_number": "4.2.0.00.00"
+ },
+ "INGRESOS ORDINARIOS": {
+ "INGRESOS POR SERVICIOS PRESTADOS": {
+ "Ingresos de fuente extranjera": {
+ "account_number": "4.1.1.02.00"
+ },
+ "Ventas de Servicios": {
+ "account_number": "4.1.1.01.00"
+ },
+ "account_number": "4.1.1.00.00"
+ },
+ "OTROS INGRESOS ORDINARIOS": {
+ "account_number": "4.1.4.00.00",
"is_group": 1
- }
- },
- "4.2.0.00.00 - INGRESOS EXTRAORDINARIOS": {
- "4.2.1.00.00 - Utilidad Venta Bienes de Uso": {},
- "4.2.2.00.00 - Reintegro de Seguros": {},
- "4.2.3.00.00 - Otros ingresos extraordinarios": {}
+ },
+ "RESULTADOS FINANCIEROS Y POR": {
+ "Diferencia tipo de cambio": {
+ "account_number": "4.1.3.03.00"
+ },
+ "Intereses Ganados": {
+ "account_number": "4.1.3.01.00"
+ },
+ "Resultado por Tenencia de acciones": {
+ "account_number": "4.1.3.02.00"
+ },
+ "Resultado por tenencia (positivo)": {
+ "account_number": "4.1.3.04.00"
+ },
+ "account_number": "4.1.3.00.00"
+ },
+ "account_number": "4.1.0.00.00"
},
+ "account_number": "4.0.0.00.00",
"root_type": "Income"
},
- "5.0.0.00.00 - EGRESOS": {
- "5.1.0.00.00 - EGRESOS ORDINARIOS": {
- "5.1.2.00.00 - GASTOS DE EXPLOTACIO\u0301N": {
- "5.1.2.01.00 - Sueldos y Jornales - Explotacio\u0301n": {},
- "5.1.2.02.00 - Cargas Sociales - Explotacio\u0301n": {},
- "5.1.2.03.00 - Energi\u0301a - Explotacio\u0301n": {},
- "5.1.2.04.00 - Honorarios Profesionales - Explotacio\u0301n": {},
- "5.1.2.05.00 - Ropa de trabajo - Explotacio\u0301n": {},
- "5.1.2.06.00 - Seguros - Explotacio\u0301n": {},
- "5.1.2.07.00 - Despidos - Explotacio\u0301n": {},
- "5.1.2.08.00 - Comida del personal - Explotacio\u0301n": {},
- "5.1.2.09.00 - Cuota me\u0301dica a cargo del empleador": {},
- "5.1.2.10.00 - Amortizaciones - Explotacio\u0301n": {},
- "5.1.2.11.00 - Repuestos y Reparaciones - Explotacio\u0301n": {},
- "5.1.2.12.00 - Gastos de limpieza - Explotacio\u0301n": {},
- "5.1.2.13.00 - Mantenimiento - Explotacio\u0301n": {},
- "5.1.2.14.00 - Combustibles y Lubricantes - Explotacio\u0301n": {},
- "5.1.2.15.00 - Insumos diversos - Explotacio\u0301n": {},
- "5.1.2.16.00 - Fletes - Explotacio\u0301n": {}
- },
- "5.1.3.00.00 - GASTOS DE ADMINISTRACIO\u0301N": {
- "5.1.3.01.00 - Sueldos - Administracio\u0301n": {},
- "5.1.3.02.00 - Cargas Sociales - Administracio\u0301n": {},
- "5.1.3.03.00 - Honorarios - Administracio\u0301n": {},
- "5.1.3.04.00 - Amortizaciones - Administracio\u0301n": {},
- "5.1.3.05.00 - Via\u0301ticos - Administracio\u0301n": {},
- "5.1.3.06.00 - Libreri\u0301a y Papeleri\u0301a - Administracio\u0301n": {},
- "5.1.3.07.00 - Certificaciones y Sellados": {},
- "5.1.3.08.00 - Gastos Bancarios - Administracio\u0301n": {},
- "5.1.3.09.00 - Gastos Varios - Administracio\u0301n": {},
- "5.1.3.10.00 - Insumos Computacio\u0301n - Administracio\u0301n": {},
- "5.1.3.11.00 - Correspondencia - Administracio\u0301n": {},
- "5.1.3.12.00 - Mantenimiento - Administracio\u0301n": {},
- "5.1.3.13.00 - Energi\u0301a - Administracio\u0301n": {},
- "5.1.3.14.00 - Seguros - Administracio\u0301n": {},
- "5.1.3.15.00 - Costo sobre ventas": {
- "account_type": "Cost of Goods Sold"
+ "PASIVO": {
+ "PASIVO CORRIENTE": {
+ "CARGAS FISCALES": {
+ "IMPUESTO A LAS GANANCIAS": {
+ "Impuesto Ganancia Mi\u0301nima Presunta a": {
+ "account_number": "2.1.3.03.01"
+ },
+ "Impuesto a las Ganancias a Pagar": {
+ "account_number": "2.1.3.03.02"
+ },
+ "Pasivo por Impuesto Diferido": {
+ "account_number": "2.1.3.03.03"
+ },
+ "Percepciones y Retenciones efectuadas": {
+ "account_number": "2.1.3.03.04"
+ },
+ "account_number": "2.1.3.03.00"
},
- "5.1.3.16.00 - Gastos de Valoracion": {
- "account_type": "Expenses Included In Valuation"
- }
- },
- "5.1.4.00.00 - GASTOS DE COMERCIALIZACIO\u0301N": {
- "5.1.4.01.00 - Sueldos - Comercializacio\u0301n": {},
- "5.1.4.02.00 - Cargas Sociales - Comercializacio\u0301n": {},
- "5.1.4.03.00 - Publicidad - Comercializacio\u0301n": {},
- "5.1.4.04.00 - Amortizaciones - Comercializacio\u0301n": {},
- "5.1.4.05.00 - Seguros - Comercializacio\u0301n": {},
- "5.1.4.06.00 - Honorarios - Comercializacio\u0301n": {},
- "5.1.4.07.00 - Gastos Varios - Comercializacio\u0301n": {},
- "5.1.4.08.00 - Fletes - Comercializacio\u0301n": {},
- "5.1.4.09.00 - IVA no computable - Comercializacio\u0301n": {},
- "5.1.4.10.00 - Descuentos otorgados a clientes": {},
- "5.1.4.11.00 - Comisiones de terceros": {},
- "5.1.4.12.00 - Quebrantos por deudores": {},
- "5.1.4.13.00 - Via\u0301ticos - Comercializacio\u0301n": {}
- },
- "5.1.5.00.00 - GASTOS FINANCIEROS": {
- "5.1.5.01.00 - Intereses y Gastos bancarios": {},
- "5.1.5.02.00 - Intereses a Proveedores": {},
- "5.1.5.03.00 - Intereses y recargos impositivos": {},
- "5.1.5.04.00 - Diferencia de Cambio": {},
- "5.1.5.05.00 - Diferencia de Cambio Balance en": {},
- "5.1.5.06.00 - Resultado por tenencia (negativo)": {},
- "5.1.5.08.00 - Amortizaciones Inversiones en bienes": {},
- "5.1.5.09.00 - R.E.C.P.A.M": {},
- "5.1.5.10.00 - Resultado por tenencia negativo de": {}
- },
- "5.1.7.00.00 - IMPUESTOS": {
- "5.1.7.01.00 - Impuesto a las Ganancias": {},
- "5.1.7.02.00 - Impuesto a las Ganancia Mi\u0301nima": {},
- "5.1.7.03.00 - Impuesto a los Ingresos Brutos": {},
- "5.1.7.04.00 - Tasa municipal": {},
- "5.1.7.05.00 - Impuestos Territoriales": {},
- "5.1.7.06.00 - Impuesto s/ los De\u0301bitos y Cre\u0301ditos": {},
- "5.1.7.07.00 - Impuestos internos y varios": {}
- },
- "5.1.8.00.00 - GASTOS SOBRE EXISTENCIAS": {
- "5.1.8.01.00 - Costo sobre ventas": {
- "account_type": "Cost of Goods Sold"
+ "IMPUESTO AL VALOR AGREGADO": {
+ "IVA De\u0301bito Fiscal": {
+ "account_number": "2.1.3.01.01"
+ },
+ "IVA De\u0301bito Fiscal Sobretasa": {
+ "account_number": "2.1.3.01.02"
+ },
+ "IVA a Pagar": {
+ "account_number": "2.1.3.01.04"
+ },
+ "Percepciones y Retenciones efectuadas": {
+ "account_number": "2.1.3.01.03"
+ },
+ "account_number": "2.1.3.01.00"
},
- "5.1.8.02.00 - Gastos de Valoracion": {
- "account_type": "Expenses Included In Valuation"
+ "INGRESOS BRUTOS": {
+ "Impuesto a los Ingresos Brutos a Pagar": {
+ "account_number": "2.1.3.02.01"
+ },
+ "Percepciones efectuadas Ingresos": {
+ "account_number": "2.1.3.02.02"
+ },
+ "account_number": "2.1.3.02.00"
},
- "5.1.8.03.00 - Ajuste de Existencia": {
- "account_type": "Stock Adjustment"
- }
- }
+ "account_number": "2.1.3.00.00"
+ },
+ "DEUDAS COMERCIALES CORRIENTES": {
+ "ACREEDORES": {
+ "Acreedores Locales (Ctes.)": {
+ "account_number": "2.1.1.02.01",
+ "account_type": "Payable"
+ },
+ "account_number": "2.1.1.02.00"
+ },
+ "account_number": "2.1.1.00.00"
+ },
+ "DEUDAS FINANCIERAS": {
+ "Pre\u0301stamo Banco de la Nacio\u0301n Argentina (Cte.)": {
+ "account_number": "2.1.4.01.00"
+ },
+ "Pre\u0301stamo Banco de la Provincia de Bs. As.": {
+ "account_number": "2.1.4.02.00"
+ },
+ "account_number": "2.1.4.00.00"
+ },
+ "INVENTARIOS POR PAGAR": {
+ "Inventario entrante no facturado": {
+ "account_number": "2.1.7.01.00",
+ "account_type": "Stock Received But Not Billed"
+ },
+ "account_number": "2.1.7.00.00"
+ },
+ "OTRAS DEUDAS CORRIENTES": {
+ "Dividendos a pagar (Ctes.)": {
+ "account_number": "2.1.5.01.00"
+ },
+ "Honorarios Directores a Pagar (Ctes.)": {
+ "account_number": "2.1.5.02.00"
+ },
+ "account_number": "2.1.5.00.00"
+ },
+ "PROVISIONES": {
+ "Provisio\u0301n para SAC": {
+ "account_number": "2.1.6.02.00"
+ },
+ "Provisio\u0301n para despidos": {
+ "account_number": "2.1.6.01.00"
+ },
+ "account_number": "2.1.6.00.00"
+ },
+ "REMUNERACIONES Y CAGAS SOCIALES": {
+ "DEUDAS PREVISIONALES": {
+ "ART a pagar": {
+ "account_number": "2.1.2.02.02"
+ },
+ "Jubilaciones a pagar": {
+ "account_number": "2.1.2.02.01"
+ },
+ "Obra Social a pagar": {
+ "account_number": "2.1.2.02.03"
+ },
+ "SAC a pagar": {
+ "account_number": "2.1.2.02.04"
+ },
+ "Vacaciones a pagar": {
+ "account_number": "2.1.2.02.05"
+ },
+ "account_number": "2.1.2.02.00"
+ },
+ "Sueldos y Jornales a pagar": {
+ "account_number": "2.1.2.03.00",
+ "account_type": "Chargeable"
+ },
+ "account_number": "2.1.2.00.00"
+ },
+ "account_number": "2.1.0.00.00"
},
- "5.2.0.00.00 - EGRESOS EXTRAORDINARIOS": {
- "5.2.1.00.00 - Pe\u0301rdida por venta bienes de uso": {},
- "5.2.2.00.00 - Amortizaciones extraordinarias": {},
- "5.2.3.00.00 - Ajuste del valor de los bienes": {},
- "5.2.4.00.00 - Ajuste de Amortizaciones acumuladas de": {}
+ "PASIVO NO CORRIENTE": {
+ "CARGAS FISCALES NO CORRIENTES": {
+ "Moratoria": {
+ "account_number": "2.2.2.01.00"
+ },
+ "account_number": "2.2.2.00.00"
+ },
+ "DEUDAS COMERCIALES": {
+ "ACREEDORES": {
+ "Acreedores Locales (No Ctes.)": {
+ "account_number": "2.2.3.01.01"
+ },
+ "account_number": "2.2.3.01.00"
+ },
+ "account_number": "2.2.3.00.00"
+ },
+ "DEUDAS FINANCIERAS NO CORRIENTES": {
+ "Pre\u0301stamo Banco de la Nacio\u0301n Argentina(ejemplo) (No": {
+ "account_number": "2.2.1.01.00"
+ },
+ "account_number": "2.2.1.00.00"
+ },
+ "OTRAS DEUDAS NO CORRIENTES": {
+ "account_number": "2.2.4.00.00",
+ "is_group": 1
+ },
+ "account_number": "2.2.0.00.00"
},
- "root_type": "Expense"
+ "account_number": "2.0.0.00.00",
+ "root_type": "Liability"
+ },
+ "PATRIMONIO NETO": {
+ "APORTE DE LOS PROPIETARIOS": {
+ "CAPITAL SOCIAL": {
+ "Acciones a distribuir": {
+ "account_number": "3.1.1.03.00"
+ },
+ "Acciones en Circulacio\u0301n": {
+ "account_number": "3.1.1.01.00"
+ },
+ "Ajuste del Capital": {
+ "account_number": "3.1.1.05.00"
+ },
+ "Aportes Irrevocables": {
+ "account_number": "3.1.1.02.00"
+ },
+ "Capital": {
+ "account_number": "3.1.1.04.00"
+ },
+ "account_number": "3.1.1.00.00"
+ },
+ "account_number": "3.1.0.00.00"
+ },
+ "RESERVAS": {
+ "Ajuste Reserva Legal": {
+ "account_number": "3.3.4.00.00"
+ },
+ "Reserva Estatutaria": {
+ "account_number": "3.3.3.00.00"
+ },
+ "Reserva Facultativa": {
+ "account_number": "3.3.2.00.00"
+ },
+ "Reserva Legal": {
+ "account_number": "3.3.1.00.00"
+ },
+ "account_number": "3.3.0.00.00"
+ },
+ "RESULTADOS ACUMULADOS": {
+ "A.R.E.A (G)": {
+ "account_number": "3.4.4.00.00"
+ },
+ "A.R.E.A (P)": {
+ "account_number": "3.4.3.00.00"
+ },
+ "Resultado Ejercicios Anteriores": {
+ "account_number": "3.4.2.00.00"
+ },
+ "Resultado del Ejercicio": {
+ "account_number": "3.4.1.00.00"
+ },
+ "account_number": "3.4.0.00.00"
+ },
+ "account_number": "3.0.0.00.00",
+ "root_type": "Equity"
}
}
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/fr_plan_comptable_general.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/fr_plan_comptable_general.json
index 018d368de44..da1d10deb97 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/fr_plan_comptable_general.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/fr_plan_comptable_general.json
@@ -1,6 +1,6 @@
{
"country_code": "fr",
- "name": "France - Plan Comptable G\u00e9n\u00e9ral",
+ "name": "France - Plan Comptable General",
"tree": {
"1-Comptes de Capitaux": {
"10-Capital et R\u00e9serves": {
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/gt_cuentas_plantilla.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/gt_cuentas_plantilla.json
index f7cf9a0bb84..0434938d6b9 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/gt_cuentas_plantilla.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/gt_cuentas_plantilla.json
@@ -2,7 +2,394 @@
"country_code": "gt",
"name": "Guatemala - Cuentas",
"tree": {
- "02 - Pasivos": {
+ "Activos": {
+ "Activo Corriente": {
+ "Activos Biol\u00f3gicos": {
+ "Activos Biol\u00f3gicos a Valor Razonable": {
+ "Animales": {
+ "account_number": "1.5.2.1",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Plantas": {
+ "account_number": "1.5.2.2",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "account_number": "1.5.2",
+ "account_type": "Stock"
+ },
+ "Activos Biol\u00f3gicos al Costo": {
+ "account_number": "1.5.1",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "account_number": "1.5",
+ "account_type": "Stock"
+ },
+ "Activos Corrientes Adicionales": {
+ "Activos Diferidos o Restringidos": {
+ "Cr\u00e9dito Fiscal (IVA Por Cobrar)": {
+ "account_number": "1.1.2.1",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "account_number": "1.1.2",
+ "account_type": "Chargeable"
+ },
+ "Inversiones Corrientes no Clasificados como Equivalentes de Caja y Bancos": {
+ "account_number": "1.1.1"
+ },
+ "account_number": "1.1",
+ "account_type": "Chargeable"
+ },
+ "Activos Devengables y Otros Activos": {
+ "Activos Adicionales y Otros": {
+ "account_number": "1.6.6",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Cobrables Relacionados con Impuestos": {
+ "account_number": "1.6.2",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Contratos de Construccion": {
+ "account_number": "1.6.4",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Costos de Montaje": {
+ "account_number": "1.6.5",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Pagos Anticipados y Otros Activos Circulantes": {
+ "Seguro Pagado Anticipadamente": {
+ "account_number": "1.6.1.0",
+ "account_type": "Chargeable"
+ },
+ "account_number": "1.6.1",
+ "account_type": "Chargeable"
+ },
+ "Proveedores de Servicio": {
+ "account_number": "1.6.3",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "account_number": "1.6",
+ "account_type": "Chargeable"
+ },
+ "Activos Financieros": {
+ "Activos Financieros Clasificados por Designaci\u00f3n": {
+ "account_number": "1.4.6",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Activos Financieros Derivados": {
+ "account_number": "1.4.3",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Inversion o Participaci\u00f3n Accionaria en Empresas Afiliadas": {
+ "account_number": "1.4.1",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Inversiones Burs\u00e1tiles e Instrumentos Financieros": {
+ "account_number": "1.4.2",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Otros Activos Financieros": {
+ "account_number": "1.4.4",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Provisi\u00f3n por Riesgo de Cr\u00e9dito (agregado) (Contra-activo)": {
+ "account_number": "1.4.5",
+ "account_type": "Round Off",
+ "is_group": 1
+ },
+ "account_number": "1.4",
+ "account_type": "Chargeable"
+ },
+ "Activos Intangibles": {
+ "account_number": "1.3",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Caja y Equivalentes": {
+ "Caja": {
+ "account_number": "1.9.1",
+ "account_type": "Cash",
+ "is_group": 1
+ },
+ "Equivalentes de Efectivo (Bancos)": {
+ "Bancos Internacionales": {
+ "HSBC": {
+ "account_number": "1.9.2.2.1",
+ "account_type": "Bank"
+ },
+ "account_number": "1.9.2.2",
+ "account_type": "Bank"
+ },
+ "Bancos Nacionales": {
+ "Banco Agromercantil de Guatemala": {
+ "account_number": "1.9.2.1.2",
+ "account_type": "Bank"
+ },
+ "Banco G&T Continental": {
+ "account_number": "1.9.2.1.5",
+ "account_type": "Bank"
+ },
+ "Banco Industrial": {
+ "account_number": "1.9.2.1.1",
+ "account_type": "Bank",
+ "is_group": 1
+ },
+ "Banco Internacional": {
+ "account_number": "1.9.2.1.6",
+ "account_type": "Bank"
+ },
+ "Banco Prom\u00e9rica": {
+ "account_number": "1.9.2.1.3",
+ "account_type": "Bank"
+ },
+ "Banco de Am\u00e9rica Central": {
+ "account_number": "1.9.2.1.4",
+ "account_type": "Bank"
+ },
+ "Banco de Desarrollo Rural": {
+ "account_number": "1.9.2.1.7",
+ "account_type": "Bank"
+ },
+ "Banco de los Trabajadores": {
+ "account_number": "1.9.2.1.8",
+ "account_type": "Bank"
+ },
+ "Vivibanco": {
+ "account_number": "1.9.2.1.9",
+ "account_type": "Bank"
+ },
+ "account_number": "1.9.2.1",
+ "account_type": "Bank"
+ },
+ "Cadena de Bloques (Blockchain)": {
+ "Billetera Bitcoin 1234567890abcdefg": {
+ "account_number": "1.9.2.3.1",
+ "account_type": "Cash"
+ },
+ "account_number": "1.9.2.3",
+ "account_type": "Cash"
+ },
+ "account_number": "1.9.2",
+ "account_type": "Bank"
+ },
+ "Inversiones a Corto Plazo": {
+ "account_number": "1.9.3",
+ "account_type": "Bank",
+ "is_group": 1
+ },
+ "Otros Equivalentes de Caja y Bancos": {
+ "account_number": "1.9.4",
+ "account_type": "Cash",
+ "is_group": 1
+ },
+ "account_number": "1.9",
+ "account_type": "Bank"
+ },
+ "Cobrables": {
+ "Activos bajo Contrato": {
+ "account_number": "1.8.2",
+ "account_type": "Receivable",
+ "is_group": 1
+ },
+ "Ajustes": {
+ "account_number": "1.8.4",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "Otras Cuentas por Cobrar": {
+ "Cuentas Por Cobrar Compa\u00f1\u00edas Afiliadas": {
+ "Compa\u00f1\u00eda subsidiaria (EJEMPLO)": {
+ "account_number": "1.8.3.2.1",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.8.3.2",
+ "account_type": "Receivable"
+ },
+ "Cuentas por Cobrar a Empleados": {
+ "Prestamo EJEMPLO": {
+ "account_number": "1.8.3.3.1",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.8.3.3",
+ "account_type": "Receivable"
+ },
+ "Cuentas por Cobrar a Otras Entidades no Afiliadas": {
+ "Compa\u00f1\u00eda No Afiliada (EJEMPLO)": {
+ "account_number": "1.8.3.1.1",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.8.3.1",
+ "account_type": "Receivable"
+ },
+ "account_number": "1.8.3",
+ "account_type": "Receivable"
+ },
+ "Ventas al Cr\u00e9dito": {
+ "account_number": "1.8.1",
+ "account_type": "Receivable",
+ "is_group": 1
+ },
+ "account_number": "1.8",
+ "account_type": "Receivable"
+ },
+ "Impuestos por Cobrar": {
+ "Retenciones de IVA recibidas": {}
+ },
+ "Inventario": {
+ "Art\u00edculos de Inventario Adicionales": {
+ "account_number": "1.7.8",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Combustibles": {
+ "account_number": "1.7.5",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Inventarios Pignorados Como Garant\u00eda de Pasivo": {
+ "account_number": "1.7.10",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Inventarios a Valor Razonable Menos Costos de Venta": {
+ "account_number": "1.7.11",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Materia Prima": {
+ "account_number": "1.7.1",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Mercader\u00eda (Mercanc\u00edas)": {
+ "account_number": "1.7.2",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Otros Inventarios": {
+ "Merma o Ajuste de Inventario": {
+ "account_number": "1.7.9.1",
+ "account_type": "Stock Adjustment",
+ "is_group": 1
+ },
+ "account_number": "1.7.9",
+ "account_type": "Stock"
+ },
+ "Producto Terminado": {
+ "account_number": "1.7.7",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Repuestos": {
+ "Respuestos en Transito": {
+ "account_number": "1.7.4.0",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "account_number": "1.7.4",
+ "account_type": "Stock"
+ },
+ "Suministros de Producci\u00f3n y Consumibles": {
+ "account_number": "1.7.3",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "Trabajo en Progeso": {
+ "account_number": "1.7.6",
+ "account_type": "Stock",
+ "is_group": 1
+ },
+ "account_number": "1.7",
+ "account_type": "Stock"
+ },
+ "Inversion en Propiedades": {
+ "Inversion Inmobiliaria Bajo Construccion": {
+ "account_number": "1.2.1",
+ "account_type": "Chargeable"
+ },
+ "Inversion Inmobiliaria Construida": {
+ "account_number": "1.2.2",
+ "account_type": "Chargeable",
+ "is_group": 1
+ },
+ "account_number": "1.2",
+ "account_type": "Chargeable"
+ },
+ "account_number": "1.0"
+ },
+ "No Corriente": {
+ "Activos Fijos": {
+ "account_type": "Fixed Asset"
+ },
+ "Cargos Diferidos": {}
+ },
+ "account_number": "1",
+ "root_type": "Asset"
+ },
+ "Costos": {
+ "Costo de Ventas": {
+ "account_type": "Cost of Goods Sold"
+ },
+ "Costos Incluidos en la Valuaci\u00f3n": {
+ "account_type": "Expenses Included In Valuation"
+ },
+ "Merma o Ajuste de Inventario": {
+ "account_type": "Stock Adjustment"
+ },
+ "account_number": "5",
+ "root_type": "Expense"
+ },
+ "Gastos": {
+ "Alquileres": {},
+ "Depreciaciones": {
+ "account_type": "Depreciation"
+ },
+ "Gastos Diversos": {},
+ "Gastos de Personal": {},
+ "Honorarios Profesionales": {},
+ "Mantenimiento": {},
+ "Seguros": {},
+ "Servicios B\u00e1sicos": {},
+ "account_number": "6",
+ "root_type": "Expense"
+ },
+ "Ingresos": {
+ "Productos": {},
+ "Servicios": {},
+ "account_number": "4",
+ "root_type": "Income"
+ },
+ "Otros Gastos y Productos Financieros": {
+ "Otros Gastos": {
+ "Otros Gastos y Productos Financieros 2": {
+ "Intereses 1": {},
+ "Otros Gastos Financieros 1": {}
+ }
+ },
+ "Otros Ingresos": {
+ "Otros Gastos y Productos Financieros 1": {
+ "Intereses": {},
+ "Otros Gastos Financieros": {}
+ }
+ },
+ "account_number": "7",
+ "root_type": "Expense"
+ },
+ "Pasivos": {
"Pasivo Corriente": {
"Acreedores 1": {
"account_type": "Payable"
@@ -22,329 +409,14 @@
"Acreedores": {},
"Provisi\u00f3n para Indemnizaciones": {}
},
+ "account_number": "2",
"root_type": "Liability"
},
- "03 - Patrimonio": {
+ "Patrimonio": {
"Capital": {},
"Resultados del Ejercicio": {},
"Utilidades Retenidas": {},
- "root_type": "Asset"
- },
- "04 - Ingresos": {
- "Productos": {},
- "Servicios": {},
- "root_type": "Income"
- },
- "05 - Costos": {
- "Costo de Ventas": {
- "account_type": "Cost of Goods Sold"
- },
- "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 Ingresos": {
- "Otros Gastos y Productos Financieros 1": {
- "Intereses": {},
- "Otros Gastos Financieros": {}
- }
- },
- "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": {}
- },
+ "account_number": "3",
"root_type": "Asset"
}
}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/hu_chart_of_accounts.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/hu_chart_of_accounts.json
index fe4c484d9fa..3ed6b1dd469 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/hu_chart_of_accounts.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/hu_chart_of_accounts.json
@@ -527,7 +527,7 @@
"root_type": "Liability"
},
"5. SZ\u00c1MLAOSZT\u00c1LY K\u00d6LTS\u00c9GNEMEK": {
- "51 - 53 ANYAGJELLEG\u00db R\u00c1FORD\u00cdT\u00c1SOK ": {
+ "51 - 53. ANYAGJELLEG\u00db R\u00c1FORD\u00cdT\u00c1SOK ": {
"51. ANYAGK\u00d6LTS\u00c9G": {
"511. V\u00e1s\u00e1rolt anyagok k\u00f6lts\u00e9gei ": {
"5111. Alapanyag k\u00f6lts\u00e9gek": {},
@@ -618,23 +618,8 @@
"581. Saj\u00e1t termel\u00e9s\u0171 k\u00e9szletek \u00e1llom\u00e1nyv\u00e1ltoz\u00e1sa ": {},
"582. Saj\u00e1t el\u0151\u00e1ll\u00edt\u00e1s\u00fa eszk\u00f6z\u00f6k aktiv\u00e1lt \u00e9rt\u00e9ke": {},
"589. Aktiv\u00e1lt saj\u00e1t teljes\u00edtm\u00e9nyek \u00e1tvezet\u00e9si sz\u00e1mla": {}
- },
- "59. K\u00d6LTS\u00c9GNEM ELLENSZ\u00c1MLA (els\u0151dleges k\u00f6lts\u00e9ghely-k\u00f6lts\u00e9gvisel\u0151 elsz\u00e1mol\u00f3s eset\u00e9n) ": {
- "is_group": 1
- },
- "59. K\u00d6LTS\u00c9GNEM \u00c1TVEZET\u00c9SI SZ\u00c1MLA (els\u0151dleges k\u00f6lts\u00e9gnem-elsz\u00e1mol\u00e1s eset\u00e9n)": {
- "is_group": 1
- },
- "59. K\u00d6LTS\u00c9GNEM \u00c1TVEZET\u00c9SI SZ\u00c1MLA (els\u0151dleges k\u00f6lts\u00e9gnem-elsz\u00e1mol\u00e1s eset\u00e9n, kiz\u00e1r\u00f3lag \u00f6sszk\u00f6lts\u00e9g elj\u00e1r\u00e1ssal)": {
- "59/51. Anyagk\u00f6lts\u00e9g \u00e1tvezet\u00e9si sz\u00e1mla": {},
- "59/52. Ig\u00e9nybe vett szolg\u00e1ltat\u00e1sok k\u00f6lts\u00e9gei \u00e1tvezet\u00e9si sz\u00e1mla ": {},
- "59/53. Egy\u00e9b szolg\u00e1ltat\u00e1sok k\u00f6lts\u00e9gei \u00e1tvezet\u00e9si sz\u00e1mla ": {},
- "59/54. B\u00e9rk\u00f6lts\u00e9g \u00e1tvezet\u00e9si sz\u00e1mla": {},
- "59/55. Szem\u00e9lyi jelleg\u0171 egy\u00e9b kifizet\u00e9sek \u00e1tvezet\u00e9si sz\u00e1mla ": {},
- "59/56. B\u00e9rj\u00e1rul\u00e9kok \u00e1tvezet\u00e9si sz\u00e1mla": {},
- "59/57. \u00c9rt\u00e9kcs\u00f6kken\u00e9si le\u00edr\u00e1s \u00e1tvezet\u00e9si sz\u00e1mla ": {}
- },
- "59. K\u00d6LTS\u00c9GNEM \u00c1TVEZET\u00c9SI SZ\u00c1MLA (kiz\u00e1r\u00f3lag k\u00f6lts\u00e9gnem-elsz\u00e1mol\u00e1s \u00e9s forgalmi k\u00f6lts\u00e9g elj\u00e1r\u00e1ssal)": {
+ },
+ "59. K\u00d6LTS\u00c9GNEM \u00c1TVEZET\u00c9SI SZ\u00c1MLA": {
"is_group": 1
},
"root_type": "Expense"
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/id_chart_of_accounts.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/id_chart_of_accounts.json
index b37e171f79e..37f57ec1ad9 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/id_chart_of_accounts.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/id_chart_of_accounts.json
@@ -2,358 +2,686 @@
"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"
+ "Aktiva": {
+ "Aktiva Lancar": {
+ "Akun sementara": {
+ "Pembukaan sementara": {
+ "account_number": "1171.000",
+ "account_type": "Temporary"
},
- "1112.000 Kas Mata Uang Lain": {
- "1112.0010 Kas USD": {
- "account_type": "Cash"
- }
- }
+ "account_number": "1170.000"
},
- "1120.000 Bank ": {
- "1121.000 Bank Rupiah": {
- "is_group": 1
+ "Bank ": {
+ "Bank Other Currency": {
+ "account_number": "1122.000",
+ "is_group": 1
},
- "1122.000 Bank Other Currency": {
- "is_group": 1
+ "Bank Rupiah": {
+ "account_number": "1121.000",
+ "is_group": 1
},
+ "account_number": "1120.000",
"account_type": "Bank"
},
- "1130.000 Piutang": {
- "1131.000 Piutang Dagang": {
- "1131.0010 Piutang Dagang": {
- "account_type": "Receivable"
- }
+ "Biaya di Bayar di Muka": {
+ "Biaya di Bayar di Muka": {
+ "Biaya di Bayar di Muka": {
+ "Biaya d Bayar di Muka": {
+ "account_number": "1151.00111"
+ },
+ "account_number": "1151.001"
+ },
+ "account_number": "1151.000"
},
- "1132.000 Piutang Lain lain": {
- "1132.001 Piutang Lain-lain 1": {
- "account_type": "Receivable"
- }
- }
+ "account_number": "1150.000"
},
- "1140.000 Persediaan Barang": {
- "1141.000 Persediaan Barang": {
+ "Kas": {
+ "Kas Mata Uang Lain": {
+ "Kas USD": {
+ "account_number": "1112.0010",
+ "account_type": "Cash"
+ },
+ "account_number": "1112.000"
+ },
+ "Kas Rupiah": {
+ "Kas Besar": {
+ "account_number": "1111.0020",
+ "account_type": "Cash"
+ },
+ "Kas Kecil": {
+ "account_number": "1111.0010",
+ "account_type": "Cash"
+ },
+ "account_number": "1111.000",
+ "account_type": "Cash"
+ },
+ "account_number": "1110.0000"
+ },
+ "Pendapatan Yang Akan di Terima": {
+ "Pendapatan Yang di Terima": {
+ "Pendapatan Yang Akan di Terima": {
+ "account_number": "1161.001"
+ },
+ "account_number": "1161.000"
+ },
+ "account_number": "1160.000"
+ },
+ "Persediaan Barang": {
+ "Persediaan Barang": {
+ "account_number": "1141.000",
"account_type": "Stock",
"is_group": 1
},
- "1142.000 Uang Muka Pembelian": {
- "1142.001 Uang Muka Pembelian": {
+ "Uang Muka Pembelian": {
+ "Uang Muka Pembelian": {
+ "account_number": "1142.001",
"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"
- }
+ },
+ "account_number": "1142.000"
},
- "1212.000 Akumulasi Penyusutan Aktiva": {
- "1212.001 Akumulasi Penyusutan Aktiva": {
- "account_type": "Accumulated Depreciation"
- }
- }
+ "account_number": "1140.000"
},
- "1230.000 Investasi": {
- "1231.000 Investasi": {
- "1231.001 Investai Saham": {
- "1231.0011 Investasi Saham": {}
+ "Piutang": {
+ "Piutang Dagang": {
+ "Piutang Dagang": {
+ "account_number": "1131.0010",
+ "account_type": "Receivable"
},
- "1231.002 Investasi Perumahan": {
- "1231.0021 Investasi Perumahan": {}
+ "account_number": "1131.000"
+ },
+ "Piutang Lain lain": {
+ "Piutang Lain-lain 1": {
+ "account_number": "1132.001",
+ "account_type": "Receivable"
},
- "1231.003 Deposito": {
- "is_group": 1
- }
- }
- }
+ "account_number": "1132.000"
+ },
+ "account_number": "1130.000"
+ },
+ "account_number": "1100.0000"
},
+ "Aktiva Tetap": {
+ "Aktiva": {
+ "Aktiva": {
+ "Aktiva": {
+ "account_number": "1211.001",
+ "account_type": "Fixed Asset"
+ },
+ "account_number": "1211.000"
+ },
+ "Akumulasi Penyusutan Aktiva": {
+ "Akumulasi Penyusutan Aktiva": {
+ "account_number": "1212.001",
+ "account_type": "Accumulated Depreciation"
+ },
+ "account_number": "1212.000"
+ },
+ "account_number": "1210.000"
+ },
+ "Investasi": {
+ "Investasi": {
+ "Deposito": {
+ "account_number": "1231.003",
+ "is_group": 1
+ },
+ "Investai Saham": {
+ "Investasi Saham": {
+ "account_number": "1231.0011"
+ },
+ "account_number": "1231.001"
+ },
+ "Investasi Perumahan": {
+ "Investasi Perumahan": {
+ "account_number": "1231.0021"
+ },
+ "account_number": "1231.002"
+ },
+ "account_number": "1231.000"
+ },
+ "account_number": "1230.000"
+ },
+ "account_number": "1200.000"
+ },
+ "account_number": "1000.0000",
"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"
- }
+ "Beban": {
+ "Beban Lain lain": {
+ "Beban Lain lain": {
+ "Beban Adm Bank": {
+ "account_number": "5510.001"
},
- "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"
- }
+ "Beban Bunga Kredit Rekening Koran Bank": {
+ "account_number": "5510.004"
},
- "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": {}
+ "Beban Bunga Pinjaman Pada Pihak Ke 3": {
+ "account_number": "5510.005"
},
- "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": {}
+ "Beban Notaris Dan ADM Kredit Bank": {
+ "account_number": "5510.003"
},
- "2212.000 Pinjaman Pihak ke 3 Tidak Rutin": {
- "2212.001 Hutang": {}
+ "Beban Pajak Bumi & Bangunan": {
+ "account_number": "5510.006"
},
- "2213.000 Hutang Bunga Pinjaman Pihak Ke 3 Tidak Rutin": {
- "2213.001 Hutang Bunga": {}
- }
+ "Beban Pajak PPN": {
+ "account_number": "5510.008"
+ },
+ "Beban Pajak Penghasilan ": {
+ "account_number": "5510.007"
+ },
+ "Beban Provisi Pinjaman Bank": {
+ "account_number": "5510.002"
+ },
+ "Selisih Kurs": {
+ "account_number": "5510.010",
+ "account_type": "Round Off"
+ },
+ "Selisih Pembayaran Customer": {
+ "account_number": "5510.009",
+ "account_type": "Round Off"
+ },
+ "account_number": "5510.000"
},
- "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": {}
- }
- }
+ "account_number": "5500.000"
},
- "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": {
+ "Beban Langsung": {
+ "Beban Penjualan": {
+ "Biaya Asuransi Kendaraan Operasional": {
+ "account_number": "5110.009"
+ },
+ "Biaya BBM": {
+ "account_number": "5110.001"
+ },
+ "Biaya Barang Rusak": {
+ "account_number": "5110.007"
+ },
+ "Biaya Bonus, Hadiah, dan Sampel": {
+ "account_number": "5110.013"
+ },
+ "Biaya Entertainment dan Pergaulan": {
+ "account_number": "5110.014"
+ },
+ "Biaya Kebutuhan Penjualan": {
+ "account_number": "5110.011"
+ },
+ "Biaya Kuli": {
+ "account_number": "5110.005"
+ },
+ "Biaya Leasing Kendaraan Operasional": {
+ "account_number": "5110.010"
+ },
+ "Biaya Parkir": {
+ "account_number": "5110.003"
+ },
+ "Biaya Penjualan Lain Lain": {
+ "account_number": "5110.019"
+ },
+ "Biaya Perbaikan Kendaraan Operasional": {
+ "account_number": "5110.008"
+ },
+ "Biaya Perjalanan Dinas": {
+ "account_number": "5110.006"
+ },
+ "Biaya Piutang Tak Tertagih": {
+ "account_number": "5110.017"
+ },
+ "Biaya Sample": {
+ "account_number": "5110.012"
+ },
+ "Biaya Sewa Gudang": {
+ "account_number": "5110.015"
+ },
+ "Biaya Sewa Peralatan Gudang": {
+ "account_number": "5110.016"
+ },
+ "Biaya Susut Barang": {
+ "account_number": "5110.021"
+ },
+ "Biaya Tol": {
+ "account_number": "5110.002"
+ },
+ "Biaya Upah Angkat/Turun Barang": {
+ "account_number": "5110.004"
+ },
+ "Penyesuaian Stock": {
+ "account_number": "5110.020",
"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"
+ "Potongan Supplier": {
+ "account_number": "5110.018"
},
- "5510.010 Selisih Kurs": {
- "account_type": "Round Off"
- }
- }
+ "account_number": "5110.000"
+ },
+ "Biaya Gaji & Kesejahteraan Pegawai": {
+ "Biaya Asuransi Kesehatan Pegawai": {
+ "account_number": "5120.004"
+ },
+ "Biaya Gaji & Kesejahteraan Lainnya": {
+ "account_number": "5120.007"
+ },
+ "Biaya Gaji Karyawan Harian": {
+ "account_number": "5120.002"
+ },
+ "Biaya Gaji Staff & Karyawan Tetap": {
+ "account_number": "5120.001"
+ },
+ "Biaya Konsumsi": {
+ "account_number": "5120.006"
+ },
+ "Biaya Pengobatan": {
+ "account_number": "5120.003"
+ },
+ "Biaya THR, Bonus, dan Komisi": {
+ "account_number": "5120.005"
+ },
+ "account_number": "5120.000"
+ },
+ "Biaya Kantor & Gudang": {
+ "Biaya Alat Tulis Kantor": {
+ "account_number": "5130.005"
+ },
+ "Biaya Asuransi Bangunan": {
+ "account_number": "5130.014"
+ },
+ "Biaya Fotocopy, Photo, Print Out": {
+ "account_number": "5130.004"
+ },
+ "Biaya Humas & Pergaulan": {
+ "account_number": "5130.009"
+ },
+ "Biaya KTR & GDG Lain Lain": {
+ "account_number": "5130.018"
+ },
+ "Biaya PAM Gudang & Kantor": {
+ "account_number": "5130.002"
+ },
+ "Biaya PLN Gudang & Kantor": {
+ "account_number": "5130.001"
+ },
+ "Biaya Pemeliharaan Bgn Gudang": {
+ "account_number": "5130.008"
+ },
+ "Biaya Perizinan Kendaraan Operasional": {
+ "account_number": "5130.017"
+ },
+ "Biaya Perizinan Usaha dan Bangunan": {
+ "account_number": "5130.016"
+ },
+ "Biaya Perlengkapan Gudang": {
+ "account_number": "5130.010"
+ },
+ "Biaya Serba Serbi": {
+ "account_number": "5130.012"
+ },
+ "Biaya Servis Peralatan Gudang": {
+ "account_number": "5130.007"
+ },
+ "Biaya Sewa Kantor": {
+ "account_number": "5130.013"
+ },
+ "Biaya Stamp Duty & Pos": {
+ "account_number": "5130.006"
+ },
+ "Biaya Sumbangan": {
+ "account_number": "5130.015"
+ },
+ "Biaya TLP Gudang & Kantor": {
+ "account_number": "5130.003"
+ },
+ "Iuran Bulanan": {
+ "account_number": "5130.011"
+ },
+ "account_number": "5130.000"
+ },
+ "account_number": "5100.000"
},
+ "Beban Tidak Langsung": {
+ "Biaya Gaji & Kesejahteraan Pegawai Indirect": {
+ "Biaya Gaji Lain Lain": {
+ "account_number": "5210.005"
+ },
+ "Biaya Gaji Staff": {
+ "account_number": "5210.001"
+ },
+ "Biaya Konsumsi": {
+ "account_number": "5210.004"
+ },
+ "Biaya Pengobatan & Kesehatan": {
+ "account_number": "5210.003"
+ },
+ "Biaya THR dan Bonus Staff": {
+ "account_number": "5210.002"
+ },
+ "account_number": "5210.000"
+ },
+ "Biaya Kantor Indirect": {
+ "Biaya Alat Tulis Kantor": {
+ "account_number": "5230.006"
+ },
+ "Biaya Asuransi Bangunan": {
+ "account_number": "5230.005"
+ },
+ "Biaya Fotocopy, Photo, Print Out": {
+ "account_number": "5230.007"
+ },
+ "Biaya Iuran Bulanan": {
+ "account_number": "5230.012"
+ },
+ "Biaya KTR Lain Lain": {
+ "account_number": "5230.016"
+ },
+ "Biaya Kirim Dokumen": {
+ "account_number": "5230.008"
+ },
+ "Biaya PAM Kantor": {
+ "account_number": "5230.002"
+ },
+ "Biaya PLN Kantor": {
+ "account_number": "5230.001"
+ },
+ "Biaya Pemeliharaan Bangunan Kantor": {
+ "account_number": "5230.011"
+ },
+ "Biaya Perizinan Bangunan": {
+ "account_number": "5230.014"
+ },
+ "Biaya Perizinan Kendaraan Dinas": {
+ "account_number": "5230.015"
+ },
+ "Biaya Perlengkapan & Peralatan Kantor": {
+ "account_number": "5230.009"
+ },
+ "Biaya Sewa Kantor": {
+ "account_number": "5230.004"
+ },
+ "Biaya Stamp Duty & Pos": {
+ "account_number": "5230.017"
+ },
+ "Biaya Sumbangan": {
+ "account_number": "5230.013"
+ },
+ "Biaya TLP Kantor": {
+ "account_number": "5230.003"
+ },
+ "Service Peralatan Kantor": {
+ "account_number": "5230.010"
+ },
+ "account_number": "5230.000"
+ },
+ "Biaya Operational Indirect": {
+ "Biaya Asuransi Kendaraan Dinas": {
+ "account_number": "5220.006"
+ },
+ "Biaya BBM": {
+ "account_number": "5220.001"
+ },
+ "Biaya Entertainment dan Pergaulan": {
+ "account_number": "5220.008"
+ },
+ "Biaya Hadiah dan Bonus": {
+ "account_number": "5220.009"
+ },
+ "Biaya Leasing Kendaraan Dinas": {
+ "account_number": "5220.007"
+ },
+ "Biaya Perbaikan Kendaraan Dinas": {
+ "account_number": "5220.005"
+ },
+ "Biaya Perjalanan Dinas": {
+ "account_number": "5220.004"
+ },
+ "Biaya TLP & HP": {
+ "account_number": "5220.003"
+ },
+ "Biaya Tol & Parkir": {
+ "account_number": "5220.002"
+ },
+ "account_number": "5220.000"
+ },
+ "account_number": "5200.000"
+ },
+ "Biaya Amortisasi": {
+ "Biaya Amortisasi": {
+ "account_number": "5410.000"
+ },
+ "account_number": "5400.000"
+ },
+ "Biaya Penyusutan": {
+ "Biaya Penyusutan": {
+ "By Peny Aktiva ": {
+ "account_number": "5310.001",
+ "account_type": "Depreciation"
+ },
+ "account_number": "5310.000"
+ },
+ "account_number": "5300.000"
+ },
+ "account_number": "5000.000",
"root_type": "Expense"
+ },
+ "Modal": {
+ "Laba": {
+ "Laba Periode Berjalan": {
+ "account_number": "3230.000"
+ },
+ "Laba Tahun Berjalan": {
+ "account_number": "3220.000"
+ },
+ "Laba di Tahan": {
+ "account_number": "3210.000"
+ },
+ "account_number": "3200.000"
+ },
+ "Modal": {
+ "Modal di Setor": {
+ "account_number": "3110.000"
+ },
+ "Prive P.Saham": {
+ "account_number": "3120.000"
+ },
+ "Saldo pembukaan Equity": {
+ "account_number": "3130.000"
+ },
+ "account_number": "3100.000"
+ },
+ "account_number": "3000.000",
+ "root_type": "Equity"
+ },
+ "Passiva": {
+ "Pasiva Lancar": {
+ "Biaya Yang Akan di Bayar": {
+ "Biaya Yang Akan di Bayar": {
+ "Biaya Yang Akan di Bayar": {
+ "account_number": "2131.001"
+ },
+ "account_number": "2131.000"
+ },
+ "Biaya Yang Akan di Bayar - Freight": {
+ "Biaya Yang Akan di Bayar - Freight": {
+ "account_number": "2132.001",
+ "account_type": "Expenses Included In Valuation"
+ },
+ "account_number": "2132.000"
+ },
+ "account_number": "2130.000"
+ },
+ "Hutang Dagang": {
+ "Hutang Dagang Other Currency": {
+ "Hutang Dagang Biaya Kirim Dalam Negeri": {
+ "account_number": "2112.005",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Biaya Kirim Luar Negeri (SGD)": {
+ "account_number": "2112.004",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Biaya Kirim Luar Negeri (USD)": {
+ "account_number": "2112.003",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Luar Negeri (SGD)": {
+ "account_number": "2112.002",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Luar Negeri (USD)": {
+ "account_number": "2112.001",
+ "account_type": "Payable"
+ },
+ "account_number": "2112.000"
+ },
+ "Hutang Dagang Rupiah": {
+ "HUtang Dagang Biaya Kirim Luar Negeri": {
+ "account_number": "2111.004",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Biaya Kirim Dalam Negeri": {
+ "account_number": "2111.003",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Dalam Negeri": {
+ "account_number": "2111.001",
+ "account_type": "Payable"
+ },
+ "Hutang Dagang Luar Negeri": {
+ "account_number": "2111.002",
+ "account_type": "Payable"
+ },
+ "account_number": "2111.000"
+ },
+ "Stock Diterima Tapi Tidak Ditagih": {
+ "account_number": "2115.000",
+ "account_type": "Stock Received But Not Billed"
+ },
+ "account_number": "2110.000"
+ },
+ "Hutang Pajak": {
+ "Hutang Pajak": {
+ "account_number": "2141.000",
+ "account_type": "Payable"
+ },
+ "account_number": "2140.000"
+ },
+ "Pendapatan di Terima di Muka": {
+ "Pendapatan di Terima di Muka": {
+ "Dp Penjualan": {
+ "account_number": "2121.001",
+ "account_type": "Bank"
+ },
+ "account_number": "2121.000"
+ },
+ "account_number": "2120.000"
+ },
+ "account_number": "2100.000"
+ },
+ "Passiva Tetap": {
+ "Hutang Lain Lain": {
+ "Hutang Lain Lain": {
+ "Hutang": {
+ "account_number": "2241.001"
+ },
+ "account_number": "2241.000"
+ },
+ "account_number": "2240.000"
+ },
+ "Hutang Leasing Kendaraan": {
+ "Hutang Leasing Kendaraan": {
+ "Hutang Leasing Kendaraan": {
+ "account_number": "2231.001"
+ },
+ "account_number": "2231.000"
+ },
+ "account_number": "2230.000"
+ },
+ "Hutang Pada Bank": {
+ "Hutang Bank": {
+ "Hutang": {
+ "account_number": "2221.001"
+ },
+ "account_number": "2221.000"
+ },
+ "account_number": "2220.000"
+ },
+ "Hutang Pada Pihak ke 3": {
+ "Hutang Bunga Pinjaman Pihak Ke 3 Tidak Rutin": {
+ "Hutang Bunga": {
+ "account_number": "2213.001"
+ },
+ "account_number": "2213.000"
+ },
+ "Pinjaman Pihak ke 3 Rutin": {
+ "Hutang": {
+ "account_number": "2211.001"
+ },
+ "account_number": "2211.000"
+ },
+ "Pinjaman Pihak ke 3 Tidak Rutin": {
+ "Hutang": {
+ "account_number": "2212.001"
+ },
+ "account_number": "2212.000"
+ },
+ "account_number": "2210.000"
+ },
+ "account_number": "2200.000"
+ },
+ "account_number": "2000.000",
+ "root_type": "Liability"
+ },
+ "Penjualan": {
+ "Harga Pokok Pembelian": {
+ "HPP Pembelian": {
+ "account_number": "4210.000",
+ "account_type": "Cost of Goods Sold"
+ },
+ "account_number": "4200.000"
+ },
+ "Pendapatan Lain lain": {
+ "Pendapatan Bunga Bank": {
+ "account_number": "4410.000"
+ },
+ "Pendapatan Bunga Dari Pihak Ke 3": {
+ "account_number": "4420.000"
+ },
+ "Pendapatan Keuntungan Penjualan Aktiva": {
+ "account_number": "4430.000"
+ },
+ "Pendapatan Komisi": {
+ "account_number": "4440.000"
+ },
+ "Pendapatan Lain lain": {
+ "account_number": "4480.000"
+ },
+ "Pendapatan Penjualan Barang BS": {
+ "account_number": "4470.000"
+ },
+ "Pendapatan Sewa Gudang": {
+ "account_number": "4450.000"
+ },
+ "Pendapatan Sewa Lain lain": {
+ "account_number": "4460.000"
+ },
+ "account_number": "4400.000"
+ },
+ "Pendapatan Service/Jasa": {
+ "Pendapatan Service": {
+ "account_number": "4310.000"
+ },
+ "account_number": "4300.000"
+ },
+ "Penjualan Barang Dagangan": {
+ "Penjualan": {
+ "account_number": "4110.000"
+ },
+ "Potongan Penjualan": {
+ "account_number": "4130.000"
+ },
+ "Retur Penjualan": {
+ "account_number": "4120.000"
+ },
+ "account_number": "4100.000"
+ },
+ "account_number": "4000.000",
+ "root_type": "Income"
}
}
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/in_standard_chart_of_accounts.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/in_standard_chart_of_accounts.json
index 2f5dbf3a53b..bc7f9659564 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/in_standard_chart_of_accounts.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/in_standard_chart_of_accounts.json
@@ -2,160 +2,161 @@
"country_code": "in",
"name": "India - Chart of Accounts",
"tree": {
- "Application of Funds (Assets)": {
- "Current Assets": {
- "Accounts Receivable": {
- "Debtors": {
- "account_type": "Receivable"
- }
- },
- "Bank Accounts": {
- "account_type": "Bank",
- "is_group": 1
- },
- "Cash In Hand": {
- "Cash": {
- "account_type": "Cash"
- },
- "account_type": "Cash"
- },
- "Loans and Advances (Assets)": {
- "is_group": 1
- },
- "Securities and Deposits": {
- "Earnest Money": {}
- },
- "Stock Assets": {
- "Stock in Hand": {
- "account_type": "Stock"
- }
- },
- "Tax Assets": {
- "is_group": 1
- }
- },
- "Fixed Assets": {
- "Capital Equipments": {
- "account_type": "Fixed Asset"
- },
- "Electronic Equipments": {
- "account_type": "Fixed Asset"
- },
- "Furnitures and Fixtures": {
- "account_type": "Fixed Asset"
- },
- "Office Equipments": {
- "account_type": "Fixed Asset"
- },
- "Plants and Machineries": {
- "account_type": "Fixed Asset"
- },
- "Buildings": {
- "account_type": "Fixed Asset"
- },
- "Accumulated Depreciations": {
- "account_type": "Accumulated Depreciation"
- }
- },
- "Investments": {
- "is_group": 1
- },
- "Temporary Accounts": {
- "Temporary Opening": {
- "account_type": "Temporary"
- }
- },
- "root_type": "Asset"
- },
- "Expenses": {
- "Direct Expenses": {
- "Stock Expenses": {
- "Cost of Goods Sold": {
- "account_type": "Cost of Goods Sold"
- },
- "Expenses Included In Valuation": {
- "account_type": "Expenses Included In Valuation"
- },
- "Stock Adjustment": {
- "account_type": "Stock Adjustment"
- }
- }
- },
- "Indirect Expenses": {
- "Administrative Expenses": {},
- "Commission on Sales": {},
- "Depreciation": {
- "account_type": "Depreciation"
- },
- "Entertainment Expenses": {},
- "Freight and Forwarding Charges": {
- "account_type": "Chargeable"
- },
- "Legal Expenses": {},
- "Marketing Expenses": {},
- "Miscellaneous Expenses": {},
- "Office Maintenance Expenses": {},
- "Office Rent": {},
- "Postal Expenses": {},
- "Print and Stationary": {},
- "Rounded Off": {
- "account_type": "Round Off"
- },
- "Salary": {},
- "Sales Expenses": {},
- "Telephone Expenses": {},
- "Travel Expenses": {},
- "Utility Expenses": {},
- "Write Off": {},
- "Exchange Gain/Loss": {},
- "Gain/Loss on Asset Disposal": {}
- },
- "root_type": "Expense"
- },
- "Income": {
- "Direct Income": {
- "Sales": {
- "account_type": "Income Account"
- },
- "Service": {
- "account_type": "Income Account"
- },
- "account_type": "Income Account"
- },
- "Indirect Income": {
- "account_type": "Income Account",
- "is_group": 1
- },
- "root_type": "Income"
- },
- "Source of Funds (Liabilities)": {
- "Capital Account": {
- "Reserves and Surplus": {},
- "Shareholders Funds": {}
- },
- "Current Liabilities": {
- "Accounts Payable": {
- "Creditors": {
- "account_type": "Payable"
- },
- "Payroll Payable": {}
- },
- "Stock Liabilities": {
- "Stock Received But Not Billed": {
- "account_type": "Stock Received But Not Billed"
- }
- },
- "Duties and Taxes": {
- "account_type": "Tax",
- "is_group": 1
- },
- "Loans (Liabilities)": {
- "Secured Loans": {},
- "Unsecured Loans": {},
- "Bank Overdraft Account": {}
- }
- },
- "root_type": "Liability"
- }
- }
+ "Application of Funds (Assets)": {
+ "Current Assets": {
+ "Accounts Receivable": {
+ "Debtors": {
+ "account_type": "Receivable"
+ }
+ },
+ "Bank Accounts": {
+ "account_type": "Bank",
+ "is_group": 1
+ },
+ "Cash In Hand": {
+ "Cash": {
+ "account_type": "Cash"
+ },
+ "account_type": "Cash"
+ },
+ "Loans and Advances (Assets)": {
+ "is_group": 1
+ },
+ "Securities and Deposits": {
+ "Earnest Money": {}
+ },
+ "Stock Assets": {
+ "Stock In Hand": {
+ "account_type": "Stock"
+ },
+ "account_type": "Stock"
+ },
+ "Tax Assets": {
+ "is_group": 1
+ }
+ },
+ "Fixed Assets": {
+ "Capital Equipments": {
+ "account_type": "Fixed Asset"
+ },
+ "Electronic Equipments": {
+ "account_type": "Fixed Asset"
+ },
+ "Furnitures and Fixtures": {
+ "account_type": "Fixed Asset"
+ },
+ "Office Equipments": {
+ "account_type": "Fixed Asset"
+ },
+ "Plants and Machineries": {
+ "account_type": "Fixed Asset"
+ },
+ "Buildings": {
+ "account_type": "Fixed Asset"
+ },
+ "Accumulated Depreciations": {
+ "account_type": "Accumulated Depreciation"
+ }
+ },
+ "Investments": {
+ "is_group": 1
+ },
+ "Temporary Accounts": {
+ "Temporary Opening": {
+ "account_type": "Temporary"
+ }
+ },
+ "root_type": "Asset"
+ },
+ "Expenses": {
+ "Direct Expenses": {
+ "Stock Expenses": {
+ "Cost of Goods Sold": {
+ "account_type": "Cost of Goods Sold"
+ },
+ "Expenses Included In Valuation": {
+ "account_type": "Expenses Included In Valuation"
+ },
+ "Stock Adjustment": {
+ "account_type": "Stock Adjustment"
+ }
+ }
+ },
+ "Indirect Expenses": {
+ "Administrative Expenses": {},
+ "Commission on Sales": {},
+ "Depreciation": {
+ "account_type": "Depreciation"
+ },
+ "Entertainment Expenses": {},
+ "Freight and Forwarding Charges": {
+ "account_type": "Chargeable"
+ },
+ "Legal Expenses": {},
+ "Marketing Expenses": {},
+ "Miscellaneous Expenses": {},
+ "Office Maintenance Expenses": {},
+ "Office Rent": {},
+ "Postal Expenses": {},
+ "Print and Stationary": {},
+ "Rounded Off": {
+ "account_type": "Round Off"
+ },
+ "Salary": {},
+ "Sales Expenses": {},
+ "Telephone Expenses": {},
+ "Travel Expenses": {},
+ "Utility Expenses": {},
+ "Write Off": {},
+ "Exchange Gain/Loss": {},
+ "Gain/Loss on Asset Disposal": {}
+ },
+ "root_type": "Expense"
+ },
+ "Income": {
+ "Direct Income": {
+ "Sales": {
+ "account_type": "Income Account"
+ },
+ "Service": {
+ "account_type": "Income Account"
+ },
+ "account_type": "Income Account"
+ },
+ "Indirect Income": {
+ "account_type": "Income Account",
+ "is_group": 1
+ },
+ "root_type": "Income"
+ },
+ "Source of Funds (Liabilities)": {
+ "Capital Account": {
+ "Reserves and Surplus": {},
+ "Shareholders Funds": {}
+ },
+ "Current Liabilities": {
+ "Accounts Payable": {
+ "Creditors": {
+ "account_type": "Payable"
+ },
+ "Payroll Payable": {}
+ },
+ "Stock Liabilities": {
+ "Stock Received But Not Billed": {
+ "account_type": "Stock Received But Not Billed"
+ }
+ },
+ "Duties and Taxes": {
+ "account_type": "Tax",
+ "is_group": 1
+ },
+ "Loans (Liabilities)": {
+ "Secured Loans": {},
+ "Unsecured Loans": {},
+ "Bank Overdraft Account": {}
+ }
+ },
+ "root_type": "Liability"
+ }
+ }
}
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts_with_account_number.py b/erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts_with_account_number.py
new file mode 100644
index 00000000000..bad84533a5a
--- /dev/null
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/standard_chart_of_accounts_with_account_number.py
@@ -0,0 +1,275 @@
+# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
+# License: GNU General Public License v3. See license.txt
+
+from __future__ import unicode_literals
+from frappe import _
+
+def get():
+ return {
+ _("Application of Funds (Assets)"): {
+ _("Current Assets"): {
+ _("Accounts Receivable"): {
+ _("Debtors"): {
+ "account_type": "Receivable",
+ "account_number": "1310"
+ },
+ "account_number": "1300"
+ },
+ _("Bank Accounts"): {
+ "account_type": "Bank",
+ "is_group": 1,
+ "account_number": "1200"
+ },
+ _("Cash In Hand"): {
+ _("Cash"): {
+ "account_type": "Cash",
+ "account_number": "1110"
+ },
+ "account_type": "Cash",
+ "account_number": "1100"
+ },
+ _("Loans and Advances (Assets)"): {
+ "is_group": 1,
+ "account_number": "1600"
+ },
+ _("Securities and Deposits"): {
+ _("Earnest Money"): {
+ "account_number": "1651"
+ },
+ "account_number": "1650"
+ },
+ _("Stock Assets"): {
+ _("Stock In Hand"): {
+ "account_type": "Stock",
+ "account_number": "1410"
+ },
+ "account_type": "Stock",
+ "account_number": "1400"
+ },
+ _("Tax Assets"): {
+ "is_group": 1,
+ "account_number": "1500"
+ },
+ "account_number": "1100-1600"
+ },
+ _("Fixed Assets"): {
+ _("Capital Equipments"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1710"
+ },
+ _("Electronic Equipments"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1720"
+ },
+ _("Furnitures and Fixtures"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1730"
+ },
+ _("Office Equipments"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1740"
+ },
+ _("Plants and Machineries"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1750"
+ },
+ _("Buildings"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1760"
+ },
+ _("Softwares"): {
+ "account_type": "Fixed Asset",
+ "account_number": "1770"
+ },
+ _("Accumulated Depreciation"): {
+ "account_type": "Accumulated Depreciation",
+ "account_number": "1780"
+ },
+ "account_number": "1700"
+ },
+ _("Investments"): {
+ "is_group": 1,
+ "account_number": "1800"
+ },
+ _("Temporary Accounts"): {
+ _("Temporary Opening"): {
+ "account_type": "Temporary",
+ "account_number": "1910"
+ },
+ "account_number": "1900"
+ },
+ "root_type": "Asset",
+ "account_number": "1000"
+ },
+ _("Expenses"): {
+ _("Direct Expenses"): {
+ _("Stock Expenses"): {
+ _("Cost of Goods Sold"): {
+ "account_type": "Cost of Goods Sold",
+ "account_number": "5111"
+ },
+ _("Expenses Included In Valuation"): {
+ "account_type": "Expenses Included In Valuation",
+ "account_number": "5118"
+ },
+ _("Stock Adjustment"): {
+ "account_type": "Stock Adjustment",
+ "account_number": "5119"
+ },
+ "account_number": "5110"
+ },
+ "account_number": "5100"
+ },
+ _("Indirect Expenses"): {
+ _("Administrative Expenses"): {
+ "account_number": "5201"
+ },
+ _("Commission on Sales"): {
+ "account_number": "5202"
+ },
+ _("Depreciation"): {
+ "account_type": "Depreciation",
+ "account_number": "5203"
+ },
+ _("Entertainment Expenses"): {
+ "account_number": "5204"
+ },
+ _("Freight and Forwarding Charges"): {
+ "account_type": "Chargeable",
+ "account_number": "5205"
+ },
+ _("Legal Expenses"): {
+ "account_number": "5206"
+ },
+ _("Marketing Expenses"): {
+ "account_type": "Chargeable",
+ "account_number": "5207"
+ },
+ _("Office Maintenance Expenses"): {
+ "account_number": "5208"
+ },
+ _("Office Rent"): {
+ "account_number": "5209"
+ },
+ _("Postal Expenses"): {
+ "account_number": "5210"
+ },
+ _("Print and Stationery"): {
+ "account_number": "5211"
+ },
+ _("Round Off"): {
+ "account_type": "Round Off",
+ "account_number": "5212"
+ },
+ _("Salary"): {
+ "account_number": "5213"
+ },
+ _("Sales Expenses"): {
+ "account_number": "5214"
+ },
+ _("Telephone Expenses"): {
+ "account_number": "5215"
+ },
+ _("Travel Expenses"): {
+ "account_number": "5216"
+ },
+ _("Utility Expenses"): {
+ "account_number": "5217"
+ },
+ _("Write Off"): {
+ "account_number": "5218"
+ },
+ _("Exchange Gain/Loss"): {
+ "account_number": "5219"
+ },
+ _("Gain/Loss on Asset Disposal"): {
+ "account_number": "5220"
+ },
+ _("Miscellaneous Expenses"): {
+ "account_type": "Chargeable",
+ "account_number": "5221"
+ },
+ "account_number": "5200"
+ },
+ "root_type": "Expense",
+ "account_number": "5000"
+ },
+ _("Income"): {
+ _("Direct Income"): {
+ _("Sales"): {
+ "account_number": "4110"
+ },
+ _("Service"): {
+ "account_number": "4120"
+ },
+ "account_number": "4100"
+ },
+ _("Indirect Income"): {
+ "is_group": 1,
+ "account_number": "4200"
+ },
+ "root_type": "Income",
+ "account_number": "4000"
+ },
+ _("Source of Funds (Liabilities)"): {
+ _("Current Liabilities"): {
+ _("Accounts Payable"): {
+ _("Creditors"): {
+ "account_type": "Payable",
+ "account_number": "2110"
+ },
+ _("Payroll Payable"): {
+ "account_number": "2120"
+ },
+ "account_number": "2100"
+ },
+ _("Stock Liabilities"): {
+ _("Stock Received But Not Billed"): {
+ "account_type": "Stock Received But Not Billed",
+ "account_number": "2210"
+ },
+ "account_number": "2200"
+ },
+ _("Duties and Taxes"): {
+ "account_type": "Tax",
+ "is_group": 1,
+ "account_number": "2300"
+ },
+ _("Loans (Liabilities)"): {
+ _("Secured Loans"): {
+ "account_number": "2410"
+ },
+ _("Unsecured Loans"): {
+ "account_number": "2420"
+ },
+ _("Bank Overdraft Account"): {
+ "account_number": "2430"
+ },
+ "account_number": "2400"
+ },
+ "account_number": "2100-2400"
+ },
+ "root_type": "Liability",
+ "account_number": "2000"
+ },
+ _("Equity"): {
+ _("Capital Stock"): {
+ "account_type": "Equity",
+ "account_number": "3100"
+ },
+ _("Dividends Paid"): {
+ "account_type": "Equity",
+ "account_number": "3200"
+ },
+ _("Opening Balance Equity"): {
+ "account_type": "Equity",
+ "account_number": "3300"
+ },
+ _("Retained Earnings"): {
+ "account_type": "Equity",
+ "account_number": "3400"
+ },
+ "root_type": "Equity",
+ "account_number": "3000"
+ }
+ }
diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/verified/tw_chart_of_accounts.json b/erpnext/accounts/doctype/account/chart_of_accounts/verified/tw_chart_of_accounts.json
index a79283a40a9..166f8a7c72c 100644
--- a/erpnext/accounts/doctype/account/chart_of_accounts/verified/tw_chart_of_accounts.json
+++ b/erpnext/accounts/doctype/account/chart_of_accounts/verified/tw_chart_of_accounts.json
@@ -2,721 +2,1353 @@
"country_code": "tw",
"name": "Taiwan - Chart of Accounts",
"tree": {
- "1-\u8cc7\u7522": {
- "11~12-\u6d41\u52d5\u8cc7\u7522": {
- "111-\u73fe\u91d1\u53ca\u7d04\u7576\u73fe\u91d1": {
- "1111-\u5eab\u5b58\u73fe\u91d1": {
- "account_type": "Cash"
- },
- "1112-\u96f6\u7528\u91d1/\u9031\u8f49\u91d1": {
- "account_type": "Cash"
- },
- "1113-\u9280\u884c\u5b58\u6b3e": {
- "account_type": "Bank",
- "\u4e2d\u570b\u4fe1\u8a17": {
- "account_type": "Bank"
- },
- "\u53f0\u5317\u5bcc\u90a6": {
- "account_type": "Bank"
- }
- },
- "1116-\u5728\u9014\u73fe\u91d1": {
- "account_type": "Cash"
- },
- "1117-\u7d04\u7576\u73fe\u91d1": {
- "account_type": "Cash"
- },
- "1118-\u5176\u4ed6\u73fe\u91d1\u53ca\u7d04\u7576\u73fe\u91d1": {
- "account_type": "Cash"
- },
- "account_type": "Cash"
- },
- "112-\u77ed\u671f\u6295\u8cc7": {
- "1121-\u77ed\u671f\u6295\u8cc7 \u2014\u80a1\u7968": {}
- },
- "113-\u61c9\u6536\u7968\u64da": {
- "1131-\u61c9\u6536\u7968\u64da": {
- "account_type": "Receivable"
- },
- "1132-\u61c9\u6536\u7968\u64da\u8cbc\u73fe ": {
- "account_type": "Receivable"
- },
- "1138-\u5176\u4ed6\u61c9\u6536\u7968\u64da ": {
- "account_type": "Receivable"
- },
- "1139-\u5099\u62b5\u5446\u5e33 \uff0d\u61c9\u6536\u7968\u64da ": {
- "account_type": "Receivable"
- },
- "account_type": "Receivable"
- },
- "114-\u61c9\u6536\u5e33\u6b3e": {
- "1141-\u61c9\u6536\u5e33\u6b3e ": {
- "account_type": "Receivable"
- },
- "1142-\u61c9\u6536\u5206\u671f\u5e33\u6b3e ": {
- "account_type": "Receivable"
- },
- "1149-\u5099\u62b5\u5446\u5e33 \uff0d\u61c9\u6536\u5e33\u6b3e ": {
- "account_type": "Receivable"
- },
- "account_type": "Receivable"
- },
- "118-\u5176\u4ed6\u61c9\u6536\u6b3e": {
- "1184-\u61c9\u6536\u6536\u76ca": {
- "account_type": "Receivable"
- },
- "1185-\u61c9\u6536\u9000\u7a05\u6b3e": {
- "account_type": "Receivable"
- },
- "1189-\u5099\u62b5\u5446\u5e33 \u2014 \u5176\u4ed6\u61c9\u6536\u6b3e ": {
- "account_type": "Receivable"
- },
- "account_type": "Receivable"
- },
- "121~122-\u5b58\u8ca8": {
- "1219-\u5099\u62b5\u5b58\u8ca8\u8dcc\u50f9\u640d\u5931": {},
- "1229-\u5099\u62b5\u5b58\u8ca8\u8dcc\u50f9\u640d\u5931": {},
- "account_type": "Stock",
- "is_group": 1
- },
- "125-\u9810\u4ed8\u8cbb\u7528": {
- "1251-\u9810\u4ed8\u85aa\u8cc7": {},
- "1252-\u9810\u4ed8\u79df\u91d1": {},
- "1253-\u9810\u4ed8\u4fdd\u96aa\u8cbb": {},
- "1254-\u7528\u54c1\u76e4\u5b58": {},
- "1255-\u9810\u4ed8\u6240\u5f97\u7a05": {},
- "1258-\u5176\u4ed6\u9810\u4ed8\u8cbb\u7528": {}
- },
- "126-\u9810\u4ed8\u6b3e\u9805": {
- "1261-\u9810\u4ed8\u8ca8\u6b3e": {},
- "1268-\u5176\u4ed6\u9810\u4ed8\u6b3e\u9805": {}
- },
- "128~129-\u5176\u4ed6\u6d41\u52d5\u8cc7\u7522": {
- "1281-\u9032\u9805\u7a05\u984d": {},
- "1282-\u7559\u62b5\u7a05\u984d": {},
- "1283-\u66ab\u4ed8\u6b3e": {},
- "1284-\u4ee3\u4ed8\u6b3e": {},
- "1285-\u54e1\u5de5\u501f\u652f": {}
- }
- },
- "13-\u57fa\u91d1\u53ca\u9577\u671f\u6295\u8cc7": {
- "131-\u57fa\u91d1": {
- "1311-\u511f\u50b5\u57fa\u91d1": {},
- "1313-\u610f\u5916\u640d\u5931\u6e96\u5099\u57fa\u91d1": {},
- "1314-\u9000\u4f11\u57fa\u91d1": {},
- "1318-\u5176\u4ed6\u57fa\u91d1": {}
- },
- "132-\u9577\u671f\u6295\u8cc7": {
- "1321-\u9577\u671f\u80a1\u6b0a\u6295\u8cc7": {},
- "1322-\u9577\u671f\u50b5\u5238\u6295\u8cc7": {},
- "1323-\u9577\u671f\u4e0d\u52d5\u7522\u6295\u8cc7": {},
- "1328-\u5176\u4ed6\u9577\u671f\u6295\u8cc7": {}
- }
- },
- "14~15-\u56fa\u5b9a\u8cc7\u7522": {
- "141-\u571f\u5730": {
- "1411-\u571f\u5730": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "142-\u571f\u5730\u6539\u826f\u7269": {
- "1421-\u571f\u5730\u6539\u826f\u7269": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "143-\u623f\u5c4b\u53ca\u5efa\u7269": {
- "1431-\u623f\u5c4b\u53ca\u5efa\u7269": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "144~146-\u6a5f(\u5668)\u5177\u53ca\u8a2d\u5099": {
- "1441-\u6a5f(\u5668)\u5177": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "151-\u79df\u8cc3\u8cc7\u7522": {
- "1511-\u79df\u8cc3\u8cc7\u7522": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "152-\u79df\u8cc3\u6b0a\u76ca\u6539\u826f": {
- "1521-\u79df\u8cc3\u6b0a\u76ca\u6539\u826f": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "156-\u672a\u5b8c\u5de5\u7a0b\u53ca\u9810\u4ed8\u8cfc\u7f6e\u8a2d\u5099\u6b3e": {
- "1561-\u672a\u5b8c\u5de5\u7a0b": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "158-\u96dc\u9805\u56fa\u5b9a\u8cc7\u7522": {
- "1581-\u96dc\u9805\u56fa\u5b9a\u8cc7\u7522": {
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "account_type": "Fixed Asset"
- },
- "16-\u905e\u8017\u8cc7\u7522": {
- "161-\u905e\u8017\u8cc7\u7522": {
- "is_group": 1
- }
- },
- "17-\u7121\u5f62\u8cc7\u7522": {
- "171-\u5546\u6a19\u6b0a": {
- "1711-\u5546\u6a19\u6b0a": {}
- },
- "172-\u5c08\u5229\u6b0a": {
- "1721-\u5c08\u5229\u6b0a": {}
- },
- "176-\u5546\u8b7d": {
- "1761-\u5546\u8b7d": {}
- },
- "177-\u958b\u8fa6\u8cbb": {
- "1771-\u958b\u8fa6\u8cbb": {}
- },
- "178-\u5176\u4ed6\u7121\u5f62\u8cc7\u7522": {
- "1781-\u905e\u5ef6\u9000\u4f11\u91d1\u6210\u672c": {}
- }
- },
- "18-\u5176\u4ed6\u8cc7\u7522": {
- "181-\u905e\u5ef6\u8cc7\u7522": {
- "1811-\u50b5\u5238\u767c\u884c\u6210\u672c": {},
- "1812-\u9577\u671f\u9810\u4ed8\u79df\u91d1": {},
- "1813-\u9577\u671f\u9810\u4ed8\u4fdd\u96aa\u8cbb": {},
- "1814-\u905e\u5ef6\u6240\u5f97\u7a05\u8cc7\u7522": {},
- "1815-\u9810\u4ed8\u9000\u4f11\u91d1": {},
- "1818-\u5176\u4ed6\u905e\u5ef6\u8cc7\u7522": {}
- },
- "182-\u9592\u7f6e\u8cc7\u7522": {
- "1821-\u9592\u7f6e\u8cc7\u7522": {}
- },
- "184-\u9577\u671f\u61c9\u6536\u7968\u64da\u53ca\u6b3e\u9805\u8207\u50ac\u6536\u5e33\u6b3e": {
- "1841-\u9577\u671f\u61c9\u6536\u7968\u64da": {
- "account_type": "Receivable"
- },
- "1842-\u9577\u671f\u61c9\u6536\u5e33\u6b3e": {
- "account_type": "Receivable"
- },
- "1843-\u50ac\u6536\u5e33\u6b3e": {
- "account_type": "Receivable"
- },
- "1848-\u5176\u4ed6\u9577\u671f\u61c9\u6536\u6b3e\u9805": {
- "account_type": "Receivable"
- },
- "1849-\u5099\u62b5\u5446\u5e33\u2014\u9577\u671f\u61c9\u6536\u7968\u64da\u53ca\u6b3e\u9805\u8207\u50ac\u6536\u5e33\u6b3e": {
- "account_type": "Receivable"
- },
- "account_type": "Receivable"
- },
- "185-\u51fa\u79df\u8cc7\u7522": {
- "1851-\u51fa\u79df\u8cc7\u7522": {},
- "1858-\u51fa\u79df\u8cc7\u7522 \u2014\u91cd\u4f30\u589e\u503c": {},
- "1859-\u7d2f\u7a4d\u6298\u820a \u2014\u51fa\u79df\u8cc7\u7522": {
- "account_type": "Accumulated Depreciation"
+ "\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca)": {
+ "account_number": "8",
+ "root_type": "Expense",
+ "\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca)": {
+ "account_number": "81",
+ "\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca) ": {
+ "account_number": "811",
+ "\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca) ": {
+ "account_number": "8111"
}
- },
- "186-\u5b58\u51fa\u4fdd\u8b49\u91d1": {
- "1861-\u5b58\u51fa\u4fdd\u8b49\u91d1": {}
- },
- "188-\u96dc\u9805\u8cc7\u7522": {
- "1881-\u53d7\u9650\u5236\u5b58\u6b3e": {},
- "1888-\u96dc\u9805\u8cc7\u7522 \u2014\u5176\u4ed6": {}
}
- },
+ }
+ },
+ "\u696d\u4e3b\u6b0a\u76ca": {
+ "account_number": "3",
+ "root_type": "Equity",
+ "\u4fdd\u7559\u76c8\u9918(\u7d2f\u7a4d\u8667\u640d)": {
+ "account_number": "33",
+ "\u672a\u5206\u914d\u76c8\u9918(\u7d2f\u7a4d\u8667\u640d) ": {
+ "account_number": "335",
+ "is_group": 1
+ },
+ "\u6cd5\u5b9a\u76c8\u9918\u516c\u7a4d": {
+ "account_number": "331",
+ "\u6cd5\u5b9a\u76c8\u9918\u516c\u7a4d": {
+ "account_number": "3311"
+ }
+ },
+ "\u7279\u5225\u76c8\u9918\u516c\u7a4d": {
+ "account_number": "332",
+ "\u511f\u50b5\u6e96\u5099": {
+ "account_number": "3323"
+ },
+ "\u5176\u4ed6\u7279\u5225\u76c8\u9918\u516c\u7a4d": {
+ "account_number": "3328"
+ },
+ "\u610f\u5916\u640d\u5931\u6e96\u5099": {
+ "account_number": "3321"
+ },
+ "\u6539\u826f\u64f4\u5145\u6e96\u5099": {
+ "account_number": "3322"
+ }
+ }
+ },
+ "\u5c11\u6578\u80a1\u6b0a": {
+ "account_number": "36",
+ "\u5c11\u6578\u80a1\u6b0a": {
+ "account_number": "361",
+ "\u5c11\u6578\u80a1\u6b0a": {
+ "account_number": "3611"
+ }
+ }
+ },
+ "\u5eab\u85cf\u80a1": {
+ "account_number": "35",
+ "\u5eab\u85cf\u80a1": {
+ "account_number": "351",
+ "\u5eab\u85cf\u80a1": {
+ "account_number": "3511"
+ }
+ }
+ },
+ "\u6b0a\u76ca\u8abf\u6574": {
+ "account_number": "34",
+ "\u672a\u8a8d\u5217\u70ba\u9000\u4f11\u91d1\u6210\u672c\u4e4b\u6de8\u640d\u5931": {
+ "account_number": "343",
+ "\u672a\u8a8d\u5217\u70ba\u9000\u4f11\u91d1\u6210\u672c\u4e4b\u6de8\u640d\u5931": {
+ "account_number": "3431"
+ }
+ },
+ "\u7d2f\u7a4d\u63db\u7b97\u8abf\u6574\u6578": {
+ "account_number": "342",
+ "\u7d2f\u7a4d\u63db\u7b97\u8abf\u6574\u6578": {
+ "account_number": "3421"
+ }
+ },
+ "\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {
+ "account_number": "341",
+ "\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {
+ "account_number": "3411"
+ }
+ }
+ },
+ "\u8cc7\u672c": {
+ "account_number": "31",
+ "\u8cc7\u672c\uff08\u80a1\u672c\uff09 ": {
+ "account_number": "311",
+ "\u5f85\u5206\u914d\u80a1\u7968\u80a1\u5229": {
+ "account_number": "3114"
+ },
+ "\u666e\u901a\u80a1\u80a1\u672c": {
+ "account_number": "3111"
+ },
+ "\u7279\u5225\u80a1\u80a1\u672c": {
+ "account_number": "3112"
+ },
+ "\u8cc7\u672c": {
+ "account_number": "3115"
+ },
+ "\u9810\u6536\u80a1\u672c": {
+ "account_number": "3113"
+ }
+ }
+ },
+ "\u8cc7\u672c\u516c\u7a4d": {
+ "account_number": "32",
+ "\u5176\u4ed6\u8cc7\u672c\u516c\u7a4d": {
+ "account_number": "328",
+ "\u6b0a\u76ca\u6cd5\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u8cc7\u672c\u516c\u7a4d": {
+ "account_number": "3281"
+ },
+ "\u8cc7\u672c\u516c\u7a4d\u2014 \u5eab\u85cf\u80a1\u7968\u4ea4\u6613": {
+ "account_number": "3282"
+ }
+ },
+ "\u53d7\u8d08\u516c\u7a4d": {
+ "account_number": "326",
+ "\u53d7\u8d08\u516c\u7a4d": {
+ "account_number": "3261"
+ }
+ },
+ "\u5408\u4f75\u516c\u7a4d": {
+ "account_number": "325",
+ "\u5408\u4f75\u516c\u7a4d": {
+ "account_number": "3251"
+ }
+ },
+ "\u80a1\u7968\u6ea2\u50f9": {
+ "account_number": "321",
+ "\u666e\u901a\u80a1\u80a1\u7968\u6ea2\u50f9": {
+ "account_number": "3211"
+ },
+ "\u7279\u5225\u80a1\u80a1\u7968\u6ea2\u50f9": {
+ "account_number": "3212"
+ }
+ },
+ "\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u516c\u7a4d": {
+ "account_number": "324",
+ "\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u516c\u7a4d": {
+ "account_number": "3241"
+ }
+ },
+ "\u8cc7\u7522\u91cd\u4f30\u589e\u503c\u6e96\u5099": {
+ "account_number": "323",
+ "\u8cc7\u7522\u91cd\u4f30\u589e\u503c\u6e96\u5099": {
+ "account_number": "3231"
+ }
+ }
+ }
+ },
+ "\u71df\u696d\u5916\u6536\u5165\u53ca\u8cbb\u7528": {
+ "account_number": "7",
+ "root_type": "Income",
+ "\u71df\u696d\u5916\u6536\u5165": {
+ "account_number": "71~74",
+ "\u514c\u63db\u5229\u76ca": {
+ "account_number": "713",
+ "\u514c\u63db\u5229\u76ca": {
+ "account_number": "7131"
+ }
+ },
+ "\u5176\u4ed6\u71df\u696d\u5916\u6536\u5165": {
+ "account_number": "748",
+ "\u4f63\u91d1\u6536\u5165": {
+ "account_number": "7483"
+ },
+ "\u5176\u4ed6\u71df\u696d\u5916\u6536\u5165\u2014\u5176\u4ed6": {
+ "account_number": "7488"
+ },
+ "\u51fa\u552e\u4e0b\u8173\u53ca\u5ee2\u6599\u6536\u5165": {
+ "account_number": "7484"
+ },
+ "\u58de\u5e33\u8f49\u56de\u5229\u76ca": {
+ "account_number": "7487"
+ },
+ "\u5b58\u8ca8\u76e4\u76c8": {
+ "account_number": "7485"
+ },
+ "\u5b58\u8ca8\u8dcc\u50f9\u56de\u5347\u5229\u76ca": {
+ "account_number": "7486"
+ },
+ "\u6350\u8d08\u6536\u5165": {
+ "account_number": "7481"
+ },
+ "\u79df\u91d1\u6536\u5165": {
+ "account_number": "7482"
+ }
+ },
+ "\u5229\u606f\u6536\u5165": {
+ "account_number": "711",
+ "\u5229\u606f\u6536\u5165": {
+ "account_number": "7111"
+ }
+ },
+ "\u6295\u8cc7\u6536\u76ca": {
+ "account_number": "712",
+ "\u6b0a\u76ca\u6cd5\u8a8d\u5217\u4e4b\u6295\u8cc7\u6536\u76ca": {
+ "account_number": "7121"
+ },
+ "\u77ed\u671f\u6295\u8cc7\u5e02\u50f9\u56de\u5347\u5229\u76ca": {
+ "account_number": "7123"
+ },
+ "\u80a1\u5229\u6536\u5165": {
+ "account_number": "7122"
+ }
+ },
+ "\u8655\u5206\u6295\u8cc7\u6536\u76ca": {
+ "account_number": "714",
+ "\u8655\u5206\u6295\u8cc7\u6536\u76ca": {
+ "account_number": "7141"
+ }
+ },
+ "\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u6536\u5165": {
+ "account_number": "715",
+ "\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u6536\u5165": {
+ "account_number": "7151"
+ }
+ }
+ },
+ "\u71df\u696d\u5916\u8cbb\u7528": {
+ "account_number": "75~78",
+ "\u514c\u63db\u640d\u5931": {
+ "account_number": "753",
+ "\u514c\u63db\u640d\u5931": {
+ "account_number": "7531"
+ }
+ },
+ "\u5176\u4ed6\u71df\u696d\u5916\u8cbb\u7528": {
+ "account_number": "788",
+ "\u505c\u5de5\u640d\u5931": {
+ "account_number": "7881"
+ },
+ "\u5176\u4ed6\u71df\u696d\u5916\u8cbb\u7528\u2014\u5176\u4ed6": {
+ "account_number": "7888"
+ },
+ "\u5b58\u8ca8\u76e4\u640d": {
+ "account_number": "7885"
+ },
+ "\u5b58\u8ca8\u8dcc\u50f9\u53ca\u5446\u6eef\u640d\u5931": {
+ "account_number": "7886"
+ },
+ "\u707d\u5bb3\u640d\u5931": {
+ "account_number": "7882"
+ }
+ },
+ "\u5229\u606f\u8cbb\u7528": {
+ "account_number": "751",
+ "\u5229\u606f\u8cbb\u7528": {
+ "account_number": "7511"
+ }
+ },
+ "\u6295\u8cc7\u640d\u5931": {
+ "account_number": "752",
+ "\u6b0a\u76ca\u6cd5\u8a8d\u5217\u4e4b\u6295\u8cc7\u640d\u5931": {
+ "account_number": "7521"
+ },
+ "\u77ed\u671f\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {
+ "account_number": "7523"
+ }
+ },
+ "\u8655\u5206\u6295\u8cc7\u640d\u5931": {
+ "account_number": "754",
+ "\u8655\u5206\u6295\u8cc7\u640d\u5931": {
+ "account_number": "7541"
+ }
+ },
+ "\u8655\u5206\u8cc7\u7522\u640d\u5931": {
+ "account_number": "755",
+ "\u8655\u5206\u8cc7\u7522\u640d\u5931 ": {
+ "account_number": "7551"
+ }
+ }
+ }
+ },
+ "\u71df\u696d\u6210\u672c": {
+ "Stock Adjustment": {
+ "account_type": "Stock Adjustment"
+ },
+ "account_number": "5",
+ "root_type": "Expense",
+ "\u5176\u4ed6\u71df\u696d\u6210\u672c": {
+ "account_number": "58",
+ "\u5176\u4ed6\u71df\u696d\u6210\u672c\u2014\u5176\u4ed6 ": {
+ "account_number": "588",
+ "\u5176\u4ed6\u71df\u696d\u6210\u672c\u2014\u5176\u4ed6": {
+ "account_number": "5888"
+ }
+ }
+ },
+ "\u52de\u52d9\u6210\u672c\u88fd": {
+ "account_number": "56",
+ "\u52de\u52d9\u6210\u672c": {
+ "account_number": "561",
+ "\u52de\u52d9\u6210\u672c": {
+ "account_number": "5611"
+ }
+ }
+ },
+ "\u696d\u52d9\u6210\u672c": {
+ "account_number": "57",
+ "\u696d\u52d9\u6210\u672c": {
+ "account_number": "571",
+ "\u696d\u52d9\u6210\u672c": {
+ "account_number": "5711"
+ }
+ }
+ },
+ "\u92b7\u8ca8\u6210\u672c": {
+ "Expenses Included In Valuation": {
+ "account_type": "Expenses Included In Valuation"
+ },
+ "account_number": "51",
+ "account_type": "Cost of Goods Sold",
+ "\u76f4\u63a5\u4eba\u5de5": {
+ "account_number": "514",
+ "\u76f4\u63a5\u4eba\u5de5": {
+ "account_number": "5141"
+ }
+ },
+ "\u88fd\u9020\u8cbb\u7528": {
+ "account_number": "515~518",
+ "\u4f19\u98df\u8cbb": {
+ "account_number": "5172"
+ },
+ "\u4fdd\u96aa\u8cbb": {
+ "account_number": "5162"
+ },
+ "\u4fee\u7e55\u8cbb": {
+ "account_number": "5157"
+ },
+ "\u5176\u4ed6\u88fd\u9020\u8cbb\u7528": {
+ "account_number": "5188"
+ },
+ "\u52a0\u5de5\u8cbb": {
+ "account_number": "5163"
+ },
+ "\u5305\u88dd\u8cbb": {
+ "account_number": "5158"
+ },
+ "\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {
+ "account_number": "5169"
+ },
+ "\u6298\u820a ": {
+ "account_number": "5168",
+ "account_type": "Depreciation"
+ },
+ "\u6587\u5177\u7528\u54c1": {
+ "account_number": "5153"
+ },
+ "\u65c5\u8cbb": {
+ "account_number": "5154"
+ },
+ "\u6c34\u96fb\u74e6\u65af\u8cbb": {
+ "account_number": "5161"
+ },
+ "\u79df\u91d1\u652f\u51fa": {
+ "account_number": "5152"
+ },
+ "\u7a05\u6350": {
+ "account_number": "5166",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ },
+ "\u8077\u5de5\u798f\u5229": {
+ "account_number": "5173"
+ },
+ "\u8a13\u7df4\u8cbb": {
+ "account_number": "5176"
+ },
+ "\u904b\u8cbb": {
+ "account_number": "5155"
+ },
+ "\u90f5\u96fb\u8cbb": {
+ "account_number": "5156"
+ },
+ "\u9593\u63a5\u4eba\u5de5": {
+ "account_number": "5151"
+ },
+ "\u9593\u63a5\u6750\u6599": {
+ "account_number": "5177"
+ }
+ },
+ "\u9032\u6599": {
+ "account_number": "513",
+ "\u9032\u6599": {
+ "account_number": "5131"
+ },
+ "\u9032\u6599\u6298\u8b93": {
+ "account_number": "5134"
+ },
+ "\u9032\u6599\u8cbb\u7528": {
+ "account_number": "5132"
+ },
+ "\u9032\u6599\u9000\u51fa": {
+ "account_number": "5133"
+ }
+ },
+ "\u9032\u8ca8": {
+ "account_number": "512",
+ "\u9032\u8ca8": {
+ "account_number": "5121"
+ },
+ "\u9032\u8ca8\u6298\u8b93": {
+ "account_number": "5124"
+ },
+ "\u9032\u8ca8\u8cbb\u7528": {
+ "account_number": "5122"
+ },
+ "\u9032\u8ca8\u9000\u51fa": {
+ "account_number": "5123"
+ }
+ },
+ "\u92b7\u8ca8\u6210\u672c": {
+ "account_number": "511",
+ "account_type": "Cost of Goods Sold",
+ "\u5206\u671f\u4ed8\u6b3e\u92b7\u8ca8\u6210\u672c": {
+ "account_number": "5112",
+ "account_type": "Cost of Goods Sold"
+ },
+ "\u92b7\u8ca8\u6210\u672c": {
+ "account_number": "5111",
+ "account_type": "Cost of Goods Sold"
+ }
+ }
+ }
+ },
+ "\u71df\u696d\u6536\u5165": {
+ "account_number": "4",
+ "root_type": "Income",
+ "\u5176\u4ed6\u71df\u696d\u6536\u5165": {
+ "account_number": "48",
+ "\u5176\u4ed6\u71df\u696d\u6536\u5165\u2014\u5176\u4ed6": {
+ "account_number": "488",
+ "\u5176\u4ed6\u71df\u696d\u6536\u5165\u2014\u5176\u4ed6": {
+ "account_number": "4888"
+ }
+ }
+ },
+ "\u52de\u52d9\u6536\u5165": {
+ "account_number": "46",
+ "\u52de\u52d9\u6536\u5165": {
+ "account_number": "461",
+ "\u52de\u52d9\u6536\u5165": {
+ "account_number": "4611"
+ }
+ }
+ },
+ "\u696d\u52d9\u6536\u5165": {
+ "account_number": "47",
+ "\u696d\u52d9\u6536\u5165": {
+ "account_number": "471",
+ "\u696d\u52d9\u6536\u5165": {
+ "account_number": "4711"
+ }
+ }
+ },
+ "\u92b7\u8ca8\u6536\u5165": {
+ "account_number": "41",
+ "\u92b7\u8ca8\u6298\u8b93": {
+ "account_number": "419",
+ "\u92b7\u8ca8\u6298\u8b93": {
+ "account_number": "4191"
+ }
+ },
+ "\u92b7\u8ca8\u6536\u5165": {
+ "account_number": "411",
+ "\u5206\u671f\u4ed8\u6b3e\u92b7\u8ca8\u6536\u5165": {
+ "account_number": "4112"
+ },
+ "\u92b7\u8ca8\u6536\u5165": {
+ "account_number": "4111"
+ }
+ },
+ "\u92b7\u8ca8\u9000\u56de": {
+ "account_number": "417",
+ "\u92b7\u8ca8\u9000\u56de": {
+ "account_number": "4171"
+ }
+ }
+ }
+ },
+ "\u71df\u696d\u8cbb\u7528": {
+ "account_number": "6",
+ "root_type": "Expense",
+ "\u63a8\u92b7\u8cbb\u7528": {
+ "account_number": "61",
+ "\u63a8\u92b7\u8cbb\u7528": {
+ "account_number": "615~618",
+ "\u4ea4\u969b\u8cbb": {
+ "account_number": "6164"
+ },
+ "\u4f19\u98df\u8cbb": {
+ "account_number": "6172"
+ },
+ "\u4f63\u91d1\u652f\u51fa": {
+ "account_number": "6175"
+ },
+ "\u4fdd\u96aa\u8cbb": {
+ "account_number": "6162"
+ },
+ "\u4fee\u7e55\u8cbb": {
+ "account_number": "6157"
+ },
+ "\u5176\u4ed6\u63a8\u92b7\u8cbb\u7528": {
+ "account_number": "6188"
+ },
+ "\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {
+ "account_number": "6169"
+ },
+ "\u5446\u5e33\u640d\u5931": {
+ "account_number": "6167"
+ },
+ "\u5ee3\u544a\u8cbb": {
+ "account_number": "6159"
+ },
+ "\u6298\u820a ": {
+ "account_number": "6168",
+ "account_type": "Depreciation"
+ },
+ "\u6350\u8d08": {
+ "account_number": "6165"
+ },
+ "\u6587\u5177\u7528\u54c1": {
+ "account_number": "6153"
+ },
+ "\u65c5\u8cbb": {
+ "account_number": "6154"
+ },
+ "\u6c34\u96fb\u74e6\u65af\u8cbb": {
+ "account_number": "6161"
+ },
+ "\u79df\u91d1\u652f\u51fa": {
+ "account_number": "6152"
+ },
+ "\u7a05\u6350": {
+ "account_number": "6166",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ },
+ "\u8077\u5de5\u798f\u5229": {
+ "account_number": "6173"
+ },
+ "\u85aa\u8cc7\u652f\u51fa": {
+ "account_number": "6151"
+ },
+ "\u8a13\u7df4\u8cbb": {
+ "account_number": "6176"
+ },
+ "\u904b\u8cbb": {
+ "account_number": "6155"
+ },
+ "\u90f5\u96fb\u8cbb": {
+ "account_number": "6156"
+ }
+ }
+ },
+ "\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
+ "account_number": "63",
+ "\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
+ "account_number": "635~638",
+ "\u4ea4\u969b\u8cbb": {
+ "account_number": "6364"
+ },
+ "\u4f19\u98df\u8cbb": {
+ "account_number": "6372"
+ },
+ "\u4fdd\u96aa\u8cbb": {
+ "account_number": "6362"
+ },
+ "\u4fee\u7e55\u8cbb": {
+ "account_number": "6357"
+ },
+ "\u5176\u4ed6\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
+ "account_number": "6378"
+ },
+ "\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {
+ "account_number": "6369"
+ },
+ "\u6298\u820a": {
+ "account_number": "6368",
+ "account_type": "Depreciation"
+ },
+ "\u6587\u5177\u7528\u54c1": {
+ "account_number": "6353"
+ },
+ "\u65c5\u8cbb": {
+ "account_number": "6354"
+ },
+ "\u6c34\u96fb\u74e6\u65af\u8cbb": {
+ "account_number": "6361"
+ },
+ "\u79df\u91d1\u652f\u51fa": {
+ "account_number": "6352"
+ },
+ "\u7a05\u6350": {
+ "account_number": "6366",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ },
+ "\u8077\u5de5\u798f\u5229": {
+ "account_number": "6373"
+ },
+ "\u85aa\u8cc7\u652f\u51fa": {
+ "account_number": "6351"
+ },
+ "\u8a13\u7df4\u8cbb": {
+ "account_number": "6376"
+ },
+ "\u904b\u8cbb": {
+ "account_number": "6355"
+ },
+ "\u90f5\u96fb\u8cbb": {
+ "account_number": "6356"
+ }
+ }
+ },
+ "\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {
+ "account_number": "62",
+ "\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {
+ "account_number": "625~628",
+ "\u4ea4\u969b\u8cbb": {
+ "account_number": "6264"
+ },
+ "\u4f19\u98df\u8cbb": {
+ "account_number": "6272"
+ },
+ "\u4f63\u91d1\u652f\u51fa": {
+ "account_number": "6275"
+ },
+ "\u4fdd\u96aa\u8cbb": {
+ "account_number": "6262"
+ },
+ "\u4fee\u7e55\u8cbb": {
+ "account_number": "6257"
+ },
+ "\u5176\u4ed6\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {
+ "account_number": "6288"
+ },
+ "\u52de\u52d9\u8cbb": {
+ "account_number": "6278"
+ },
+ "\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {
+ "account_number": "6269"
+ },
+ "\u5446\u5e33\u640d\u5931": {
+ "account_number": "6267"
+ },
+ "\u5916\u92b7\u640d\u5931": {
+ "account_number": "6271"
+ },
+ "\u5ee3\u544a\u8cbb": {
+ "account_number": "6259"
+ },
+ "\u6298\u820a": {
+ "account_number": "6268",
+ "account_type": "Depreciation"
+ },
+ "\u6350\u8d08": {
+ "account_number": "6265"
+ },
+ "\u6587\u5177\u7528\u54c1": {
+ "account_number": "6253"
+ },
+ "\u65c5\u8cbb": {
+ "account_number": "6254"
+ },
+ "\u6c34\u96fb\u74e6\u65af\u8cbb": {
+ "account_number": "6261"
+ },
+ "\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
+ "account_number": "6274"
+ },
+ "\u79df\u91d1\u652f\u51fa": {
+ "account_number": "6252"
+ },
+ "\u7a05\u6350": {
+ "account_number": "6266",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ },
+ "\u8077\u5de5\u798f\u5229": {
+ "account_number": "6273"
+ },
+ "\u85aa\u8cc7\u652f\u51fa": {
+ "account_number": "6251"
+ },
+ "\u8a13\u7df4\u8cbb": {
+ "account_number": "6276"
+ },
+ "\u904b\u8cbb": {
+ "account_number": "6255"
+ },
+ "\u90f5\u96fb\u8cbb": {
+ "account_number": "6256"
+ }
+ }
+ }
+ },
+ "\u8ca0\u50b5": {
+ "Stock Received But Not Billed": {
+ "account_type": "Stock Received But Not Billed"
+ },
+ "account_number": "2",
+ "root_type": "Liability",
+ "\u5176\u4ed6\u8ca0\u50b5": {
+ "account_number": "28",
+ "\u5b58\u5165\u4fdd\u8b49\u91d1": {
+ "account_number": "286",
+ "\u5b58\u5165\u4fdd\u8b49\u91d1": {
+ "account_number": "2861"
+ }
+ },
+ "\u905e\u5ef6\u8ca0\u50b5": {
+ "account_number": "281",
+ "\u5176\u4ed6\u905e\u5ef6\u8ca0\u50b5": {
+ "account_number": "2818"
+ },
+ "\u905e\u5ef6\u6240\u5f97\u7a05\u8ca0\u50b5": {
+ "account_number": "2814"
+ },
+ "\u905e\u5ef6\u6536\u5165": {
+ "account_number": "2811"
+ }
+ },
+ "\u96dc\u9805\u8ca0\u50b5": {
+ "account_number": "288",
+ "\u96dc\u9805\u8ca0\u50b5 \u2014\u5176\u4ed6": {
+ "account_number": "2888"
+ }
+ }
+ },
+ "\u6d41\u52d5\u8ca0\u50b5": {
+ "account_number": "21~22",
+ "\u4e00\u5e74\u6216\u4e00\u71df\u696d\u9031\u671f\u5167\u5230\u671f\u9577\u671f\u8ca0\u50b5": {
+ "account_number": "227",
+ "is_group": 1
+ },
+ "\u5176\u4ed6\u61c9\u4ed8\u6b3e": {
+ "account_number": "218~219",
+ "\u61c9\u4ed8\u571f\u5730\u623f\u5c4b\u6b3e": {
+ "account_number": "2184"
+ },
+ "\u61c9\u4ed8\u80a1\u5229": {
+ "account_number": "2192"
+ },
+ "\u61c9\u4ed8\u8a2d\u5099\u6b3e": {
+ "account_number": "2185"
+ }
+ },
+ "\u5176\u4ed6\u6d41\u52d5\u8ca0\u50b5": {
+ "account_number": "228~229",
+ "\u4ee3\u6536\u6b3e": {
+ "account_number": "2284"
+ },
+ "\u4f30\u8a08\u552e\u5f8c\u670d\u52d9/\u4fdd\u56fa\u8ca0\u50b5": {
+ "account_number": "2285"
+ },
+ "\u66ab\u6536\u6b3e ": {
+ "account_number": "2283"
+ },
+ "\u905e\u5ef6\u514c\u63db\u5229\u76ca": {
+ "account_number": "2292"
+ },
+ "\u905e\u5ef6\u6240\u5f97\u7a05\u8ca0\u50b5": {
+ "account_number": "2291"
+ },
+ "\u92b7\u9805\u7a05\u984d": {
+ "account_number": "2281"
+ }
+ },
+ "\u61c9\u4ed8\u5e33\u6b3e": {
+ "account_number": "214",
+ "account_type": "Payable",
+ "\u61c9\u4ed8\u5e33\u6b3e": {
+ "account_number": "2141",
+ "account_type": "Payable"
+ }
+ },
+ "\u61c9\u4ed8\u6240\u5f97\u7a05": {
+ "account_number": "216",
+ "account_type": "Tax",
+ "tax_rate": 5.0,
+ "\u61c9\u4ed8\u6240\u5f97\u7a05": {
+ "account_number": "2161",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ }
+ },
+ "\u61c9\u4ed8\u77ed\u671f\u7968\u5238": {
+ "account_number": "212",
+ "account_type": "Payable",
+ "\u61c9\u4ed8\u5546\u696d\u672c\u7968": {
+ "account_number": "2121",
+ "account_type": "Payable"
+ },
+ "\u9280\u884c\u627f\u514c\u532f\u7968": {
+ "account_number": "2122",
+ "account_type": "Payable"
+ }
+ },
+ "\u61c9\u4ed8\u7968\u64da": {
+ "account_number": "213",
+ "account_type": "Payable",
+ "\u61c9\u4ed8\u7968\u64da": {
+ "account_number": "2131",
+ "account_type": "Payable"
+ }
+ },
+ "\u61c9\u4ed8\u8cbb\u7528": {
+ "account_number": "217",
+ "\u5176\u4ed6\u61c9\u4ed8\u8cbb\u7528": {
+ "account_number": "2178"
+ },
+ "\u61c9\u4ed8\u5229\u606f": {
+ "account_number": "2173"
+ },
+ "\u61c9\u4ed8\u71df\u696d\u7a05": {
+ "account_number": "2174"
+ },
+ "\u61c9\u4ed8\u79df\u91d1": {
+ "account_number": "2172"
+ },
+ "\u61c9\u4ed8\u7a05\u6350 \u2014\u5176\u4ed6": {
+ "account_number": "2175",
+ "account_type": "Tax",
+ "tax_rate": 5.0
+ },
+ "\u61c9\u4ed8\u85aa\u5de5": {
+ "account_number": "2171"
+ }
+ },
+ "\u77ed\u671f\u501f\u6b3e": {
+ "account_number": "211",
+ "\u9280\u884c\u501f\u6b3e": {
+ "account_number": "2112"
+ },
+ "\u9280\u884c\u900f\u652f": {
+ "account_number": "2111"
+ }
+ },
+ "\u9810\u6536\u6b3e\u9805": {
+ "account_number": "226",
+ "\u5176\u4ed6\u9810\u6536\u6b3e": {
+ "account_number": "2268"
+ },
+ "\u9810\u6536\u6536\u5165": {
+ "account_number": "2262"
+ },
+ "\u9810\u6536\u8ca8\u6b3e": {
+ "account_number": "2261"
+ }
+ }
+ },
+ "\u9577\u671f\u8ca0\u50b5": {
+ "account_number": "23",
+ "\u4f30\u8a08\u61c9\u4ed8\u571f\u5730\u589e\u503c\u7a05": {
+ "account_number": "234",
+ "\u4f30\u8a08\u61c9\u4ed8\u571f\u5730\u589e\u503c\u7a05": {
+ "account_number": "2341"
+ }
+ },
+ "\u5176\u4ed6\u9577\u671f\u8ca0\u50b5": {
+ "account_number": "238",
+ "\u5176\u4ed6\u9577\u671f\u8ca0\u50b5\u2014\u5176\u4ed6": {
+ "account_number": "2388"
+ }
+ },
+ "\u61c9\u4ed8\u516c\u53f8\u50b5": {
+ "account_number": "231",
+ "\u61c9\u4ed8\u516c\u53f8\u50b5": {
+ "account_number": "2311"
+ },
+ "\u61c9\u4ed8\u516c\u53f8\u50b5\u6ea2(\u6298)\u50f9": {
+ "account_number": "2319"
+ }
+ },
+ "\u61c9\u8a08\u9000\u4f11\u91d1\u8ca0\u50b5": {
+ "account_number": "235",
+ "\u61c9\u8a08\u9000\u4f11\u91d1\u8ca0\u50b5": {
+ "account_number": "2351"
+ }
+ },
+ "\u9577\u671f\u501f\u6b3e": {
+ "account_number": "232",
+ "\u9577\u671f\u501f\u6b3e \u2014\u5176\u4ed6": {
+ "account_number": "2328"
+ },
+ "\u9577\u671f\u501f\u6b3e \u2014\u54e1\u5de5": {
+ "account_number": "2325"
+ },
+ "\u9577\u671f\u501f\u6b3e \u2014\u696d\u4e3b": {
+ "account_number": "2324"
+ },
+ "\u9577\u671f\u501f\u6b3e \u2014\u95dc\u4fc2\u4eba": {
+ "account_number": "2327"
+ },
+ "\u9577\u671f\u9280\u884c\u501f\u6b3e": {
+ "account_number": "2321"
+ }
+ },
+ "\u9577\u671f\u61c9\u4ed8\u7968\u64da\u53ca\u6b3e\u9805": {
+ "account_number": "233",
+ "account_type": "Payable",
+ "\u9577\u671f\u61c9\u4ed8\u5e33\u6b3e": {
+ "account_number": "2332",
+ "account_type": "Payable"
+ },
+ "\u9577\u671f\u61c9\u4ed8\u7968\u64da": {
+ "account_number": "2331",
+ "account_type": "Payable"
+ },
+ "\u9577\u671f\u61c9\u4ed8\u79df\u8cc3\u8ca0\u50b5": {
+ "account_number": "2333",
+ "account_type": "Payable"
+ }
+ }
+ }
+ },
+ "\u8cc7\u7522": {
"Temporary Accounts": {
"Temporary Opening": {
"account_type": "Temporary"
- },
+ },
"account_type": "Temporary"
- },
- "root_type": "Asset"
- },
- "2-\u8ca0\u50b5": {
- "21~22-\u6d41\u52d5\u8ca0\u50b5": {
- "211-\u77ed\u671f\u501f\u6b3e": {
- "2111-\u9280\u884c\u900f\u652f": {},
- "2112-\u9280\u884c\u501f\u6b3e": {}
- },
- "212-\u61c9\u4ed8\u77ed\u671f\u7968\u5238": {
- "2121-\u61c9\u4ed8\u5546\u696d\u672c\u7968": {
- "account_type": "Payable"
- },
- "2122-\u9280\u884c\u627f\u514c\u532f\u7968": {
- "account_type": "Payable"
- },
- "account_type": "Payable"
- },
- "213-\u61c9\u4ed8\u7968\u64da": {
- "2131-\u61c9\u4ed8\u7968\u64da": {
- "account_type": "Payable"
- },
- "account_type": "Payable"
- },
- "214-\u61c9\u4ed8\u5e33\u6b3e": {
- "2141-\u61c9\u4ed8\u5e33\u6b3e": {
- "account_type": "Payable"
- },
- "account_type": "Payable"
- },
- "216-\u61c9\u4ed8\u6240\u5f97\u7a05": {
- "2161-\u61c9\u4ed8\u6240\u5f97\u7a05": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "217-\u61c9\u4ed8\u8cbb\u7528": {
- "2171-\u61c9\u4ed8\u85aa\u5de5": {},
- "2172-\u61c9\u4ed8\u79df\u91d1": {},
- "2173-\u61c9\u4ed8\u5229\u606f": {},
- "2174-\u61c9\u4ed8\u71df\u696d\u7a05": {},
- "2175-\u61c9\u4ed8\u7a05\u6350 \u2014\u5176\u4ed6": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "2178-\u5176\u4ed6\u61c9\u4ed8\u8cbb\u7528": {}
- },
- "218~219-\u5176\u4ed6\u61c9\u4ed8\u6b3e": {
- "2184-\u61c9\u4ed8\u571f\u5730\u623f\u5c4b\u6b3e": {},
- "2185-\u61c9\u4ed8\u8a2d\u5099\u6b3e": {},
- "2192-\u61c9\u4ed8\u80a1\u5229": {}
- },
- "226-\u9810\u6536\u6b3e\u9805": {
- "2261-\u9810\u6536\u8ca8\u6b3e": {},
- "2262-\u9810\u6536\u6536\u5165": {},
- "2268-\u5176\u4ed6\u9810\u6536\u6b3e": {}
- },
- "227-\u4e00\u5e74\u6216\u4e00\u71df\u696d\u9031\u671f\u5167\u5230\u671f\u9577\u671f\u8ca0\u50b5": {
- "is_group": 1
- },
- "228~229-\u5176\u4ed6\u6d41\u52d5\u8ca0\u50b5": {
- "2281-\u92b7\u9805\u7a05\u984d": {},
- "2283-\u66ab\u6536\u6b3e ": {},
- "2284-\u4ee3\u6536\u6b3e": {},
- "2285-\u4f30\u8a08\u552e\u5f8c\u670d\u52d9/\u4fdd\u56fa\u8ca0\u50b5": {},
- "2291-\u905e\u5ef6\u6240\u5f97\u7a05\u8ca0\u50b5": {},
- "2292-\u905e\u5ef6\u514c\u63db\u5229\u76ca": {}
+ },
+ "account_number": "1",
+ "root_type": "Asset",
+ "\u5176\u4ed6\u8cc7\u7522": {
+ "account_number": "18",
+ "\u51fa\u79df\u8cc7\u7522": {
+ "account_number": "185",
+ "\u51fa\u79df\u8cc7\u7522": {
+ "account_number": "1851"
+ },
+ "\u51fa\u79df\u8cc7\u7522 \u2014\u91cd\u4f30\u589e\u503c": {
+ "account_number": "1858"
+ },
+ "\u7d2f\u7a4d\u6298\u820a \u2014\u51fa\u79df\u8cc7\u7522": {
+ "account_number": "1859",
+ "account_type": "Accumulated Depreciation"
+ }
+ },
+ "\u5b58\u51fa\u4fdd\u8b49\u91d1": {
+ "account_number": "186",
+ "\u5b58\u51fa\u4fdd\u8b49\u91d1": {
+ "account_number": "1861"
+ }
+ },
+ "\u905e\u5ef6\u8cc7\u7522": {
+ "account_number": "181",
+ "\u50b5\u5238\u767c\u884c\u6210\u672c": {
+ "account_number": "1811"
+ },
+ "\u5176\u4ed6\u905e\u5ef6\u8cc7\u7522": {
+ "account_number": "1818"
+ },
+ "\u905e\u5ef6\u6240\u5f97\u7a05\u8cc7\u7522": {
+ "account_number": "1814"
+ },
+ "\u9577\u671f\u9810\u4ed8\u4fdd\u96aa\u8cbb": {
+ "account_number": "1813"
+ },
+ "\u9577\u671f\u9810\u4ed8\u79df\u91d1": {
+ "account_number": "1812"
+ },
+ "\u9810\u4ed8\u9000\u4f11\u91d1": {
+ "account_number": "1815"
+ }
+ },
+ "\u9577\u671f\u61c9\u6536\u7968\u64da\u53ca\u6b3e\u9805\u8207\u50ac\u6536\u5e33\u6b3e": {
+ "account_number": "184",
+ "account_type": "Receivable",
+ "\u5099\u62b5\u5446\u5e33\u2014\u9577\u671f\u61c9\u6536\u7968\u64da\u53ca\u6b3e\u9805\u8207\u50ac\u6536\u5e33\u6b3e": {
+ "account_number": "1849",
+ "account_type": "Receivable"
+ },
+ "\u50ac\u6536\u5e33\u6b3e": {
+ "account_number": "1843",
+ "account_type": "Receivable"
+ },
+ "\u5176\u4ed6\u9577\u671f\u61c9\u6536\u6b3e\u9805": {
+ "account_number": "1848",
+ "account_type": "Receivable"
+ },
+ "\u9577\u671f\u61c9\u6536\u5e33\u6b3e": {
+ "account_number": "1842",
+ "account_type": "Receivable"
+ },
+ "\u9577\u671f\u61c9\u6536\u7968\u64da": {
+ "account_number": "1841",
+ "account_type": "Receivable"
+ }
+ },
+ "\u9592\u7f6e\u8cc7\u7522": {
+ "account_number": "182",
+ "\u9592\u7f6e\u8cc7\u7522": {
+ "account_number": "1821"
+ }
+ },
+ "\u96dc\u9805\u8cc7\u7522": {
+ "account_number": "188",
+ "\u53d7\u9650\u5236\u5b58\u6b3e": {
+ "account_number": "1881"
+ },
+ "\u96dc\u9805\u8cc7\u7522 \u2014\u5176\u4ed6": {
+ "account_number": "1888"
+ }
}
- },
- "23-\u9577\u671f\u8ca0\u50b5": {
- "231-\u61c9\u4ed8\u516c\u53f8\u50b5": {
- "2311-\u61c9\u4ed8\u516c\u53f8\u50b5": {},
- "2319-\u61c9\u4ed8\u516c\u53f8\u50b5\u6ea2(\u6298)\u50f9": {}
- },
- "232-\u9577\u671f\u501f\u6b3e": {
- "2321-\u9577\u671f\u9280\u884c\u501f\u6b3e": {},
- "2324-\u9577\u671f\u501f\u6b3e \u2014\u696d\u4e3b": {},
- "2325-\u9577\u671f\u501f\u6b3e \u2014\u54e1\u5de5": {},
- "2327-\u9577\u671f\u501f\u6b3e \u2014\u95dc\u4fc2\u4eba": {},
- "2328-\u9577\u671f\u501f\u6b3e \u2014\u5176\u4ed6": {}
- },
- "233-\u9577\u671f\u61c9\u4ed8\u7968\u64da\u53ca\u6b3e\u9805": {
- "2331-\u9577\u671f\u61c9\u4ed8\u7968\u64da": {
- "account_type": "Payable"
- },
- "2332-\u9577\u671f\u61c9\u4ed8\u5e33\u6b3e": {
- "account_type": "Payable"
- },
- "2333-\u9577\u671f\u61c9\u4ed8\u79df\u8cc3\u8ca0\u50b5": {
- "account_type": "Payable"
- },
- "account_type": "Payable"
- },
- "234-\u4f30\u8a08\u61c9\u4ed8\u571f\u5730\u589e\u503c\u7a05": {
- "2341-\u4f30\u8a08\u61c9\u4ed8\u571f\u5730\u589e\u503c\u7a05": {}
- },
- "235-\u61c9\u8a08\u9000\u4f11\u91d1\u8ca0\u50b5": {
- "2351-\u61c9\u8a08\u9000\u4f11\u91d1\u8ca0\u50b5": {}
- },
- "238-\u5176\u4ed6\u9577\u671f\u8ca0\u50b5": {
- "2388-\u5176\u4ed6\u9577\u671f\u8ca0\u50b5\u2014\u5176\u4ed6": {}
+ },
+ "\u56fa\u5b9a\u8cc7\u7522": {
+ "account_number": "14~15",
+ "account_type": "Fixed Asset",
+ "\u571f\u5730": {
+ "account_number": "141",
+ "account_type": "Fixed Asset",
+ "\u571f\u5730": {
+ "account_number": "1411",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u571f\u5730\u6539\u826f\u7269": {
+ "account_number": "142",
+ "account_type": "Fixed Asset",
+ "\u571f\u5730\u6539\u826f\u7269": {
+ "account_number": "1421",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u623f\u5c4b\u53ca\u5efa\u7269": {
+ "account_number": "143",
+ "account_type": "Fixed Asset",
+ "\u623f\u5c4b\u53ca\u5efa\u7269": {
+ "account_number": "1431",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u672a\u5b8c\u5de5\u7a0b\u53ca\u9810\u4ed8\u8cfc\u7f6e\u8a2d\u5099\u6b3e": {
+ "account_number": "156",
+ "account_type": "Fixed Asset",
+ "\u672a\u5b8c\u5de5\u7a0b": {
+ "account_number": "1561",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u6a5f(\u5668)\u5177\u53ca\u8a2d\u5099": {
+ "account_number": "144~146",
+ "account_type": "Fixed Asset",
+ "\u6a5f(\u5668)\u5177": {
+ "account_number": "1441",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u79df\u8cc3\u6b0a\u76ca\u6539\u826f": {
+ "account_number": "152",
+ "account_type": "Fixed Asset",
+ "\u79df\u8cc3\u6b0a\u76ca\u6539\u826f": {
+ "account_number": "1521",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u79df\u8cc3\u8cc7\u7522": {
+ "account_number": "151",
+ "account_type": "Fixed Asset",
+ "\u79df\u8cc3\u8cc7\u7522": {
+ "account_number": "1511",
+ "account_type": "Fixed Asset"
+ }
+ },
+ "\u96dc\u9805\u56fa\u5b9a\u8cc7\u7522": {
+ "account_number": "158",
+ "account_type": "Fixed Asset",
+ "\u96dc\u9805\u56fa\u5b9a\u8cc7\u7522": {
+ "account_number": "1581",
+ "account_type": "Fixed Asset"
+ }
}
- },
- "28-\u5176\u4ed6\u8ca0\u50b5": {
- "281-\u905e\u5ef6\u8ca0\u50b5": {
- "2811-\u905e\u5ef6\u6536\u5165": {},
- "2814-\u905e\u5ef6\u6240\u5f97\u7a05\u8ca0\u50b5": {},
- "2818-\u5176\u4ed6\u905e\u5ef6\u8ca0\u50b5": {}
- },
- "286-\u5b58\u5165\u4fdd\u8b49\u91d1": {
- "2861-\u5b58\u5165\u4fdd\u8b49\u91d1": {}
- },
- "288-\u96dc\u9805\u8ca0\u50b5": {
- "2888-\u96dc\u9805\u8ca0\u50b5 \u2014\u5176\u4ed6": {}
+ },
+ "\u57fa\u91d1\u53ca\u9577\u671f\u6295\u8cc7": {
+ "account_number": "13",
+ "\u57fa\u91d1": {
+ "account_number": "131",
+ "\u511f\u50b5\u57fa\u91d1": {
+ "account_number": "1311"
+ },
+ "\u5176\u4ed6\u57fa\u91d1": {
+ "account_number": "1318"
+ },
+ "\u610f\u5916\u640d\u5931\u6e96\u5099\u57fa\u91d1": {
+ "account_number": "1313"
+ },
+ "\u9000\u4f11\u57fa\u91d1": {
+ "account_number": "1314"
+ }
+ },
+ "\u9577\u671f\u6295\u8cc7": {
+ "account_number": "132",
+ "\u5176\u4ed6\u9577\u671f\u6295\u8cc7": {
+ "account_number": "1328"
+ },
+ "\u9577\u671f\u4e0d\u52d5\u7522\u6295\u8cc7": {
+ "account_number": "1323"
+ },
+ "\u9577\u671f\u50b5\u5238\u6295\u8cc7": {
+ "account_number": "1322"
+ },
+ "\u9577\u671f\u80a1\u6b0a\u6295\u8cc7": {
+ "account_number": "1321"
+ }
}
- },
- "Stock Received But Not Billed": {
- "account_type": "Stock Received But Not Billed"
- },
- "root_type": "Liability"
- },
- "3-\u696d\u4e3b\u6b0a\u76ca": {
- "31-\u8cc7\u672c": {
- "311-\u8cc7\u672c\uff08\u80a1\u672c\uff09 ": {
- "3111-\u666e\u901a\u80a1\u80a1\u672c": {},
- "3112-\u7279\u5225\u80a1\u80a1\u672c": {},
- "3113-\u9810\u6536\u80a1\u672c": {},
- "3114-\u5f85\u5206\u914d\u80a1\u7968\u80a1\u5229": {},
- "3115-\u8cc7\u672c": {}
+ },
+ "\u6d41\u52d5\u8cc7\u7522": {
+ "account_number": "11~12",
+ "\u5176\u4ed6\u61c9\u6536\u6b3e": {
+ "account_number": "118",
+ "account_type": "Receivable",
+ "\u5099\u62b5\u5446\u5e33 \u2014 \u5176\u4ed6\u61c9\u6536\u6b3e ": {
+ "account_number": "1189",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u6536\u76ca": {
+ "account_number": "1184",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u9000\u7a05\u6b3e": {
+ "account_number": "1185",
+ "account_type": "Receivable"
+ }
+ },
+ "\u5176\u4ed6\u6d41\u52d5\u8cc7\u7522": {
+ "account_number": "128~129",
+ "\u4ee3\u4ed8\u6b3e": {
+ "account_number": "1284"
+ },
+ "\u54e1\u5de5\u501f\u652f": {
+ "account_number": "1285"
+ },
+ "\u66ab\u4ed8\u6b3e": {
+ "account_number": "1283"
+ },
+ "\u7559\u62b5\u7a05\u984d": {
+ "account_number": "1282"
+ },
+ "\u9032\u9805\u7a05\u984d": {
+ "account_number": "1281"
+ }
+ },
+ "\u5b58\u8ca8": {
+ "account_number": "121~122",
+ "account_type": "Stock",
+ "is_group": 1,
+ "\u5099\u62b5\u5b58\u8ca8\u8dcc\u50f9\u640d\u5931": {
+ "account_number": "1229"
+ }
+ },
+ "\u61c9\u6536\u5e33\u6b3e": {
+ "account_number": "114",
+ "account_type": "Receivable",
+ "\u5099\u62b5\u5446\u5e33 \uff0d\u61c9\u6536\u5e33\u6b3e ": {
+ "account_number": "1149",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u5206\u671f\u5e33\u6b3e ": {
+ "account_number": "1142",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u5e33\u6b3e ": {
+ "account_number": "1141",
+ "account_type": "Receivable"
+ }
+ },
+ "\u61c9\u6536\u7968\u64da": {
+ "account_number": "113",
+ "account_type": "Receivable",
+ "\u5099\u62b5\u5446\u5e33 \uff0d\u61c9\u6536\u7968\u64da ": {
+ "account_number": "1139",
+ "account_type": "Receivable"
+ },
+ "\u5176\u4ed6\u61c9\u6536\u7968\u64da ": {
+ "account_number": "1138",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u7968\u64da": {
+ "account_number": "1131",
+ "account_type": "Receivable"
+ },
+ "\u61c9\u6536\u7968\u64da\u8cbc\u73fe ": {
+ "account_number": "1132",
+ "account_type": "Receivable"
+ }
+ },
+ "\u73fe\u91d1\u53ca\u7d04\u7576\u73fe\u91d1": {
+ "account_number": "111",
+ "account_type": "Cash",
+ "\u5176\u4ed6\u73fe\u91d1\u53ca\u7d04\u7576\u73fe\u91d1": {
+ "account_number": "1118",
+ "account_type": "Cash"
+ },
+ "\u5728\u9014\u73fe\u91d1": {
+ "account_number": "1116",
+ "account_type": "Cash"
+ },
+ "\u5eab\u5b58\u73fe\u91d1": {
+ "account_number": "1111",
+ "account_type": "Cash"
+ },
+ "\u7d04\u7576\u73fe\u91d1": {
+ "account_number": "1117",
+ "account_type": "Cash"
+ },
+ "\u9280\u884c\u5b58\u6b3e": {
+ "account_number": "1113",
+ "account_type": "Bank",
+ "\u4e2d\u570b\u4fe1\u8a17": {
+ "account_type": "Bank"
+ },
+ "\u53f0\u5317\u5bcc\u90a6": {
+ "account_type": "Bank"
+ }
+ },
+ "\u96f6\u7528\u91d1/\u9031\u8f49\u91d1": {
+ "account_number": "1112",
+ "account_type": "Cash"
+ }
+ },
+ "\u77ed\u671f\u6295\u8cc7": {
+ "account_number": "112",
+ "\u77ed\u671f\u6295\u8cc7 \u2014\u80a1\u7968": {
+ "account_number": "1121"
+ }
+ },
+ "\u9810\u4ed8\u6b3e\u9805": {
+ "account_number": "126",
+ "\u5176\u4ed6\u9810\u4ed8\u6b3e\u9805": {
+ "account_number": "1268"
+ },
+ "\u9810\u4ed8\u8ca8\u6b3e": {
+ "account_number": "1261"
+ }
+ },
+ "\u9810\u4ed8\u8cbb\u7528": {
+ "account_number": "125",
+ "\u5176\u4ed6\u9810\u4ed8\u8cbb\u7528": {
+ "account_number": "1258"
+ },
+ "\u7528\u54c1\u76e4\u5b58": {
+ "account_number": "1254"
+ },
+ "\u9810\u4ed8\u4fdd\u96aa\u8cbb": {
+ "account_number": "1253"
+ },
+ "\u9810\u4ed8\u6240\u5f97\u7a05": {
+ "account_number": "1255"
+ },
+ "\u9810\u4ed8\u79df\u91d1": {
+ "account_number": "1252"
+ },
+ "\u9810\u4ed8\u85aa\u8cc7": {
+ "account_number": "1251"
+ }
}
- },
- "32-\u8cc7\u672c\u516c\u7a4d": {
- "321-\u80a1\u7968\u6ea2\u50f9": {
- "3211-\u666e\u901a\u80a1\u80a1\u7968\u6ea2\u50f9": {},
- "3212-\u7279\u5225\u80a1\u80a1\u7968\u6ea2\u50f9": {}
- },
- "323-\u8cc7\u7522\u91cd\u4f30\u589e\u503c\u6e96\u5099": {
- "3231-\u8cc7\u7522\u91cd\u4f30\u589e\u503c\u6e96\u5099": {}
- },
- "324-\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u516c\u7a4d": {
- "3241-\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u516c\u7a4d": {}
- },
- "325-\u5408\u4f75\u516c\u7a4d": {
- "3251-\u5408\u4f75\u516c\u7a4d": {}
- },
- "326-\u53d7\u8d08\u516c\u7a4d": {
- "3261-\u53d7\u8d08\u516c\u7a4d": {}
- },
- "328-\u5176\u4ed6\u8cc7\u672c\u516c\u7a4d": {
- "3281-\u6b0a\u76ca\u6cd5\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u8cc7\u672c\u516c\u7a4d": {},
- "3282-\u8cc7\u672c\u516c\u7a4d\u2014 \u5eab\u85cf\u80a1\u7968\u4ea4\u6613": {}
+ },
+ "\u7121\u5f62\u8cc7\u7522": {
+ "account_number": "17",
+ "\u5176\u4ed6\u7121\u5f62\u8cc7\u7522": {
+ "account_number": "178",
+ "\u905e\u5ef6\u9000\u4f11\u91d1\u6210\u672c": {
+ "account_number": "1781"
+ }
+ },
+ "\u5546\u6a19\u6b0a": {
+ "account_number": "171",
+ "\u5546\u6a19\u6b0a": {
+ "account_number": "1711"
+ }
+ },
+ "\u5546\u8b7d": {
+ "account_number": "176",
+ "\u5546\u8b7d": {
+ "account_number": "1761"
+ }
+ },
+ "\u5c08\u5229\u6b0a": {
+ "account_number": "172",
+ "\u5c08\u5229\u6b0a": {
+ "account_number": "1721"
+ }
+ },
+ "\u958b\u8fa6\u8cbb": {
+ "account_number": "177",
+ "\u958b\u8fa6\u8cbb": {
+ "account_number": "1771"
+ }
}
- },
- "33-\u4fdd\u7559\u76c8\u9918(\u7d2f\u7a4d\u8667\u640d)": {
- "331-\u6cd5\u5b9a\u76c8\u9918\u516c\u7a4d": {
- "3311-\u6cd5\u5b9a\u76c8\u9918\u516c\u7a4d": {}
- },
- "332-\u7279\u5225\u76c8\u9918\u516c\u7a4d": {
- "3321-\u610f\u5916\u640d\u5931\u6e96\u5099": {},
- "3322-\u6539\u826f\u64f4\u5145\u6e96\u5099": {},
- "3323-\u511f\u50b5\u6e96\u5099": {},
- "3328-\u5176\u4ed6\u7279\u5225\u76c8\u9918\u516c\u7a4d": {}
- },
- "335-\u672a\u5206\u914d\u76c8\u9918(\u7d2f\u7a4d\u8667\u640d) ": {
+ },
+ "\u905e\u8017\u8cc7\u7522": {
+ "account_number": "16",
+ "\u905e\u8017\u8cc7\u7522": {
+ "account_number": "161",
"is_group": 1
}
- },
- "34-\u6b0a\u76ca\u8abf\u6574": {
- "341-\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {
- "3411-\u9577\u671f\u80a1\u6b0a\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {}
- },
- "342-\u7d2f\u7a4d\u63db\u7b97\u8abf\u6574\u6578": {
- "3421-\u7d2f\u7a4d\u63db\u7b97\u8abf\u6574\u6578": {}
- },
- "343-\u672a\u8a8d\u5217\u70ba\u9000\u4f11\u91d1\u6210\u672c\u4e4b\u6de8\u640d\u5931": {
- "3431-\u672a\u8a8d\u5217\u70ba\u9000\u4f11\u91d1\u6210\u672c\u4e4b\u6de8\u640d\u5931": {}
+ }
+ },
+ "\u975e\u7d93\u5e38\u71df\u696d\u640d\u76ca": {
+ "account_number": "9",
+ "root_type": "Expense",
+ "\u505c\u696d\u90e8\u9580\u640d\u76ca": {
+ "account_number": "91",
+ "\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u505c\u696d\u524d\u71df\u696d\u640d\u76ca": {
+ "account_number": "911",
+ "\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u505c\u696d\u524d\u71df\u696d\u640d\u76ca": {
+ "account_number": "9111"
+ }
+ },
+ "\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u8655\u5206\u640d\u76ca": {
+ "account_number": "912",
+ "\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u8655\u5206\u640d\u76ca": {
+ "account_number": "9121"
+ }
}
- },
- "35-\u5eab\u85cf\u80a1": {
- "351-\u5eab\u85cf\u80a1": {
- "3511-\u5eab\u85cf\u80a1": {}
+ },
+ "\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {
+ "account_number": "94",
+ "\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {
+ "account_number": "941",
+ "\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {
+ "account_number": "9411"
+ }
}
- },
- "36-\u5c11\u6578\u80a1\u6b0a": {
- "361-\u5c11\u6578\u80a1\u6b0a": {
- "3611-\u5c11\u6578\u80a1\u6b0a": {}
+ },
+ "\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {
+ "account_number": "93",
+ "\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {
+ "account_number": "931",
+ "\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {
+ "account_number": "9311"
+ }
}
- },
- "root_type": "Equity"
- },
- "4-\u71df\u696d\u6536\u5165": {
- "41-\u92b7\u8ca8\u6536\u5165": {
- "411-\u92b7\u8ca8\u6536\u5165": {
- "4111-\u92b7\u8ca8\u6536\u5165": {},
- "4112-\u5206\u671f\u4ed8\u6b3e\u92b7\u8ca8\u6536\u5165": {}
- },
- "417-\u92b7\u8ca8\u9000\u56de": {
- "4171-\u92b7\u8ca8\u9000\u56de": {}
- },
- "419-\u92b7\u8ca8\u6298\u8b93": {
- "4191-\u92b7\u8ca8\u6298\u8b93": {}
+ },
+ "\u975e\u5e38\u640d\u76ca": {
+ "account_number": "92",
+ "\u975e\u5e38\u640d\u76ca": {
+ "account_number": "921",
+ "\u975e\u5e38\u640d\u76ca": {
+ "account_number": "9211"
+ }
}
- },
- "46-\u52de\u52d9\u6536\u5165": {
- "461-\u52de\u52d9\u6536\u5165": {
- "4611-\u52de\u52d9\u6536\u5165": {}
- }
- },
- "47-\u696d\u52d9\u6536\u5165": {
- "471-\u696d\u52d9\u6536\u5165": {
- "4711-\u696d\u52d9\u6536\u5165": {}
- }
- },
- "48-\u5176\u4ed6\u71df\u696d\u6536\u5165": {
- "488-\u5176\u4ed6\u71df\u696d\u6536\u5165\u2014\u5176\u4ed6": {
- "4888-\u5176\u4ed6\u71df\u696d\u6536\u5165\u2014\u5176\u4ed6": {}
- }
- },
- "root_type": "Income"
- },
- "5-\u71df\u696d\u6210\u672c": {
- "51-\u92b7\u8ca8\u6210\u672c": {
- "511-\u92b7\u8ca8\u6210\u672c": {
- "5111-\u92b7\u8ca8\u6210\u672c": {
- "account_type": "Cost of Goods Sold"
- },
- "5112-\u5206\u671f\u4ed8\u6b3e\u92b7\u8ca8\u6210\u672c": {
- "account_type": "Cost of Goods Sold"
- },
- "account_type": "Cost of Goods Sold"
- },
- "512-\u9032\u8ca8": {
- "5121-\u9032\u8ca8": {},
- "5122-\u9032\u8ca8\u8cbb\u7528": {},
- "5123-\u9032\u8ca8\u9000\u51fa": {},
- "5124-\u9032\u8ca8\u6298\u8b93": {}
- },
- "513-\u9032\u6599": {
- "5131-\u9032\u6599": {},
- "5132-\u9032\u6599\u8cbb\u7528": {},
- "5133-\u9032\u6599\u9000\u51fa": {},
- "5134-\u9032\u6599\u6298\u8b93": {}
- },
- "514-\u76f4\u63a5\u4eba\u5de5": {
- "5141-\u76f4\u63a5\u4eba\u5de5": {}
- },
- "515~518-\u88fd\u9020\u8cbb\u7528": {
- "5151-\u9593\u63a5\u4eba\u5de5": {},
- "5152-\u79df\u91d1\u652f\u51fa": {},
- "5153-\u6587\u5177\u7528\u54c1": {},
- "5154-\u65c5\u8cbb": {},
- "5155-\u904b\u8cbb": {},
- "5156-\u90f5\u96fb\u8cbb": {},
- "5157-\u4fee\u7e55\u8cbb": {},
- "5158-\u5305\u88dd\u8cbb": {},
- "5161-\u6c34\u96fb\u74e6\u65af\u8cbb": {},
- "5162-\u4fdd\u96aa\u8cbb": {},
- "5163-\u52a0\u5de5\u8cbb": {},
- "5166-\u7a05\u6350": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "5168-\u6298\u820a ": {
- "account_type": "Depreciation"
- },
- "5169-\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {},
- "5172-\u4f19\u98df\u8cbb": {},
- "5173-\u8077\u5de5\u798f\u5229": {},
- "5176-\u8a13\u7df4\u8cbb": {},
- "5177-\u9593\u63a5\u6750\u6599": {},
- "5188-\u5176\u4ed6\u88fd\u9020\u8cbb\u7528": {}
- },
- "Expenses Included In Valuation": {
- "account_type": "Expenses Included In Valuation"
- },
- "account_type": "Cost of Goods Sold"
- },
- "56-\u52de\u52d9\u6210\u672c\u88fd": {
- "561-\u52de\u52d9\u6210\u672c": {
- "5611-\u52de\u52d9\u6210\u672c": {}
- }
- },
- "57-\u696d\u52d9\u6210\u672c": {
- "571-\u696d\u52d9\u6210\u672c": {
- "5711-\u696d\u52d9\u6210\u672c": {}
- }
- },
- "58-\u5176\u4ed6\u71df\u696d\u6210\u672c": {
- "588-\u5176\u4ed6\u71df\u696d\u6210\u672c\u2014\u5176\u4ed6 ": {
- "5888-\u5176\u4ed6\u71df\u696d\u6210\u672c\u2014\u5176\u4ed6": {}
- }
- },
- "Stock Adjustment": {
- "account_type": "Stock Adjustment"
- },
- "root_type": "Expense"
- },
- "6-\u71df\u696d\u8cbb\u7528": {
- "61-\u63a8\u92b7\u8cbb\u7528": {
- "615~618-\u63a8\u92b7\u8cbb\u7528": {
- "6151-\u85aa\u8cc7\u652f\u51fa": {},
- "6152-\u79df\u91d1\u652f\u51fa": {},
- "6153-\u6587\u5177\u7528\u54c1": {},
- "6154-\u65c5\u8cbb": {},
- "6155-\u904b\u8cbb": {},
- "6156-\u90f5\u96fb\u8cbb": {},
- "6157-\u4fee\u7e55\u8cbb": {},
- "6159-\u5ee3\u544a\u8cbb": {},
- "6161-\u6c34\u96fb\u74e6\u65af\u8cbb": {},
- "6162-\u4fdd\u96aa\u8cbb": {},
- "6164-\u4ea4\u969b\u8cbb": {},
- "6165-\u6350\u8d08": {},
- "6166-\u7a05\u6350": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "6167-\u5446\u5e33\u640d\u5931": {},
- "6168-\u6298\u820a ": {
- "account_type": "Depreciation"
- },
- "6169-\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {},
- "6172-\u4f19\u98df\u8cbb": {},
- "6173-\u8077\u5de5\u798f\u5229": {},
- "6175-\u4f63\u91d1\u652f\u51fa": {},
- "6176-\u8a13\u7df4\u8cbb": {},
- "6188-\u5176\u4ed6\u63a8\u92b7\u8cbb\u7528": {}
- }
- },
- "62-\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {
- "625~628-\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {
- "6251-\u85aa\u8cc7\u652f\u51fa": {},
- "6252-\u79df\u91d1\u652f\u51fa": {},
- "6253-\u6587\u5177\u7528\u54c1": {},
- "6254-\u65c5\u8cbb": {},
- "6255-\u904b\u8cbb": {},
- "6256-\u90f5\u96fb\u8cbb": {},
- "6257-\u4fee\u7e55\u8cbb": {},
- "6259-\u5ee3\u544a\u8cbb": {},
- "6261-\u6c34\u96fb\u74e6\u65af\u8cbb": {},
- "6262-\u4fdd\u96aa\u8cbb": {},
- "6264-\u4ea4\u969b\u8cbb": {},
- "6265-\u6350\u8d08": {},
- "6266-\u7a05\u6350": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "6267-\u5446\u5e33\u640d\u5931": {},
- "6268-\u6298\u820a": {
- "account_type": "Depreciation"
- },
- "6269-\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {},
- "6271-\u5916\u92b7\u640d\u5931": {},
- "6272-\u4f19\u98df\u8cbb": {},
- "6273-\u8077\u5de5\u798f\u5229": {},
- "6274-\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {},
- "6275-\u4f63\u91d1\u652f\u51fa": {},
- "6276-\u8a13\u7df4\u8cbb": {},
- "6278-\u52de\u52d9\u8cbb": {},
- "6288-\u5176\u4ed6\u7ba1\u7406\u53ca\u7e3d\u52d9\u8cbb\u7528": {}
- }
- },
- "63-\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
- "635~638-\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {
- "6351-\u85aa\u8cc7\u652f\u51fa": {},
- "6352-\u79df\u91d1\u652f\u51fa": {},
- "6353-\u6587\u5177\u7528\u54c1": {},
- "6354-\u65c5\u8cbb": {},
- "6355-\u904b\u8cbb": {},
- "6356-\u90f5\u96fb\u8cbb": {},
- "6357-\u4fee\u7e55\u8cbb": {},
- "6361-\u6c34\u96fb\u74e6\u65af\u8cbb": {},
- "6362-\u4fdd\u96aa\u8cbb": {},
- "6364-\u4ea4\u969b\u8cbb": {},
- "6366-\u7a05\u6350": {
- "account_type": "Tax",
- "tax_rate": 5.0
- },
- "6368-\u6298\u820a": {
- "account_type": "Depreciation"
- },
- "6369-\u5404\u9805\u8017\u7aed\u53ca\u6524\u63d0": {},
- "6372-\u4f19\u98df\u8cbb": {},
- "6373-\u8077\u5de5\u798f\u5229": {},
- "6376-\u8a13\u7df4\u8cbb": {},
- "6378-\u5176\u4ed6\u7814\u7a76\u767c\u5c55\u8cbb\u7528": {}
- }
- },
- "root_type": "Expense"
- },
- "7-\u71df\u696d\u5916\u6536\u5165\u53ca\u8cbb\u7528": {
- "71~74-\u71df\u696d\u5916\u6536\u5165": {
- "711-\u5229\u606f\u6536\u5165": {
- "7111-\u5229\u606f\u6536\u5165": {}
- },
- "712-\u6295\u8cc7\u6536\u76ca": {
- "7121-\u6b0a\u76ca\u6cd5\u8a8d\u5217\u4e4b\u6295\u8cc7\u6536\u76ca": {},
- "7122-\u80a1\u5229\u6536\u5165": {},
- "7123-\u77ed\u671f\u6295\u8cc7\u5e02\u50f9\u56de\u5347\u5229\u76ca": {}
- },
- "713-\u514c\u63db\u5229\u76ca": {
- "7131-\u514c\u63db\u5229\u76ca": {}
- },
- "714-\u8655\u5206\u6295\u8cc7\u6536\u76ca": {
- "7141-\u8655\u5206\u6295\u8cc7\u6536\u76ca": {}
- },
- "715-\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u6536\u5165": {
- "7151-\u8655\u5206\u8cc7\u7522\u6ea2\u50f9\u6536\u5165": {}
- },
- "748-\u5176\u4ed6\u71df\u696d\u5916\u6536\u5165": {
- "7481-\u6350\u8d08\u6536\u5165": {},
- "7482-\u79df\u91d1\u6536\u5165": {},
- "7483-\u4f63\u91d1\u6536\u5165": {},
- "7484-\u51fa\u552e\u4e0b\u8173\u53ca\u5ee2\u6599\u6536\u5165": {},
- "7485-\u5b58\u8ca8\u76e4\u76c8": {},
- "7486-\u5b58\u8ca8\u8dcc\u50f9\u56de\u5347\u5229\u76ca": {},
- "7487-\u58de\u5e33\u8f49\u56de\u5229\u76ca": {},
- "7488-\u5176\u4ed6\u71df\u696d\u5916\u6536\u5165\u2014\u5176\u4ed6": {}
- }
- },
- "75~78-\u71df\u696d\u5916\u8cbb\u7528": {
- "751-\u5229\u606f\u8cbb\u7528": {
- "7511-\u5229\u606f\u8cbb\u7528": {}
- },
- "752-\u6295\u8cc7\u640d\u5931": {
- "7521-\u6b0a\u76ca\u6cd5\u8a8d\u5217\u4e4b\u6295\u8cc7\u640d\u5931": {},
- "7523-\u77ed\u671f\u6295\u8cc7\u672a\u5be6\u73fe\u8dcc\u50f9\u640d\u5931": {}
- },
- "753-\u514c\u63db\u640d\u5931": {
- "7531-\u514c\u63db\u640d\u5931": {}
- },
- "754-\u8655\u5206\u6295\u8cc7\u640d\u5931": {
- "7541-\u8655\u5206\u6295\u8cc7\u640d\u5931": {}
- },
- "755-\u8655\u5206\u8cc7\u7522\u640d\u5931": {
- "7551-\u8655\u5206\u8cc7\u7522\u640d\u5931 ": {}
- },
- "788-\u5176\u4ed6\u71df\u696d\u5916\u8cbb\u7528": {
- "7881-\u505c\u5de5\u640d\u5931": {},
- "7882-\u707d\u5bb3\u640d\u5931": {},
- "7885-\u5b58\u8ca8\u76e4\u640d": {},
- "7886-\u5b58\u8ca8\u8dcc\u50f9\u53ca\u5446\u6eef\u640d\u5931": {},
- "7888-\u5176\u4ed6\u71df\u696d\u5916\u8cbb\u7528\u2014\u5176\u4ed6": {}
- }
- },
- "root_type": "Income"
- },
- "8-\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca)": {
- "81-\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca)": {
- "811-\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca) ": {
- "8111-\u6240\u5f97\u7a05\u8cbb\u7528(\u5229\u76ca) ": {}
- }
- },
- "root_type": "Expense"
- },
- "9-\u975e\u7d93\u5e38\u71df\u696d\u640d\u76ca": {
- "91-\u505c\u696d\u90e8\u9580\u640d\u76ca": {
- "911-\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u505c\u696d\u524d\u71df\u696d\u640d\u76ca": {
- "9111-\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u505c\u696d\u524d\u71df\u696d\u640d\u76ca": {}
- },
- "912-\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u8655\u5206\u640d\u76ca": {
- "9121-\u505c\u696d\u90e8\u9580\u640d\u76ca\u2014\u8655\u5206\u640d\u76ca": {}
- }
- },
- "92-\u975e\u5e38\u640d\u76ca": {
- "921-\u975e\u5e38\u640d\u76ca": {
- "9211-\u975e\u5e38\u640d\u76ca": {}
- }
- },
- "93-\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {
- "931-\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {
- "9311-\u6703\u8a08\u539f\u5247\u8b8a\u52d5\u7d2f\u7a4d\u5f71\u97ff\u6578": {}
- }
- },
- "94-\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {
- "941-\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {
- "9411-\u5c11\u6578\u80a1\u6b0a\u6de8\u5229": {}
- }
- },
- "root_type": "Expense"
+ }
}
}
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/account/test_account.py b/erpnext/accounts/doctype/account/test_account.py
index c60944315e8..680f6e3ea97 100644
--- a/erpnext/accounts/doctype/account/test_account.py
+++ b/erpnext/accounts/doctype/account/test_account.py
@@ -2,9 +2,40 @@
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
+import unittest
import frappe
from erpnext.stock import get_warehouse_account, get_company_default_inventory_account
+class TestAccount(unittest.TestCase):
+ def test_rename_account(self):
+ if not frappe.db.exists("Account", "1210 - Debtors - _TC"):
+ acc = frappe.new_doc("Account")
+ acc.account_name = "Debtors"
+ acc.parent_account = "Accounts Receivable - _TC"
+ acc.account_number = "1210"
+ acc.company = "_Test Company"
+ acc.insert()
+
+ account_number, account_name = frappe.db.get_value("Account", "1210 - Debtors - _TC",
+ ["account_number", "account_name"])
+ self.assertEqual(account_number, "1210")
+ self.assertEqual(account_name, "Debtors")
+
+ frappe.rename_doc("Account", "1210 - Debtors - _TC", "1211 - Debtors 1 - _TC")
+
+ new_acc = frappe.db.get_value("Account", "1211 - Debtors 1 - _TC",
+ ["account_name", "account_number"], as_dict=1)
+ self.assertEqual(new_acc.account_name, "Debtors 1")
+ self.assertEqual(new_acc.account_number, "1211")
+
+ frappe.rename_doc("Account", "1211 - Debtors 1 - _TC", "Debtors 2")
+
+ new_acc = frappe.db.get_value("Account", "1211 - Debtors 2 - _TC",
+ ["account_name", "account_number"], as_dict=1)
+ self.assertEqual(new_acc.account_name, "Debtors 2")
+ self.assertEqual(new_acc.account_number, "1211")
+
+ frappe.delete_doc("Account", "1211 - Debtors 2 - _TC")
def _make_test_records(verbose):
from frappe.test_runner import make_test_objects
diff --git a/erpnext/accounts/doctype/account/test_account.js b/erpnext/accounts/doctype/account/tests/test_account.js
similarity index 100%
rename from erpnext/accounts/doctype/account/test_account.js
rename to erpnext/accounts/doctype/account/tests/test_account.js
diff --git a/erpnext/accounts/doctype/account/tests/test_account_with_number.js b/erpnext/accounts/doctype/account/tests/test_account_with_number.js
new file mode 100644
index 00000000000..dd30eb7266a
--- /dev/null
+++ b/erpnext/accounts/doctype/account/tests/test_account_with_number.js
@@ -0,0 +1,69 @@
+QUnit.module('accounts');
+
+QUnit.test("test account with number", function(assert) {
+ assert.expect(7);
+ let done = assert.async();
+ frappe.run_serially([
+ () => frappe.set_route('Tree', 'Account'),
+ () => frappe.click_link('Income'),
+ () => frappe.click_button('Add Child'),
+ () => frappe.timeout(.5),
+ () => {
+ cur_dialog.fields_dict.account_name.$input.val("Test Income");
+ cur_dialog.fields_dict.account_number.$input.val("4010");
+ },
+ () => frappe.click_button('Create New'),
+ () => frappe.timeout(1),
+ () => {
+ assert.ok($('a:contains("4010 - Test Income"):visible').length!=0, "Account created with number");
+ },
+ () => frappe.click_link('4010 - Test Income'),
+ () => frappe.click_button('Edit'),
+ () => frappe.timeout(.5),
+ () => frappe.click_button('Update Account Number'),
+ () => frappe.timeout(.5),
+ () => {
+ cur_dialog.fields_dict.account_number.$input.val("4020");
+ },
+ () => frappe.timeout(1),
+ () => cur_dialog.primary_action(),
+ () => frappe.timeout(1),
+ () => cur_frm.refresh_fields(),
+ () => frappe.timeout(.5),
+ () => {
+ var abbr = frappe.get_abbr(frappe.defaults.get_default("Company"));
+ var new_account = "4020 - Test Income - " + abbr;
+ assert.ok(cur_frm.doc.name==new_account, "Account renamed");
+ assert.ok(cur_frm.doc.account_name=="Test Income", "account name remained same");
+ assert.ok(cur_frm.doc.account_number=="4020", "Account number updated to 4020");
+ },
+ () => frappe.timeout(1),
+ () => frappe.click_button('Menu'),
+ () => frappe.click_link('Rename'),
+ () => frappe.timeout(.5),
+ () => {
+ cur_dialog.fields_dict.new_name.$input.val("4030 - Test Income");
+ },
+ () => frappe.timeout(.5),
+ () => frappe.click_button("Rename"),
+ () => frappe.timeout(1),
+ () => {
+ assert.ok(cur_frm.doc.account_name=="Test Income", "account name remained same");
+ assert.ok(cur_frm.doc.account_number=="4030", "Account number updated to 4030");
+ },
+ () => frappe.timeout(.5),
+ () => frappe.click_button('Chart of Accounts'),
+ () => frappe.timeout(.5),
+ () => frappe.click_button('Menu'),
+ () => frappe.click_link('Refresh'),
+ () => frappe.click_button('Expand All'),
+ () => frappe.click_link('4030 - Test Income'),
+ () => frappe.click_button('Delete'),
+ () => frappe.click_button('Yes'),
+ () => frappe.timeout(.5),
+ () => {
+ assert.ok($('a:contains("4030 - Test Account"):visible').length==0, "Account deleted");
+ },
+ () => done()
+ ]);
+});
diff --git a/erpnext/accounts/doctype/account/test_make_tax_account.js b/erpnext/accounts/doctype/account/tests/test_make_tax_account.js
similarity index 100%
rename from erpnext/accounts/doctype/account/test_make_tax_account.js
rename to erpnext/accounts/doctype/account/tests/test_make_tax_account.js
diff --git a/erpnext/accounts/doctype/gl_entry/gl_entry.json b/erpnext/accounts/doctype/gl_entry/gl_entry.json
index 76e66d0906b..e27eaabedcc 100644
--- a/erpnext/accounts/doctype/gl_entry/gl_entry.json
+++ b/erpnext/accounts/doctype/gl_entry/gl_entry.json
@@ -74,6 +74,36 @@
"set_only_once": 0,
"unique": 0
},
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "due_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Due Date",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
"allow_on_submit": 0,
@@ -718,7 +748,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2017-08-03 12:40:09.611951",
+ "modified": "2017-08-10 18:06:44.904081",
"modified_by": "Administrator",
"module": "Accounts",
"name": "GL Entry",
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js
index 9047a4edccf..4ce68865bea 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.js
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js
@@ -185,8 +185,39 @@ erpnext.accounts.JournalEntry = frappe.ui.form.Controller.extend({
})
},
+ due_date_options_cache: {},
+
reference_name: function(doc, cdt, cdn) {
var d = frappe.get_doc(cdt, cdn);
+ var me = this;
+
+ const get_invoice_due_dates = invoice_name => {
+ const options = this.due_date_options_cache[invoice_name];
+ const input = $(cur_frm.fields_dict["accounts"].wrapper).find("select[data-fieldname=reference_due_date]");
+
+ if (options) {
+ input.empty();
+ input.add_options(options);
+ frappe.model.set_value(cdt, cdn, "reference_due_date", options[0]);
+ }
+ else {
+ frappe.call({
+ method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_invoice_due_dates",
+ args: {name: invoice_name},
+ callback: function(r) {
+ const options = [];
+ $.each(r.message, function(key, value) {
+ options.push(value.due_date);
+ });
+ input.empty();
+ input.add_options(options);
+ frappe.model.set_value(cdt, cdn, "reference_due_date", options[0]);
+ me.due_date_options_cache[d.reference_name] = options;
+ }
+ });
+ }
+ }
+
if(d.reference_name) {
if (d.reference_type==="Purchase Invoice" && !flt(d.debit)) {
this.get_outstanding('Purchase Invoice', d.reference_name, doc.company, d);
@@ -197,6 +228,9 @@ erpnext.accounts.JournalEntry = frappe.ui.form.Controller.extend({
if (d.reference_type==="Journal Entry" && !flt(d.credit) && !flt(d.debit)) {
this.get_outstanding('Journal Entry', d.reference_name, doc.company, d);
}
+ if( in_list(["Sales Invoice", "Purchase Invoice"]), d.reference_type) {
+ get_invoice_due_dates(d.reference_name);
+ }
}
},
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py
index cc356529ab1..f010e67b998 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.py
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -436,7 +436,8 @@ class JournalEntry(AccountsController):
"against_voucher": d.reference_name,
"remarks": self.remark,
"cost_center": d.cost_center,
- "project": d.project
+ "project": d.project,
+ "due_date": d.reference_due_date
})
)
@@ -898,3 +899,14 @@ def get_average_exchange_rate(account):
exchange_rate = bank_balance_in_company_currency / bank_balance_in_account_currency
return exchange_rate
+
+
+@frappe.whitelist()
+def get_invoice_due_dates(name):
+ result = frappe.get_list(
+ doctype='GL Entry', group_by='name, due_date',
+ filters={'voucher_no': name, "ifnull(due_date, '')": ('!=', '')},
+ fields=['due_date'], distinct=True
+ )
+
+ return result
diff --git a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json
index 54af579adb4..48d5ed2ca9e 100644
--- a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json
+++ b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json
@@ -1,5 +1,6 @@
{
"allow_copy": 0,
+ "allow_guest_to_view": 0,
"allow_import": 0,
"allow_rename": 0,
"autoname": "hash",
@@ -13,6 +14,7 @@
"engine": "InnoDB",
"fields": [
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 1,
"collapsible": 0,
@@ -46,6 +48,7 @@
"width": "250px"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -75,6 +78,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -106,6 +110,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -141,6 +146,7 @@
"width": "180px"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -168,6 +174,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -197,6 +204,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -226,6 +234,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -256,6 +265,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -287,6 +297,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -317,6 +328,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -345,6 +357,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -374,6 +387,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -402,6 +416,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 1,
"collapsible": 0,
@@ -432,6 +447,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 1,
"collapsible": 0,
@@ -464,6 +480,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -491,6 +508,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 1,
"collapsible": 0,
@@ -521,6 +539,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 1,
"collapsible": 0,
@@ -553,6 +572,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -581,6 +601,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -611,6 +632,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -641,6 +663,39 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:doc.reference_type&&!in_list(doc.reference_type, ['Expense Claim', 'Asset', 'Employee Loan'])",
+ "fieldname": "reference_due_date",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Reference Due Date",
+ "length": 0,
+ "no_copy": 0,
+ "options": "",
+ "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_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -671,6 +726,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -698,6 +754,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -729,6 +786,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -759,17 +817,17 @@
"unique": 0
}
],
+ "has_web_view": 0,
"hide_heading": 0,
"hide_toolbar": 0,
"idx": 1,
"image_view": 0,
"in_create": 0,
- "in_dialog": 0,
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"max_attachments": 0,
- "modified": "2017-03-02 05:02:10.102039",
+ "modified": "2017-08-30 08:44:54.295493",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Journal Entry Account",
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js
index c5e03064862..d8995a9d98a 100644
--- a/erpnext/accounts/doctype/payment_entry/payment_entry.js
+++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js
@@ -253,20 +253,24 @@ frappe.ui.form.on('Payment Entry', {
},
callback: function(r, rt) {
if(r.message) {
- if(frm.doc.payment_type == "Receive") {
- frm.set_value("paid_from", r.message.party_account);
- frm.set_value("paid_from_account_currency", r.message.party_account_currency);
- frm.set_value("paid_from_account_balance", r.message.account_balance);
- } else if (frm.doc.payment_type == "Pay"){
- frm.set_value("paid_to", r.message.party_account);
- frm.set_value("paid_to_account_currency", r.message.party_account_currency);
- frm.set_value("paid_to_account_balance", r.message.account_balance);
- }
- frm.set_value("party_balance", r.message.party_balance);
- frm.events.get_outstanding_documents(frm);
- frm.events.hide_unhide_fields(frm);
- frm.events.set_dynamic_labels(frm);
- frm.set_party_account_based_on_party = false;
+ frappe.run_serially([
+ () => {
+ if(frm.doc.payment_type == "Receive") {
+ frm.set_value("paid_from", r.message.party_account);
+ frm.set_value("paid_from_account_currency", r.message.party_account_currency);
+ frm.set_value("paid_from_account_balance", r.message.account_balance);
+ } else if (frm.doc.payment_type == "Pay"){
+ frm.set_value("paid_to", r.message.party_account);
+ frm.set_value("paid_to_account_currency", r.message.party_account_currency);
+ frm.set_value("paid_to_account_balance", r.message.account_balance);
+ }
+ },
+ () => frm.set_value("party_balance", r.message.party_balance),
+ () => frm.events.get_outstanding_documents(frm),
+ () => frm.events.hide_unhide_fields(frm),
+ () => frm.events.set_dynamic_labels(frm),
+ () => { frm.set_party_account_based_on_party = false; }
+ ]);
}
}
});
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py
index 56bdfbaf4b6..36ff0ac381b 100644
--- a/erpnext/accounts/doctype/payment_entry/payment_entry.py
+++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py
@@ -8,14 +8,16 @@ from frappe import _, scrub, ValidationError
from frappe.utils import flt, comma_or, nowdate
from erpnext.accounts.utils import get_outstanding_invoices, get_account_currency, get_balance_on
from erpnext.accounts.party import get_party_account
-from erpnext.accounts.doctype.journal_entry.journal_entry \
- import get_average_exchange_rate, get_default_bank_cash_account
+from erpnext.accounts.doctype.journal_entry.journal_entry import get_default_bank_cash_account
from erpnext.setup.utils import get_exchange_rate
from erpnext.accounts.general_ledger import make_gl_entries
from erpnext.hr.doctype.expense_claim.expense_claim import update_reimbursed_amount
from erpnext.controllers.accounts_controller import AccountsController
-class InvalidPaymentEntry(ValidationError): pass
+
+class InvalidPaymentEntry(ValidationError):
+ pass
+
class PaymentEntry(AccountsController):
def setup_party_account_field(self):
@@ -69,10 +71,9 @@ class PaymentEntry(AccountsController):
def validate_duplicate_entry(self):
reference_names = []
for d in self.get("references"):
- if (d.reference_doctype, d.reference_name) in reference_names:
+ if (d.reference_doctype, d.reference_name, d.due_date) in reference_names:
frappe.throw(_("Row #{0}: Duplicate entry in References {1} {2}").format(d.idx, d.reference_doctype, d.reference_name))
- reference_names.append((d.reference_doctype, d.reference_name))
-
+ reference_names.append((d.reference_doctype, d.reference_name, d.due_date))
def validate_allocated_amount(self):
for d in self.get("references"):
@@ -80,7 +81,6 @@ class PaymentEntry(AccountsController):
if flt(d.allocated_amount) > flt(d.outstanding_amount):
frappe.throw(_("Row #{0}: Allocated Amount cannot be greater than outstanding amount.").format(d.idx))
-
def delink_advance_entry_references(self):
for reference in self.references:
if reference.reference_doctype in ("Sales Invoice", "Purchase Invoice"):
@@ -128,7 +128,6 @@ class PaymentEntry(AccountsController):
self.set_missing_ref_details()
-
def set_missing_ref_details(self):
for d in self.get("references"):
if d.allocated_amount:
@@ -295,7 +294,7 @@ class PaymentEntry(AccountsController):
def set_difference_amount(self):
base_unallocated_amount = flt(self.unallocated_amount) * (flt(self.source_exchange_rate)
- if self.payment_type=="Receive" else flt(self.target_exchange_rate))
+ if self.payment_type == "Receive" else flt(self.target_exchange_rate))
base_party_amount = flt(self.base_total_allocated_amount) + flt(base_unallocated_amount)
@@ -413,7 +412,8 @@ class PaymentEntry(AccountsController):
gle = party_gl_dict.copy()
gle.update({
"against_voucher_type": d.reference_doctype,
- "against_voucher": d.reference_name
+ "against_voucher": d.reference_name,
+ "due_date": d.due_date
})
allocated_amount_in_company_currency = flt(flt(d.allocated_amount) * flt(d.exchange_rate),
@@ -505,12 +505,10 @@ def get_outstanding_reference_documents(args):
company_currency = frappe.db.get_value("Company", args.get("company"), "default_currency")
# Get negative outstanding sales /purchase invoices
- total_field = "base_grand_total" if party_account_currency == company_currency else "grand_total"
-
negative_outstanding_invoices = []
- if (args.get("party_type") != "Student"):
+ if args.get("party_type") not in ["Student", "Employee"]:
negative_outstanding_invoices = get_negative_outstanding_invoices(args.get("party_type"),
- args.get("party"), args.get("party_account"), total_field)
+ args.get("party"), args.get("party_account"), party_account_currency, company_currency)
# Get positive outstanding sales /purchase invoices/ Fees
outstanding_invoices = get_outstanding_invoices(args.get("party_type"), args.get("party"),
@@ -580,28 +578,34 @@ def get_orders_to_be_billed(posting_date, party_type, party, party_account_curre
return order_list
-def get_negative_outstanding_invoices(party_type, party, party_account, total_field):
- if party_type != "Employee":
- voucher_type = "Sales Invoice" if party_type == "Customer" else "Purchase Invoice"
- return frappe.db.sql("""
- select
- "{voucher_type}" as voucher_type, name as voucher_no,
- {total_field} as invoice_amount, outstanding_amount, posting_date,
- due_date, conversion_rate as exchange_rate
- from
- `tab{voucher_type}`
- where
- {party_type} = %s and {party_account} = %s and docstatus = 1 and outstanding_amount < 0
- order by
- posting_date, name
- """.format(**{
- "total_field": total_field,
- "voucher_type": voucher_type,
- "party_type": scrub(party_type),
- "party_account": "debit_to" if party_type=="Customer" else "credit_to"
- }), (party, party_account), as_dict = True)
+def get_negative_outstanding_invoices(party_type, party, party_account, party_account_currency, company_currency):
+ voucher_type = "Sales Invoice" if party_type == "Customer" else "Purchase Invoice"
+ if party_account_currency == company_currency:
+ grand_total_field = "base_grand_total"
+ rounded_total_field = "base_rounded_total"
else:
- return []
+ grand_total_field = "grand_total"
+ rounded_total_field = "rounded_total"
+
+ return frappe.db.sql("""
+ select
+ "{voucher_type}" as voucher_type, name as voucher_no,
+ if({rounded_total_field}, {rounded_total_field}, {grand_total_field}) as invoice_amount,
+ outstanding_amount, posting_date,
+ due_date, conversion_rate as exchange_rate
+ from
+ `tab{voucher_type}`
+ where
+ {party_type} = %s and {party_account} = %s and docstatus = 1 and outstanding_amount < 0
+ order by
+ posting_date, name
+ """.format(**{
+ "rounded_total_field": rounded_total_field,
+ "grand_total_field": grand_total_field,
+ "voucher_type": voucher_type,
+ "party_type": scrub(party_type),
+ "party_account": "debit_to" if party_type == "Customer" else "credit_to"
+ }), (party, party_account), as_dict=True)
@frappe.whitelist()
def get_party_details(company, party_type, party, date):
@@ -721,7 +725,10 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
if party_amount:
grand_total = outstanding_amount = party_amount
elif dt in ("Sales Invoice", "Purchase Invoice"):
- grand_total = doc.base_grand_total if party_account_currency == doc.company_currency else doc.grand_total
+ if party_account_currency == doc.company_currency:
+ grand_total = doc.base_rounded_total or doc.base_grand_total
+ else:
+ grand_total = doc.rounded_total or doc.grand_total
outstanding_amount = doc.outstanding_amount
elif dt in ("Expense Claim"):
grand_total = doc.total_sanctioned_amount
@@ -730,8 +737,10 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
grand_total = doc.grand_total
outstanding_amount = doc.outstanding_amount
else:
- total_field = "base_grand_total" if party_account_currency == doc.company_currency else "grand_total"
- grand_total = flt(doc.get(total_field))
+ if party_account_currency == doc.company_currency:
+ grand_total = flt(doc.get("base_rounded_total") or doc.base_grand_total)
+ else:
+ grand_total = flt(doc.get("rounded_total") or doc.grand_total)
outstanding_amount = grand_total - flt(doc.advance_paid)
# bank or cash
@@ -766,20 +775,51 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
pe.received_amount = received_amount
pe.allocate_payment_amount = 1
pe.letter_head = doc.get("letter_head")
+ args = {
+ 'party_account': party_account, 'company': pe.company, 'party_type': pe.party_type,
+ 'party': pe.party, 'posting_date': pe.posting_date
+ }
+ references = get_outstanding_reference_documents(args=args)
- pe.append("references", {
- "reference_doctype": dt,
- "reference_name": dn,
- "bill_no": doc.get("bill_no"),
- "due_date": doc.get("due_date"),
- "total_amount": grand_total,
- "outstanding_amount": outstanding_amount,
- "allocated_amount": outstanding_amount
- })
+ for reference in references:
+ if reference.voucher_no == dn:
+ allocated_amount = min(paid_amount, reference.outstanding_amount)
+ pe.append("references", {
+ 'reference_doctype': reference.voucher_type,
+ 'reference_name': reference.voucher_no,
+ 'due_date': reference.due_date,
+ 'total_amount': reference.invoice_amount,
+ 'outstanding_amount': reference.outstanding_amount,
+ 'allocated_amount': allocated_amount,
+ "bill_no": reference.get("bill_no")
+ })
+ if paid_amount:
+ paid_amount -= allocated_amount
pe.setup_party_account_field()
pe.set_missing_values()
if party_account and bank:
pe.set_exchange_rate()
pe.set_amounts()
- return pe
\ No newline at end of file
+ return pe
+
+
+def get_paid_amount(dt, dn, party_type, party, account, due_date):
+ if party_type=="Customer":
+ dr_or_cr = "credit_in_account_currency - debit_in_account_currency"
+ else:
+ dr_or_cr = "debit_in_account_currency - credit_in_account_currency"
+
+ paid_amount = frappe.db.sql("""
+ select ifnull(sum({dr_or_cr}), 0) as paid_amount
+ from `tabGL Entry`
+ where against_voucher_type = %s
+ and against_voucher = %s
+ and party_type = %s
+ and party = %s
+ and account = %s
+ and due_date = %s
+ and {dr_or_cr} > 0
+ """.format(dr_or_cr=dr_or_cr), (dt, dn, party_type, party, account, due_date))
+
+ return paid_amount[0][0] if paid_amount else 0
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
index 60be20dd89a..a3a78a33e7d 100644
--- a/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
+++ b/erpnext/accounts/doctype/payment_entry/test_payment_entry.py
@@ -14,6 +14,7 @@ from erpnext.hr.doctype.expense_claim.test_expense_claim import make_expense_cla
test_dependencies = ["Item"]
+
class TestPaymentEntry(unittest.TestCase):
def test_payment_entry_against_order(self):
so = make_sales_order()
@@ -40,7 +41,7 @@ class TestPaymentEntry(unittest.TestCase):
self.assertEqual(so_advance_paid, 0)
def test_payment_entry_against_si_usd_to_usd(self):
- si = create_sales_invoice(customer="_Test Customer USD", debit_to="_Test Receivable USD - _TC",
+ si = create_sales_invoice(customer="_Test Customer USD", debit_to="_Test Receivable USD - _TC",
currency="USD", conversion_rate=50)
pe = get_payment_entry("Sales Invoice", si.name, bank_account="_Test Bank USD - _TC")
pe.reference_no = "1"
@@ -65,8 +66,20 @@ class TestPaymentEntry(unittest.TestCase):
outstanding_amount = flt(frappe.db.get_value("Sales Invoice", si.name, "outstanding_amount"))
self.assertEqual(outstanding_amount, 100)
+ def test_payment_entry_against_si_multi_due_dates(self):
+ si = create_sales_invoice(do_not_save=1)
+ si.payment_terms_template = '_Test Payment Term Template'
+ si.insert()
+ si.submit()
+
+ pe = get_payment_entry(si.doctype, si.name)
+ pe.reference_no = "1"
+ pe.reference_date = "2016-01-01"
+ pe.insert()
+ pe.submit()
+
def test_payment_entry_against_pi(self):
- pi = make_purchase_invoice(supplier="_Test Supplier USD", debit_to="_Test Payable USD - _TC",
+ pi = make_purchase_invoice(supplier="_Test Supplier USD", debit_to="_Test Payable USD - _TC",
currency="USD", conversion_rate=50)
pe = get_payment_entry("Purchase Invoice", pi.name, bank_account="_Test Bank USD - _TC")
pe.reference_no = "1"
@@ -88,7 +101,7 @@ class TestPaymentEntry(unittest.TestCase):
def test_payment_entry_against_ec(self):
payable = frappe.db.get_value('Company', "_Test Company", 'default_payable_account')
- ec = make_expense_claim(payable, 300, 300, "_Test Company","Travel Expenses - _TC")
+ ec = make_expense_claim(payable, 300, 300, "_Test Company", "Travel Expenses - _TC")
pe = get_payment_entry("Expense Claim", ec.name, bank_account="_Test Bank USD - _TC", bank_amount=300)
pe.reference_no = "1"
pe.reference_date = "2016-01-01"
@@ -108,7 +121,7 @@ class TestPaymentEntry(unittest.TestCase):
self.assertEqual(outstanding_amount, 0)
def test_payment_entry_against_si_usd_to_inr(self):
- si = create_sales_invoice(customer="_Test Customer USD", debit_to="_Test Receivable USD - _TC",
+ si = create_sales_invoice(customer="_Test Customer USD", debit_to="_Test Receivable USD - _TC",
currency="USD", conversion_rate=50)
pe = get_payment_entry("Sales Invoice", si.name, party_amount=20,
bank_account="_Test Bank - _TC", bank_amount=900)
@@ -212,7 +225,7 @@ class TestPaymentEntry(unittest.TestCase):
self.assertRaises(InvalidPaymentEntry, pe1.validate)
- si1 = create_sales_invoice()
+ si1 = create_sales_invoice()
# create full payment entry against si1
pe2 = get_payment_entry("Sales Invoice", si1.name, bank_account="_Test Cash - _TC")
diff --git a/erpnext/docs/assets/img/schools/__init__.py b/erpnext/accounts/doctype/payment_schedule/__init__.py
similarity index 100%
rename from erpnext/docs/assets/img/schools/__init__.py
rename to erpnext/accounts/doctype/payment_schedule/__init__.py
diff --git a/erpnext/accounts/doctype/payment_schedule/payment_schedule.json b/erpnext/accounts/doctype/payment_schedule/payment_schedule.json
new file mode 100644
index 00000000000..854def0c732
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_schedule/payment_schedule.json
@@ -0,0 +1,197 @@
+{
+ "allow_copy": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 0,
+ "allow_rename": 0,
+ "autoname": "",
+ "beta": 0,
+ "creation": "2017-08-10 15:38:00.080575",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "fields": [
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "payment_term",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Payment Term",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Payment Term",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "description",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Description",
+ "length": 0,
+ "no_copy": 0,
+ "options": "payment_term.description",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "due_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Due Date",
+ "length": 0,
+ "no_copy": 0,
+ "options": "",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 1,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "invoice_portion",
+ "fieldtype": "Percent",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Invoice Portion",
+ "length": 0,
+ "no_copy": 0,
+ "options": "payment_term.invoice_portion",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "payment_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Payment Amount",
+ "length": 0,
+ "no_copy": 0,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 1,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ }
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "idx": 0,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 0,
+ "issingle": 0,
+ "istable": 1,
+ "max_attachments": 0,
+ "modified": "2017-11-23 12:39:02.013040",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Payment Schedule",
+ "name_case": "",
+ "owner": "Administrator",
+ "permissions": [],
+ "quick_entry": 1,
+ "read_only": 0,
+ "read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "track_changes": 1,
+ "track_seen": 0
+}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/payment_schedule/payment_schedule.py b/erpnext/accounts/doctype/payment_schedule/payment_schedule.py
new file mode 100644
index 00000000000..41740170f03
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_schedule/payment_schedule.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+# For license information, please see license.txt
+
+from __future__ import unicode_literals
+from frappe.model.document import Document
+
+
+class PaymentSchedule(Document):
+ pass
diff --git a/erpnext/docs/assets/img/schools/admission/__init__.py b/erpnext/accounts/doctype/payment_term/__init__.py
similarity index 100%
rename from erpnext/docs/assets/img/schools/admission/__init__.py
rename to erpnext/accounts/doctype/payment_term/__init__.py
diff --git a/erpnext/accounts/doctype/payment_term/payment_term.js b/erpnext/accounts/doctype/payment_term/payment_term.js
new file mode 100644
index 00000000000..054c2d11917
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/payment_term.js
@@ -0,0 +1,2 @@
+// Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+// For license information, please see license.txt
diff --git a/erpnext/accounts/doctype/payment_term/payment_term.json b/erpnext/accounts/doctype/payment_term/payment_term.json
new file mode 100644
index 00000000000..702319ba74d
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/payment_term.json
@@ -0,0 +1,344 @@
+{
+ "allow_copy": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 0,
+ "allow_rename": 0,
+ "autoname": "field:payment_term_name",
+ "beta": 0,
+ "creation": "2017-08-10 15:24:54.876365",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "fields": [
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "payment_term_name",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payment Term Name",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "invoice_portion",
+ "fieldtype": "Float",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Invoice Portion",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_3",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "due_date_based_on",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Due Date Based On",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Day(s) after invoice date\nDay(s) after the end of the invoice month\nMonth(s) after the end of the invoice month",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:in_list(['Day(s) after invoice date', 'Day(s) after the end of the invoice month'], doc.due_date_based_on)",
+ "fieldname": "credit_days",
+ "fieldtype": "Int",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Credit Days",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:doc.due_date_based_on=='Month(s) after the end of the invoice month'",
+ "fieldname": "credit_months",
+ "fieldtype": "Int",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Credit Months",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "section_break_6",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "description",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Description",
+ "length": 0,
+ "no_copy": 0,
+ "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
+ }
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "idx": 0,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 0,
+ "issingle": 0,
+ "istable": 0,
+ "max_attachments": 0,
+ "modified": "2017-08-10 16:26:03.581501",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Payment Term",
+ "name_case": "",
+ "owner": "Administrator",
+ "permissions": [
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "System Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts User",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ }
+ ],
+ "quick_entry": 1,
+ "read_only": 0,
+ "read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "track_changes": 1,
+ "track_seen": 0
+}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/payment_term/payment_term.py b/erpnext/accounts/doctype/payment_term/payment_term.py
new file mode 100644
index 00000000000..5d4df053fb2
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/payment_term.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+# For license information, please see license.txt
+
+from __future__ import unicode_literals
+from frappe.model.document import Document
+
+
+class PaymentTerm(Document):
+ pass
diff --git a/erpnext/accounts/doctype/payment_term/test_payment_term.js b/erpnext/accounts/doctype/payment_term/test_payment_term.js
new file mode 100644
index 00000000000..b26e42aa37d
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/test_payment_term.js
@@ -0,0 +1,23 @@
+/* eslint-disable */
+// rename this file from _test_[name] to test_[name] to activate
+// and remove above this line
+
+QUnit.test("test: Payment Term", function (assert) {
+ let done = assert.async();
+
+ // number of asserts
+ assert.expect(1);
+
+ frappe.run_serially([
+ // insert a new Payment Term
+ () => frappe.tests.make('Payment Term', [
+ // values to be set
+ {key: 'value'}
+ ]),
+ () => {
+ assert.equal(cur_frm.doc.key, 'value');
+ },
+ () => done()
+ ]);
+
+});
diff --git a/erpnext/accounts/doctype/payment_term/test_payment_term.py b/erpnext/accounts/doctype/payment_term/test_payment_term.py
new file mode 100644
index 00000000000..d9baa5907b9
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/test_payment_term.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and Contributors
+# See license.txt
+from __future__ import unicode_literals
+import unittest
+
+
+class TestPaymentTerm(unittest.TestCase):
+ pass
diff --git a/erpnext/accounts/doctype/payment_term/test_records.json b/erpnext/accounts/doctype/payment_term/test_records.json
new file mode 100644
index 00000000000..ef6e0693b3c
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_term/test_records.json
@@ -0,0 +1,34 @@
+[
+ {
+ "doctype":"Payment Term",
+ "due_date_based_on":"Day(s) after invoice date",
+ "payment_term_name":"_Test N30",
+ "description":"_Test Net 30 Days",
+ "invoice_portion":50,
+ "credit_days":30
+ },
+ {
+ "doctype":"Payment Term",
+ "due_date_based_on":"Day(s) after invoice date",
+ "payment_term_name":"_Test COD",
+ "description":"_Test Cash on Delivery",
+ "invoice_portion":50,
+ "credit_days":0
+ },
+ {
+ "doctype":"Payment Term",
+ "due_date_based_on":"Month(s) after the end of the invoice month",
+ "payment_term_name":"_Test EONM",
+ "description":"_Test End of Next Month",
+ "invoice_portion":100,
+ "credit_months":1
+ },
+ {
+ "doctype":"Payment Term",
+ "due_date_based_on":"Day(s) after invoice date",
+ "payment_term_name":"_Test N30 1",
+ "description":"_Test Net 30 Days",
+ "invoice_portion":100,
+ "credit_days":30
+ }
+]
\ No newline at end of file
diff --git a/erpnext/docs/assets/img/schools/assessment/__init__.py b/erpnext/accounts/doctype/payment_terms_template/__init__.py
similarity index 100%
rename from erpnext/docs/assets/img/schools/assessment/__init__.py
rename to erpnext/accounts/doctype/payment_terms_template/__init__.py
diff --git a/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.js b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.js
new file mode 100644
index 00000000000..558297fea76
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.js
@@ -0,0 +1,12 @@
+// Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+// For license information, please see license.txt
+
+frappe.ui.form.on('Payment Terms Template', {
+ setup: function(frm) {
+ frm.add_fetch("payment_term", "description", "description");
+ frm.add_fetch("payment_term", "invoice_portion", "invoice_portion");
+ frm.add_fetch("payment_term", "due_date_based_on", "due_date_based_on");
+ frm.add_fetch("payment_term", "credit_days", "credit_days");
+ frm.add_fetch("payment_term", "credit_months", "credit_months");
+ }
+});
diff --git a/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.json b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.json
new file mode 100644
index 00000000000..095965886d4
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.json
@@ -0,0 +1,164 @@
+{
+ "allow_copy": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 0,
+ "allow_rename": 0,
+ "autoname": "field:template_name",
+ "beta": 0,
+ "creation": "2017-08-10 15:34:28.058054",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "fields": [
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "template_name",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Template Name",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "terms",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payment Terms",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Payment Terms Template Detail",
+ "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
+ }
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "idx": 0,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 0,
+ "issingle": 0,
+ "istable": 0,
+ "max_attachments": 0,
+ "modified": "2017-08-10 15:46:33.877884",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Payment Terms Template",
+ "name_case": "",
+ "owner": "Administrator",
+ "permissions": [
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "System Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts User",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ }
+ ],
+ "quick_entry": 0,
+ "read_only": 0,
+ "read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "track_changes": 1,
+ "track_seen": 0
+}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.py b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.py
new file mode 100644
index 00000000000..7042df05942
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/payment_terms_template.py
@@ -0,0 +1,42 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+# For license information, please see license.txt
+
+from __future__ import unicode_literals
+
+import frappe
+from frappe.model.document import Document
+from frappe.utils import flt, cint
+from frappe import _
+
+
+class PaymentTermsTemplate(Document):
+ def validate(self):
+ self.validate_invoice_portion()
+ self.validate_credit_days()
+ self.check_duplicate_terms()
+
+ def validate_invoice_portion(self):
+ total_portion = 0
+ for term in self.terms:
+ total_portion += flt(term.get('invoice_portion', 0))
+
+ if flt(total_portion, 2) != 100.00:
+ frappe.msgprint(_('Combined invoice portion must equal 100%'), raise_exception=1, indicator='red')
+
+ def validate_credit_days(self):
+ for term in self.terms:
+ if cint(term.credit_days) < 0:
+ frappe.msgprint(_('Credit Days cannot be a negative number'), raise_exception=1, indicator='red')
+
+ def check_duplicate_terms(self):
+ terms = []
+ for term in self.terms:
+ term_info = (term.credit_days, term.due_date_based_on)
+ if term_info in terms:
+ frappe.msgprint(
+ _('The Payment Term at row {0} is possibly a duplicate.').format(term.idx),
+ raise_exception=1, indicator='red'
+ )
+ else:
+ terms.append(term_info)
diff --git a/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.js b/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.js
new file mode 100644
index 00000000000..494a0ed21fb
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.js
@@ -0,0 +1,23 @@
+/* eslint-disable */
+// rename this file from _test_[name] to test_[name] to activate
+// and remove above this line
+
+QUnit.test("test: Payment Terms Template", function (assert) {
+ let done = assert.async();
+
+ // number of asserts
+ assert.expect(1);
+
+ frappe.run_serially([
+ // insert a new Payment Terms Template
+ () => frappe.tests.make('Payment Terms Template', [
+ // values to be set
+ {key: 'value'}
+ ]),
+ () => {
+ assert.equal(cur_frm.doc.key, 'value');
+ },
+ () => done()
+ ]);
+
+});
diff --git a/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.py b/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.py
new file mode 100644
index 00000000000..6daaf1ed74e
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.py
@@ -0,0 +1,72 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and Contributors
+# See license.txt
+from __future__ import unicode_literals
+import unittest
+
+import frappe
+
+
+class TestPaymentTermsTemplate(unittest.TestCase):
+ def tearDown(self):
+ frappe.delete_doc('Payment Terms Template', '_Test Payment Terms Template For Test', force=1)
+
+ def test_create_template(self):
+ template = frappe.get_doc({
+ 'doctype': 'Payment Terms Template',
+ 'template_name': '_Test Payment Terms Template For Test',
+ 'terms': [{
+ 'doctype': 'Payment Terms Template Detail',
+ 'invoice_portion': 50.00,
+ 'credit_days_based_on': 'Day(s) after invoice date',
+ 'credit_days': 30
+ }]
+ })
+
+ self.assertRaises(frappe.ValidationError, template.insert)
+
+ template.append('terms', {
+ 'doctype': 'Payment Terms Template Detail',
+ 'invoice_portion': 50.00,
+ 'credit_days_based_on': 'Day(s) after invoice date',
+ 'credit_days': 0
+ })
+
+ template.insert()
+
+ def test_credit_days(self):
+ template = frappe.get_doc({
+ 'doctype': 'Payment Terms Template',
+ 'template_name': '_Test Payment Terms Template For Test',
+ 'terms': [{
+ 'doctype': 'Payment Terms Template Detail',
+ 'invoice_portion': 100.00,
+ 'credit_days_based_on': 'Day(s) after invoice date',
+ 'credit_days': -30
+ }]
+ })
+
+ self.assertRaises(frappe.ValidationError, template.insert)
+
+ def test_duplicate_terms(self):
+ template = frappe.get_doc({
+ 'doctype': 'Payment Terms Template',
+ 'template_name': '_Test Payment Terms Template For Test',
+ 'terms': [
+ {
+ 'doctype': 'Payment Terms Template Detail',
+ 'invoice_portion': 50.00,
+ 'credit_days_based_on': 'Day(s) after invoice date',
+ 'credit_days': 30
+ },
+ {
+ 'doctype': 'Payment Terms Template Detail',
+ 'invoice_portion': 50.00,
+ 'credit_days_based_on': 'Day(s) after invoice date',
+ 'credit_days': 30
+ }
+
+ ]
+ })
+
+ self.assertRaises(frappe.ValidationError, template.insert)
diff --git a/erpnext/accounts/doctype/payment_terms_template/test_records.json b/erpnext/accounts/doctype/payment_terms_template/test_records.json
new file mode 100644
index 00000000000..fea0b35c112
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template/test_records.json
@@ -0,0 +1,60 @@
+[
+ {
+ "doctype":"Payment Terms Template",
+ "terms":[
+ {
+ "doctype":"Payment Terms Template Detail",
+ "due_date_based_on":"Day(s) after invoice date",
+ "idx":1,
+ "description":"Cash on Delivery",
+ "invoice_portion":50,
+ "credit_days":0,
+ "credit_months":0,
+ "payment_term":"_Test COD"
+ },
+ {
+ "doctype":"Payment Terms Template Detail",
+ "due_date_based_on":"Day(s) after invoice date",
+ "idx":2,
+ "description":"Net 30 Days ",
+ "invoice_portion":50,
+ "credit_days":30,
+ "credit_months":0,
+ "payment_term":"_Test N30"
+ }
+ ],
+ "template_name":"_Test Payment Term Template"
+ },
+ {
+ "doctype":"Payment Terms Template",
+ "terms":[
+ {
+ "doctype":"Payment Terms Template Detail",
+ "due_date_based_on":"Month(s) after the end of the invoice month",
+ "idx":1,
+ "description":"_Test End of Next Months",
+ "invoice_portion":100,
+ "credit_days":0,
+ "credit_months":1,
+ "payment_term":"_Test EONM"
+ }
+ ],
+ "template_name":"_Test Payment Term Template 1"
+ },
+ {
+ "doctype":"Payment Terms Template",
+ "terms":[
+ {
+ "doctype":"Payment Terms Template Detail",
+ "due_date_based_on":"Day(s) after invoice date",
+ "idx":1,
+ "description":"_Test Net Within 30 days",
+ "invoice_portion":100,
+ "credit_days":30,
+ "credit_months":0,
+ "payment_term":"_Test N30 1"
+ }
+ ],
+ "template_name":"_Test Payment Term Template 3"
+ }
+]
\ No newline at end of file
diff --git a/erpnext/docs/assets/img/schools/fees/__init__.py b/erpnext/accounts/doctype/payment_terms_template_detail/__init__.py
similarity index 100%
rename from erpnext/docs/assets/img/schools/fees/__init__.py
rename to erpnext/accounts/doctype/payment_terms_template_detail/__init__.py
diff --git a/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json
new file mode 100644
index 00000000000..f808a0f8637
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json
@@ -0,0 +1,232 @@
+{
+ "allow_copy": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 0,
+ "allow_rename": 0,
+ "autoname": "PTTD.#####",
+ "beta": 0,
+ "creation": "2017-08-10 15:34:09.409562",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "fields": [
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "payment_term",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Payment Term",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Payment Term",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "description",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Description",
+ "length": 0,
+ "no_copy": 0,
+ "options": "",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "default": "0",
+ "fieldname": "invoice_portion",
+ "fieldtype": "Percent",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Invoice Portion",
+ "length": 0,
+ "no_copy": 0,
+ "options": "",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "fieldname": "due_date_based_on",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Due Date Based On",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Day(s) after invoice date\nDay(s) after the end of the invoice month\nMonth(s) after the end of the invoice month",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 2,
+ "default": "0",
+ "depends_on": "eval:in_list(['Day(s) after invoice date', 'Day(s) after the end of the invoice month'], doc.due_date_based_on)",
+ "fieldname": "credit_days",
+ "fieldtype": "Int",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Credit Days",
+ "length": 0,
+ "no_copy": 0,
+ "options": "",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "0",
+ "depends_on": "eval:doc.due_date_based_on=='Month(s) after the end of the invoice month'",
+ "fieldname": "credit_months",
+ "fieldtype": "Int",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Credit Months",
+ "length": 0,
+ "no_copy": 0,
+ "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
+ }
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "idx": 0,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 0,
+ "issingle": 0,
+ "istable": 1,
+ "max_attachments": 0,
+ "modified": "2017-09-26 05:21:51.738319",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Payment Terms Template Detail",
+ "name_case": "",
+ "owner": "Administrator",
+ "permissions": [],
+ "quick_entry": 1,
+ "read_only": 0,
+ "read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "track_changes": 1,
+ "track_seen": 0
+}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.py b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.py
new file mode 100644
index 00000000000..54c0fda0119
--- /dev/null
+++ b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
+# For license information, please see license.txt
+
+from __future__ import unicode_literals
+from frappe.model.document import Document
+
+
+class PaymentTermsTemplateDetail(Document):
+ pass
diff --git a/erpnext/accounts/doctype/pos_profile/pos_profile.js b/erpnext/accounts/doctype/pos_profile/pos_profile.js
index cb52627cf0d..25aff13693b 100755
--- a/erpnext/accounts/doctype/pos_profile/pos_profile.js
+++ b/erpnext/accounts/doctype/pos_profile/pos_profile.js
@@ -24,11 +24,11 @@ frappe.ui.form.on("POS Profile", "onload", function(frm) {
frappe.ui.form.on('POS Profile', {
setup: function(frm) {
- frm.set_query("online_print_format", function() {
+ frm.set_query("print_format_for_online", function() {
return {
filters: [
['Print Format', 'doc_type', '=', 'Sales Invoice'],
- ['Print Format', 'print_format_type', '!=', 'Js'],
+ ['Print Format', 'print_format_type', '=', 'Server'],
]
};
});
diff --git a/erpnext/accounts/doctype/pos_profile/pos_profile.json b/erpnext/accounts/doctype/pos_profile/pos_profile.json
index e2246bcd5d5..2740ef21125 100644
--- a/erpnext/accounts/doctype/pos_profile/pos_profile.json
+++ b/erpnext/accounts/doctype/pos_profile/pos_profile.json
@@ -286,6 +286,36 @@
"set_only_once": 0,
"unique": 0
},
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "allow_print_before_pay",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Allow Print Before Pay",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
"allow_on_submit": 0,
diff --git a/erpnext/accounts/doctype/pos_settings/pos_settings.py b/erpnext/accounts/doctype/pos_settings/pos_settings.py
index 13a50042fb7..bdfd969df7c 100644
--- a/erpnext/accounts/doctype/pos_settings/pos_settings.py
+++ b/erpnext/accounts/doctype/pos_settings/pos_settings.py
@@ -12,8 +12,5 @@ class POSSettings(Document):
def set_link_for_pos(self):
link = 'pos' if self.use_pos_in_offline_mode else 'point-of-sale'
- desktop_icon = frappe.db.get_value('Desktop Icon',
- {'standard': 1, 'module_name': 'POS'}, 'name')
-
- if desktop_icon:
- frappe.db.set_value('Desktop Icon', desktop_icon, 'link', link)
\ No newline at end of file
+ frappe.db.sql(""" update `tabDesktop Icon` set link = '{0}'
+ where module_name like '%pos%'""".format(link))
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/pricing_rule/test_pricing_rule.py b/erpnext/accounts/doctype/pricing_rule/test_pricing_rule.py
index 82a3d653abf..3fa34e279a3 100644
--- a/erpnext/accounts/doctype/pricing_rule/test_pricing_rule.py
+++ b/erpnext/accounts/doctype/pricing_rule/test_pricing_rule.py
@@ -252,9 +252,11 @@ class TestPricingRule(unittest.TestCase):
self.assertEquals(so.items[0].rate, 100)
def test_pricing_rule_with_margin_and_discount(self):
+ frappe.delete_doc_if_exists('Pricing Rule', '_Test Pricing Rule')
make_pricing_rule(selling=1, margin_type="Percentage", margin_rate_or_amount=10)
si = create_sales_invoice(do_not_save=True)
si.items[0].price_list_rate = 1000
+ si.payment_schedule = []
si.insert(ignore_permissions=True)
item = si.items[0]
@@ -263,6 +265,7 @@ class TestPricingRule(unittest.TestCase):
# With discount
item.discount_percentage = 10
+ si.payment_schedule = []
si.save()
item = si.items[0]
self.assertEquals(item.rate, 990)
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
index b9a7dae55f5..2fbf014289e 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
@@ -17,12 +17,13 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
if(!this.frm.doc.supplier && this.frm.doc.credit_to) {
this.frm.set_df_property("credit_to", "print_hide", 0);
}
+ } else {
+ this.frm.set_value("disable_rounded_total", frappe.sys_defaults.disable_rounded_total);
}
// formatter for material request item
this.frm.set_indicator_formatter('item_code',
function(doc) { return (doc.qty<=doc.received_qty) ? "green" : "orange" })
-
},
refresh: function(doc) {
@@ -377,5 +378,5 @@ frappe.ui.form.on("Purchase Invoice", {
erpnext.buying.get_default_bom(frm);
}
frm.toggle_reqd("supplier_warehouse", frm.doc.is_subcontracted==="Yes");
- },
+ }
})
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
index 51a099e629e..2112fa158e1 100755
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
@@ -1,2338 +1,2986 @@
{
- "allow_copy": 0,
- "allow_guest_to_view": 0,
- "allow_import": 1,
- "allow_rename": 0,
- "autoname": "naming_series:",
- "beta": 0,
- "creation": "2013-05-21 16:16:39",
- "custom": 0,
- "docstatus": 0,
- "doctype": "DocType",
- "document_type": "Document",
- "editable_grid": 0,
+ "allow_copy": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 1,
+ "allow_rename": 0,
+ "autoname": "naming_series:",
+ "beta": 0,
+ "creation": "2013-05-21 16:16:39",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "Document",
+ "editable_grid": 0,
"fields": [
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "{supplier_name}",
- "fieldname": "title",
- "fieldtype": "Data",
- "hidden": 1,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Title",
- "length": 0,
- "no_copy": 1,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "{supplier_name}",
+ "fieldname": "title",
+ "fieldtype": "Data",
+ "hidden": 1,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Title",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "naming_series",
- "fieldtype": "Select",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Series",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "naming_series",
- "oldfieldtype": "Select",
- "options": "PINV-\nPINV-RET-",
- "permlevel": 0,
- "print_hide": 1,
- "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": 1,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "naming_series",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Series",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "naming_series",
+ "oldfieldtype": "Select",
+ "options": "PINV-\nPINV-RET-",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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": 1,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "supplier",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 1,
- "label": "Supplier",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "supplier",
- "oldfieldtype": "Link",
- "options": "Supplier",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 1,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "supplier",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 1,
+ "label": "Supplier",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "supplier",
+ "oldfieldtype": "Link",
+ "options": "Supplier",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 1,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 1,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "supplier",
- "fieldname": "supplier_name",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 1,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplier Name",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "supplier_name",
- "oldfieldtype": "Data",
- "options": "supplier.supplier_name",
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 1,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "supplier",
+ "fieldname": "supplier_name",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 1,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplier Name",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "supplier_name",
+ "oldfieldtype": "Data",
+ "options": "supplier.supplier_name",
+ "permlevel": 0,
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "due_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Due Date",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "due_date",
- "oldfieldtype": "Date",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "due_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Due Date",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "due_date",
+ "oldfieldtype": "Date",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "is_paid",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Is Paid",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "is_paid",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Is Paid",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break1",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Column Break",
- "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break1",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Column Break",
+ "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,
"width": "50%"
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "company",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 1,
- "label": "Company",
- "length": 0,
- "no_copy": 0,
- "options": "Company",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 1,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "company",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 1,
+ "label": "Company",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Company",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 1,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "Today",
- "fieldname": "posting_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Date",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "posting_date",
- "oldfieldtype": "Date",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 1,
- "search_index": 1,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "Today",
+ "fieldname": "posting_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Date",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "posting_date",
+ "oldfieldtype": "Date",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 1,
+ "search_index": 1,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "posting_time",
- "fieldtype": "Time",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Posting Time",
- "length": 0,
- "no_copy": 1,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "print_width": "100px",
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
- "unique": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "posting_time",
+ "fieldtype": "Time",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Posting Time",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "print_width": "100px",
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0,
"width": "100px"
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "eval:doc.docstatus==0",
- "fieldname": "set_posting_time",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Edit Posting Date and Time",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:doc.docstatus==0",
+ "fieldname": "set_posting_time",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Edit Posting Date and Time",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "amended_from",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 1,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Amended From",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "amended_from",
- "oldfieldtype": "Link",
- "options": "Purchase Invoice",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "amended_from",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 1,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Amended From",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "amended_from",
+ "oldfieldtype": "Link",
+ "options": "Purchase Invoice",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "collapsible_depends_on": "bill_no",
- "columns": 0,
- "fieldname": "supplier_invoice_details",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplier Invoice Details",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "bill_no",
+ "columns": 0,
+ "fieldname": "supplier_invoice_details",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplier Invoice Details",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "",
- "fieldname": "bill_no",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplier Invoice No",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "bill_no",
- "oldfieldtype": "Data",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "",
+ "fieldname": "bill_no",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplier Invoice No",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "bill_no",
+ "oldfieldtype": "Data",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_15",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_15",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "bill_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplier Invoice Date",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "bill_date",
- "oldfieldtype": "Date",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "bill_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplier Invoice Date",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "bill_date",
+ "oldfieldtype": "Date",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "is_return",
- "fieldname": "returns",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Returns",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "is_return",
+ "fieldname": "returns",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Returns",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "0",
- "fieldname": "is_return",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Is Return",
- "length": 0,
- "no_copy": 1,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "0",
+ "fieldname": "is_return",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Is Return",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "is_return",
- "fieldname": "return_against",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Return Against Purchase Invoice",
- "length": 0,
- "no_copy": 1,
- "options": "Purchase Invoice",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "is_return",
+ "fieldname": "return_against",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Return Against Purchase Invoice",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Purchase Invoice",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "columns": 0,
- "fieldname": "section_addresses",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Address and Contact",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "columns": 0,
+ "fieldname": "section_addresses",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Address and Contact",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "supplier_address",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Select Supplier Address",
- "length": 0,
- "no_copy": 0,
- "options": "Address",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "supplier_address",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Select Supplier Address",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Address",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "",
- "fieldname": "address_display",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Address",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "fieldname": "address_display",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Address",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "contact_person",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 1,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Contact Person",
- "length": 0,
- "no_copy": 0,
- "options": "Contact",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "contact_person",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 1,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Contact Person",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Contact",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "contact_display",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Contact",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "contact_display",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Contact",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "contact_mobile",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Mobile No",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "contact_mobile",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Mobile No",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "contact_email",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Contact Email",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "contact_email",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Contact Email",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "col_break_address",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "col_break_address",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "",
- "fieldname": "shipping_address",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Select Shipping Address",
- "length": 0,
- "no_copy": 0,
- "options": "Address",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "fieldname": "shipping_address",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Select Shipping Address",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Address",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "shipping_address_display",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Shipping Address",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "shipping_address_display",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Shipping Address",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "columns": 0,
- "fieldname": "currency_and_price_list",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Currency and Price List",
- "length": 0,
- "no_copy": 0,
- "options": "fa fa-tag",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "columns": 0,
+ "fieldname": "currency_and_price_list",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Currency and Price List",
+ "length": 0,
+ "no_copy": 0,
+ "options": "fa fa-tag",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "currency",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Currency",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "currency",
- "oldfieldtype": "Select",
- "options": "Currency",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "currency",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Currency",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "currency",
+ "oldfieldtype": "Select",
+ "options": "Currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "",
- "fieldname": "conversion_rate",
- "fieldtype": "Float",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Exchange Rate",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "conversion_rate",
- "oldfieldtype": "Currency",
- "permlevel": 0,
- "precision": "9",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "",
+ "fieldname": "conversion_rate",
+ "fieldtype": "Float",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Exchange Rate",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "conversion_rate",
+ "oldfieldtype": "Currency",
+ "permlevel": 0,
+ "precision": "9",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break2",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break2",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "buying_price_list",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Price List",
- "length": 0,
- "no_copy": 0,
- "options": "Price List",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "buying_price_list",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Price List",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Price List",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "price_list_currency",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Price List Currency",
- "length": 0,
- "no_copy": 0,
- "options": "Currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "price_list_currency",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Price List Currency",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "plc_conversion_rate",
- "fieldtype": "Float",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Price List Exchange Rate",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "9",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "plc_conversion_rate",
+ "fieldtype": "Float",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Price List Exchange Rate",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "9",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "ignore_pricing_rule",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Ignore Pricing Rule",
- "length": 0,
- "no_copy": 1,
- "permlevel": 1,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "ignore_pricing_rule",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Ignore Pricing Rule",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 1,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "items_section",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Section Break",
- "options": "fa fa-shopping-cart",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "items_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Section Break",
+ "options": "fa fa-shopping-cart",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "0",
- "fieldname": "update_stock",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Update Stock",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "0",
+ "fieldname": "update_stock",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Update Stock",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "items",
- "fieldtype": "Table",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Items",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "entries",
- "oldfieldtype": "Table",
- "options": "Purchase Invoice Item",
- "permlevel": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "items",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Items",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "entries",
+ "oldfieldtype": "Table",
+ "options": "Purchase Invoice Item",
+ "permlevel": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "section_break_26",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "section_break_26",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Total (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Total (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "",
- "fieldname": "base_net_total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Net Total (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "net_total",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "",
+ "fieldname": "base_net_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Net Total (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "net_total",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_28",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_28",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Total",
- "length": 0,
- "no_copy": 0,
- "options": "currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Total",
+ "length": 0,
+ "no_copy": 0,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "net_total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Net Total",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "net_total_import",
- "oldfieldtype": "Currency",
- "options": "currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "net_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Net Total",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "net_total_import",
+ "oldfieldtype": "Currency",
+ "options": "currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "taxes_section",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Section Break",
- "options": "fa fa-money",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "taxes_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Section Break",
+ "options": "fa fa-money",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "taxes_and_charges",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "purchase_other_charges",
- "oldfieldtype": "Link",
- "options": "Purchase Taxes and Charges Template",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "taxes_and_charges",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "purchase_other_charges",
+ "oldfieldtype": "Link",
+ "options": "Purchase Taxes and Charges Template",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "taxes",
- "fieldtype": "Table",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Purchase Taxes and Charges",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "purchase_tax_details",
- "oldfieldtype": "Table",
- "options": "Purchase Taxes and Charges",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_49",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "columns": 0,
- "fieldname": "sec_tax_breakup",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Tax Breakup",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "shipping_rule",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Shipping Rule",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Shipping Rule",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "other_charges_calculation",
- "fieldtype": "Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges Calculation",
- "length": 0,
- "no_copy": 1,
- "oldfieldtype": "HTML",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "section_break_51",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "totals",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Section Break",
- "options": "fa fa-money",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "taxes",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Purchase Taxes and Charges",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "purchase_tax_details",
+ "oldfieldtype": "Table",
+ "options": "Purchase Taxes and Charges",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_taxes_and_charges_added",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges Added (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "other_charges_added",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "columns": 0,
+ "fieldname": "sec_tax_breakup",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Tax Breakup",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_taxes_and_charges_deducted",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges Deducted (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "other_charges_deducted",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "other_charges_calculation",
+ "fieldtype": "Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges Calculation",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldtype": "HTML",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_total_taxes_and_charges",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Total Taxes and Charges (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "total_tax",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "totals",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Section Break",
+ "options": "fa fa-money",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_40",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_taxes_and_charges_added",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges Added (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "other_charges_added",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "taxes_and_charges_added",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges Added",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "other_charges_added_import",
- "oldfieldtype": "Currency",
- "options": "currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_taxes_and_charges_deducted",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges Deducted (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "other_charges_deducted",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "taxes_and_charges_deducted",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Taxes and Charges Deducted",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "other_charges_deducted_import",
- "oldfieldtype": "Currency",
- "options": "currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_total_taxes_and_charges",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Total Taxes and Charges (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "total_tax",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "total_taxes_and_charges",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Total Taxes and Charges",
- "length": 0,
- "no_copy": 0,
- "options": "currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_40",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "collapsible_depends_on": "discount_amount",
- "columns": 0,
- "fieldname": "section_break_44",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Additional Discount",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "taxes_and_charges_added",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges Added",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "other_charges_added_import",
+ "oldfieldtype": "Currency",
+ "options": "currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "Grand Total",
- "fieldname": "apply_discount_on",
- "fieldtype": "Select",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Apply Additional Discount On",
- "length": 0,
- "no_copy": 0,
- "options": "\nGrand Total\nNet Total",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "taxes_and_charges_deducted",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Taxes and Charges Deducted",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "other_charges_deducted_import",
+ "oldfieldtype": "Currency",
+ "options": "currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_discount_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Additional Discount Amount (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "total_taxes_and_charges",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Total Taxes and Charges",
+ "length": 0,
+ "no_copy": 0,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_46",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "discount_amount",
+ "columns": 0,
+ "fieldname": "section_break_44",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Additional Discount",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "additional_discount_percentage",
- "fieldtype": "Float",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Additional Discount Percentage",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "Grand Total",
+ "fieldname": "apply_discount_on",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Apply Additional Discount On",
+ "length": 0,
+ "no_copy": 0,
+ "options": "\nGrand Total\nNet Total",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "discount_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Additional Discount Amount",
- "length": 0,
- "no_copy": 0,
- "options": "currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_discount_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Additional Discount Amount (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "section_break_49",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_46",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_grand_total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Grand Total (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "grand_total",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "additional_discount_percentage",
+ "fieldtype": "Float",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Additional Discount Percentage",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_rounding_adjustment",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Rounding Adjustment (Company Currency)",
- "length": 0,
- "no_copy": 1,
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "discount_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Additional Discount Amount",
+ "length": 0,
+ "no_copy": 0,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "",
- "fieldname": "base_in_words",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "In Words (Company Currency)",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "in_words",
- "oldfieldtype": "Data",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "section_break_49",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break8",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Column Break",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_grand_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Grand Total (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "grand_total",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_rounding_adjustment",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Rounding Adjustment (Company Currency)",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:!doc.disable_rounded_total",
+ "fieldname": "base_rounded_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Rounded Total (Company Currency)",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "",
+ "fieldname": "base_in_words",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "In Words (Company Currency)",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "in_words",
+ "oldfieldtype": "Data",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break8",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Column Break",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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,
"width": "50%"
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "grand_total",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 1,
- "in_standard_filter": 0,
- "label": "Grand Total",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "grand_total_import",
- "oldfieldtype": "Currency",
- "options": "currency",
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "grand_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 0,
+ "label": "Grand Total",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "grand_total_import",
+ "oldfieldtype": "Currency",
+ "options": "currency",
+ "permlevel": 0,
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "rounding_adjustment",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Rounding Adjustment",
- "length": 0,
- "no_copy": 1,
- "options": "currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "rounding_adjustment",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Rounding Adjustment",
+ "length": 0,
+ "no_copy": 1,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "in_words",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "In Words",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "in_words_import",
- "oldfieldtype": "Data",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:!doc.disable_rounded_total",
+ "fieldname": "rounded_total",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Rounded Total",
+ "length": 0,
+ "no_copy": 1,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "total_advance",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Total Advance",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "total_advance",
- "oldfieldtype": "Currency",
- "options": "party_account_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "in_words",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "In Words",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "in_words_import",
+ "oldfieldtype": "Data",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "outstanding_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Outstanding Amount",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "outstanding_amount",
- "oldfieldtype": "Currency",
- "options": "party_account_currency",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "total_advance",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Total Advance",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "total_advance",
+ "oldfieldtype": "Currency",
+ "options": "party_account_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "outstanding_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Outstanding Amount",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "outstanding_amount",
+ "oldfieldtype": "Currency",
+ "options": "party_account_currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "grand_total",
+ "fieldname": "disable_rounded_total",
+ "fieldtype": "Check",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Disable Rounded Total",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "paid_amount",
+ "columns": 0,
+ "depends_on": "eval:doc.is_paid===1||(doc.advances && doc.advances.length>0)",
+ "fieldname": "payments_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payments",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "mode_of_payment",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Mode of Payment",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Mode of Payment",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "cash_bank_account",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Cash/Bank Account",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Account",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "col_br_payments",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "is_paid",
+ "fieldname": "paid_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Paid Amount",
+ "length": 0,
+ "no_copy": 1,
+ "options": "currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_paid_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Paid Amount (Company Currency)",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "write_off_amount",
+ "columns": 0,
+ "depends_on": "grand_total",
+ "fieldname": "write_off",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Write Off",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "write_off_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Write Off Amount",
+ "length": 0,
+ "no_copy": 1,
+ "options": "currency",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "base_write_off_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Write Off Amount (Company Currency)",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Company:company:default_currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_61",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:flt(doc.write_off_amount)!=0",
+ "fieldname": "write_off_account",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Write Off Account",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Account",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:flt(doc.write_off_amount)!=0",
+ "fieldname": "write_off_cost_center",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Write Off Cost Center",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Cost Center",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "advances",
+ "columns": 0,
+ "fieldname": "advances_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Advance Payments",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Section Break",
+ "options": "fa fa-money",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "get_advances",
+ "fieldtype": "Button",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Get Advances Paid",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Button",
+ "options": "",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "advances",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Advances",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "advance_allocation_details",
+ "oldfieldtype": "Table",
+ "options": "Purchase Invoice Advance",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 1,
- "collapsible_depends_on": "paid_amount",
+ "collapsible_depends_on": "eval:(!doc.is_return)",
"columns": 0,
- "depends_on": "eval:doc.is_paid===1||(doc.advances && doc.advances.length>0)",
- "fieldname": "payments_section",
+ "fieldname": "payment_schedule_section",
"fieldtype": "Section Break",
"hidden": 0,
"ignore_user_permissions": 0,
@@ -2341,7 +2989,7 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
- "label": "Payments",
+ "label": "Payment Terms",
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -2362,7 +3010,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
- "fieldname": "mode_of_payment",
+ "fieldname": "payment_terms_template",
"fieldtype": "Link",
"hidden": 0,
"ignore_user_permissions": 0,
@@ -2371,10 +3019,10 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
- "label": "Mode of Payment",
+ "label": "Payment Terms Template",
"length": 0,
"no_copy": 0,
- "options": "Mode of Payment",
+ "options": "Payment Terms Template",
"permlevel": 0,
"precision": "",
"print_hide": 1,
@@ -2393,377 +3041,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
- "fieldname": "cash_bank_account",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Cash/Bank Account",
- "length": 0,
- "no_copy": 0,
- "options": "Account",
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "col_br_payments",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "is_paid",
- "fieldname": "paid_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Paid Amount",
- "length": 0,
- "no_copy": 1,
- "options": "currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_paid_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Paid Amount (Company Currency)",
- "length": 0,
- "no_copy": 1,
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
- "unique": 0
- },
- {
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "collapsible_depends_on": "write_off_amount",
- "columns": 0,
- "depends_on": "grand_total",
- "fieldname": "write_off",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Write Off",
- "length": 0,
- "no_copy": 0,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "write_off_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Write Off Amount",
- "length": 0,
- "no_copy": 1,
- "options": "currency",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "base_write_off_amount",
- "fieldtype": "Currency",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Write Off Amount (Company Currency)",
- "length": 0,
- "no_copy": 1,
- "options": "Company:company:default_currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
- "unique": 0
- },
- {
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_61",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "eval:flt(doc.write_off_amount)!=0",
- "fieldname": "write_off_account",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Write Off Account",
- "length": 0,
- "no_copy": 0,
- "options": "Account",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "eval:flt(doc.write_off_amount)!=0",
- "fieldname": "write_off_cost_center",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Write Off Cost Center",
- "length": 0,
- "no_copy": 0,
- "options": "Cost Center",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "collapsible_depends_on": "advances",
- "columns": 0,
- "fieldname": "advances_section",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Advance Payments",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Section Break",
- "options": "fa fa-money",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "get_advances",
- "fieldtype": "Button",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Get Advances Paid",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Button",
- "options": "",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "advances",
+ "fieldname": "payment_schedule",
"fieldtype": "Table",
"hidden": 0,
"ignore_user_permissions": 0,
@@ -2772,131 +3050,10 @@
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
- "label": "Advances",
+ "label": "Payment Schedule",
"length": 0,
"no_copy": 1,
- "oldfieldname": "advance_allocation_details",
- "oldfieldtype": "Table",
- "options": "Purchase Invoice Advance",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "collapsible_depends_on": "terms",
- "columns": 0,
- "fieldname": "terms_section_break",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Terms and Conditions",
- "length": 0,
- "no_copy": 0,
- "options": "fa fa-legal",
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "tc_name",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Terms",
- "length": 0,
- "no_copy": 0,
- "options": "Terms and Conditions",
- "permlevel": 0,
- "print_hide": 1,
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "terms",
- "fieldtype": "Text Editor",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Terms and Conditions1",
- "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "raw_materials_supplied",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Raw Materials Supplied",
- "length": 0,
- "no_copy": 0,
+ "options": "Payment Schedule",
"permlevel": 0,
"precision": "",
"print_hide": 0,
@@ -2910,789 +3067,909 @@
"unique": 0
},
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "No",
- "fieldname": "is_subcontracted",
- "fieldtype": "Select",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Raw Materials Supplied",
- "length": 0,
- "no_copy": 0,
- "options": "No\nYes",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "terms",
+ "columns": 0,
+ "fieldname": "terms_section_break",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Terms and Conditions",
+ "length": 0,
+ "no_copy": 0,
+ "options": "fa fa-legal",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "supplier_warehouse",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplier Warehouse",
- "length": 0,
- "no_copy": 1,
- "options": "Warehouse",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "print_width": "50px",
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
- "unique": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "tc_name",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Terms",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Terms and Conditions",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "terms",
+ "fieldtype": "Text Editor",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Terms and Conditions1",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "raw_materials_supplied",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Raw Materials Supplied",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "No",
+ "fieldname": "is_subcontracted",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Raw Materials Supplied",
+ "length": 0,
+ "no_copy": 0,
+ "options": "No\nYes",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "supplier_warehouse",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplier Warehouse",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Warehouse",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "print_width": "50px",
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "unique": 0,
"width": "50px"
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "supplied_items",
- "fieldtype": "Table",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Supplied Items",
- "length": 0,
- "no_copy": 0,
- "options": "Purchase Receipt Item Supplied",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "supplied_items",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Supplied Items",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Purchase Receipt Item Supplied",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "columns": 0,
- "fieldname": "printing_settings",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Printing Settings",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "columns": 0,
+ "fieldname": "printing_settings",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Printing Settings",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "letter_head",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Letter Head",
- "length": 0,
- "no_copy": 0,
- "options": "Letter Head",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "letter_head",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Letter Head",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Letter Head",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "select_print_heading",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Print Heading",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "select_print_heading",
- "oldfieldtype": "Link",
- "options": "Print Heading",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 1,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "select_print_heading",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Print Heading",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "select_print_heading",
+ "oldfieldtype": "Link",
+ "options": "Print Heading",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 1,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "language",
- "fieldtype": "Data",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Print Language",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "language",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Print Language",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 1,
- "columns": 0,
- "fieldname": "more_info",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "More Information",
- "length": 0,
- "no_copy": 0,
- "oldfieldtype": "Section Break",
- "options": "fa fa-file-text",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "columns": 0,
+ "fieldname": "more_info",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "More Information",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldtype": "Section Break",
+ "options": "fa fa-file-text",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "",
- "fieldname": "credit_to",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Credit To",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "credit_to",
- "oldfieldtype": "Link",
- "options": "Account",
- "permlevel": 0,
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 1,
- "search_index": 1,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "",
+ "fieldname": "credit_to",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Credit To",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "credit_to",
+ "oldfieldtype": "Link",
+ "options": "Account",
+ "permlevel": 0,
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 1,
+ "search_index": 1,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "party_account_currency",
- "fieldtype": "Link",
- "hidden": 1,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Party Account Currency",
- "length": 0,
- "no_copy": 1,
- "options": "Currency",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "party_account_currency",
+ "fieldtype": "Link",
+ "hidden": 1,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Party Account Currency",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Currency",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "No",
- "description": "",
- "fieldname": "is_opening",
- "fieldtype": "Select",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Is Opening",
- "length": 0,
- "no_copy": 0,
- "oldfieldname": "is_opening",
- "oldfieldtype": "Select",
- "options": "No\nYes",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "No",
+ "description": "",
+ "fieldname": "is_opening",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Is Opening",
+ "length": 0,
+ "no_copy": 0,
+ "oldfieldname": "is_opening",
+ "oldfieldtype": "Select",
+ "options": "No\nYes",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "against_expense_account",
- "fieldtype": "Small Text",
- "hidden": 1,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Against Expense Account",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "against_expense_account",
- "oldfieldtype": "Small Text",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "against_expense_account",
+ "fieldtype": "Small Text",
+ "hidden": 1,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Against Expense Account",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "against_expense_account",
+ "oldfieldtype": "Small Text",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_63",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_63",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "Draft",
- "fieldname": "status",
- "fieldtype": "Select",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 1,
- "label": "Status",
- "length": 0,
- "no_copy": 0,
- "options": "\nDraft\nReturn\nDebit Note Issued\nSubmitted\nPaid\nUnpaid\nOverdue\nCancelled",
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "Draft",
+ "fieldname": "status",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 1,
+ "label": "Status",
+ "length": 0,
+ "no_copy": 0,
+ "options": "\nDraft\nReturn\nDebit Note Issued\nSubmitted\nPaid\nUnpaid\nOverdue\nCancelled",
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "remarks",
- "fieldtype": "Small Text",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Remarks",
- "length": 0,
- "no_copy": 1,
- "oldfieldname": "remarks",
- "oldfieldtype": "Text",
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "remarks",
+ "fieldtype": "Small Text",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Remarks",
+ "length": 0,
+ "no_copy": 1,
+ "oldfieldname": "remarks",
+ "oldfieldtype": "Text",
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "description": "Warehouse where you are maintaining stock of rejected items",
- "fieldname": "rejected_warehouse",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Rejected Warehouse",
- "length": 0,
- "no_copy": 1,
- "options": "Warehouse",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "description": "Warehouse where you are maintaining stock of rejected items",
+ "fieldname": "rejected_warehouse",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Rejected Warehouse",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Warehouse",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "subscription_section",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Subscription Section",
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "subscription_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Subscription Section",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "",
- "description": "Start date of current invoice's period",
- "fieldname": "from_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "From Date",
- "length": 0,
- "no_copy": 1,
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "description": "Start date of current invoice's period",
+ "fieldname": "from_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "From Date",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "",
- "description": "End date of current invoice's period",
- "fieldname": "to_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "To Date",
- "length": 0,
- "no_copy": 1,
- "permlevel": 0,
- "print_hide": 1,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "description": "End date of current invoice's period",
+ "fieldname": "to_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "To Date",
+ "length": 0,
+ "no_copy": 1,
+ "permlevel": 0,
+ "print_hide": 1,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "column_break_114",
- "fieldtype": "Column Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "length": 0,
- "no_copy": 0,
- "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,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_114",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "fieldname": "subscription",
- "fieldtype": "Link",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Subscription",
- "length": 0,
- "no_copy": 1,
- "options": "Subscription",
- "permlevel": 0,
- "precision": "",
- "print_hide": 1,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "subscription",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Subscription",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Subscription",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "print_hide_if_no_value": 0,
+ "read_only": 1,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
}
- ],
- "has_web_view": 0,
- "hide_heading": 0,
- "hide_toolbar": 0,
- "icon": "fa fa-file-text",
- "idx": 204,
- "image_view": 0,
- "in_create": 0,
- "is_submittable": 1,
- "issingle": 0,
- "istable": 0,
- "max_attachments": 0,
- "menu_index": 0,
- "modified": "2017-11-15 01:04:15.308603",
- "modified_by": "Administrator",
- "module": "Accounts",
- "name": "Purchase Invoice",
- "name_case": "Title Case",
- "owner": "Administrator",
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "icon": "fa fa-file-text",
+ "idx": 204,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 1,
+ "issingle": 0,
+ "istable": 0,
+ "max_attachments": 0,
+ "menu_index": 0,
+ "modified": "2017-11-23 01:04:15.308603",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Purchase Invoice",
+ "name_case": "Title Case",
+ "owner": "Administrator",
"permissions": [
{
- "amend": 1,
- "apply_user_permissions": 0,
- "cancel": 1,
- "create": 1,
- "delete": 0,
- "email": 1,
- "export": 0,
- "if_owner": 0,
- "import": 0,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Accounts User",
- "set_user_permissions": 0,
- "share": 1,
- "submit": 1,
+ "amend": 1,
+ "apply_user_permissions": 0,
+ "cancel": 1,
+ "create": 1,
+ "delete": 0,
+ "email": 1,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts User",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 1,
"write": 1
- },
+ },
{
- "amend": 0,
- "apply_user_permissions": 0,
- "cancel": 0,
- "create": 0,
- "delete": 0,
- "email": 1,
- "export": 0,
- "if_owner": 0,
- "import": 0,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Purchase User",
- "set_user_permissions": 0,
- "share": 0,
- "submit": 0,
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 0,
+ "delete": 0,
+ "email": 1,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Purchase User",
+ "set_user_permissions": 0,
+ "share": 0,
+ "submit": 0,
"write": 0
- },
+ },
{
- "amend": 1,
- "apply_user_permissions": 0,
- "cancel": 1,
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 0,
- "if_owner": 0,
- "import": 0,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Accounts Manager",
- "set_user_permissions": 0,
- "share": 1,
- "submit": 1,
+ "amend": 1,
+ "apply_user_permissions": 0,
+ "cancel": 1,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Accounts Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 1,
"write": 1
- },
+ },
{
- "amend": 0,
- "apply_user_permissions": 0,
- "cancel": 0,
- "create": 0,
- "delete": 0,
- "email": 1,
- "export": 0,
- "if_owner": 0,
- "import": 0,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Auditor",
- "set_user_permissions": 0,
- "share": 0,
- "submit": 0,
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 0,
+ "delete": 0,
+ "email": 1,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Auditor",
+ "set_user_permissions": 0,
+ "share": 0,
+ "submit": 0,
"write": 0
- },
+ },
{
- "amend": 0,
- "apply_user_permissions": 0,
- "cancel": 0,
- "create": 0,
- "delete": 0,
- "email": 0,
- "export": 0,
- "if_owner": 0,
- "import": 0,
- "permlevel": 1,
- "print": 0,
- "read": 1,
- "report": 0,
- "role": "Accounts Manager",
- "set_user_permissions": 0,
- "share": 0,
- "submit": 0,
+ "amend": 0,
+ "apply_user_permissions": 0,
+ "cancel": 0,
+ "create": 0,
+ "delete": 0,
+ "email": 0,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 1,
+ "print": 0,
+ "read": 1,
+ "report": 0,
+ "role": "Accounts Manager",
+ "set_user_permissions": 0,
+ "share": 0,
+ "submit": 0,
"write": 1
}
- ],
- "quick_entry": 0,
- "read_only": 0,
- "read_only_onload": 1,
- "search_fields": "posting_date, supplier, bill_no, base_grand_total, outstanding_amount",
- "show_name_in_global_search": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "timeline_field": "supplier",
- "title_field": "title",
- "track_changes": 1,
+ ],
+ "quick_entry": 0,
+ "read_only": 0,
+ "read_only_onload": 1,
+ "search_fields": "posting_date, supplier, bill_no, base_grand_total, outstanding_amount",
+ "show_name_in_global_search": 1,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "timeline_field": "supplier",
+ "title_field": "title",
+ "track_changes": 1,
"track_seen": 0
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
index 78c5682ef87..0c8bfc002cb 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -77,8 +77,10 @@ class PurchaseInvoice(BuyingController):
if not self.cash_bank_account and flt(self.paid_amount):
frappe.throw(_("Cash or Bank Account is mandatory for making payment entry"))
- if flt(self.paid_amount) + flt(self.write_off_amount) \
- - flt(self.grand_total) > 1/(10**(self.precision("base_grand_total") + 1)):
+ if (flt(self.paid_amount) + flt(self.write_off_amount)
+ - flt(self.get("rounded_total") or self.grand_total)
+ > 1/(10**(self.precision("base_grand_total") + 1))):
+
frappe.throw(_("""Paid amount + Write Off Amount can not be greater than Grand Total"""))
def create_remarks(self):
@@ -93,7 +95,7 @@ class PurchaseInvoice(BuyingController):
if not self.credit_to:
self.credit_to = get_party_account("Supplier", self.supplier, self.company)
if not self.due_date:
- self.due_date = get_due_date(self.posting_date, "Supplier", self.supplier, self.company)
+ self.due_date = get_due_date(self.posting_date, "Supplier", self.supplier)
super(PurchaseInvoice, self).set_missing_values(for_validate)
@@ -359,9 +361,30 @@ class PurchaseInvoice(BuyingController):
return gl_entries
def make_supplier_gl_entry(self, gl_entries):
- if self.grand_total:
+ grand_total = self.rounded_total or self.grand_total
+ if self.get("payment_schedule"):
+ for d in self.get("payment_schedule"):
+ payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,
+ d.precision("payment_amount"))
+
+ gl_entries.append(
+ self.get_gl_dict({
+ "account": self.credit_to,
+ "party_type": "Supplier",
+ "party": self.supplier,
+ "due_date": d.due_date,
+ "against": self.against_expense_account,
+ "credit": payment_amount_in_company_currency,
+ "credit_in_account_currency": payment_amount_in_company_currency \
+ if self.party_account_currency==self.company_currency else d.payment_amount,
+ "against_voucher": self.return_against if cint(self.is_return) else self.name,
+ "against_voucher_type": self.doctype
+ }, self.party_account_currency)
+ )
+
+ elif grand_total:
# Didnot use base_grand_total to book rounding loss gle
- grand_total_in_company_currency = flt(self.grand_total * self.conversion_rate,
+ grand_total_in_company_currency = flt(grand_total * self.conversion_rate,
self.precision("grand_total"))
gl_entries.append(
self.get_gl_dict({
@@ -371,7 +394,7 @@ class PurchaseInvoice(BuyingController):
"against": self.against_expense_account,
"credit": grand_total_in_company_currency,
"credit_in_account_currency": grand_total_in_company_currency \
- if self.party_account_currency==self.company_currency else self.grand_total,
+ if self.party_account_currency==self.company_currency else grand_total,
"against_voucher": self.return_against if cint(self.is_return) else self.name,
"against_voucher_type": self.doctype,
}, self.party_account_currency)
diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.js
index e01dda32bf6..5e6d95c33ed 100644
--- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.js
+++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.js
@@ -20,7 +20,8 @@ QUnit.test("test purchase invoice", function(assert) {
{contact_person: 'Contact 3-Test Supplier'},
{taxes_and_charges: 'TEST In State GST'},
{tc_name: 'Test Term 1'},
- {terms: 'This is Test'}
+ {terms: 'This is Test'},
+ {payment_terms_template: '_Test Payment Term Template UI'}
]);
},
() => cur_frm.save(),
@@ -34,6 +35,9 @@ QUnit.test("test purchase invoice", function(assert) {
// grand_total Calculated
assert.ok(cur_frm.doc.grand_total==590, "Grad Total correct");
+ assert.ok(cur_frm.doc.payment_terms_template, "Payment Terms Template is correct");
+ assert.ok(cur_frm.doc.payment_schedule.length > 0, "Payment Term Schedule is not empty");
+
},
() => frappe.tests.click_button('Submit'),
() => frappe.tests.click_button('Yes'),
diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
index 474329fc9ad..3ac521a7cdb 100644
--- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
+++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
@@ -6,15 +6,16 @@ from __future__ import unicode_literals
import unittest
import frappe, erpnext
import frappe.model
-from frappe.utils import cint, flt, today, nowdate
+from frappe.utils import cint, flt, today, nowdate, getdate, add_days
import frappe.defaults
from erpnext.stock.doctype.purchase_receipt.test_purchase_receipt import set_perpetual_inventory, \
test_records as pr_test_records
+from erpnext.controllers.accounts_controller import get_payment_terms
from erpnext.exceptions import InvalidCurrency
from erpnext.stock.doctype.stock_entry.test_stock_entry import get_qty_after_transaction
from erpnext.accounts.doctype.account.test_account import get_inventory_account
-test_dependencies = ["Item", "Cost Center"]
+test_dependencies = ["Item", "Cost Center", "Payment Term", "Payment Terms Template"]
test_ignore = ["Serial No"]
class TestPurchaseInvoice(unittest.TestCase):
@@ -35,7 +36,7 @@ class TestPurchaseInvoice(unittest.TestCase):
dl = wrapper
expected_gl_entries = {
- "_Test Payable - _TC": [0, 1512.30],
+ "_Test Payable - _TC": [0, 1512.0],
"_Test Account Cost for Goods Sold - _TC": [1250, 0],
"_Test Account Shipping Charges - _TC": [100, 0],
"_Test Account Excise Duty - _TC": [140, 0],
@@ -44,6 +45,7 @@ class TestPurchaseInvoice(unittest.TestCase):
"_Test Account CST - _TC": [29.88, 0],
"_Test Account VAT - _TC": [156.25, 0],
"_Test Account Discount - _TC": [0, 168.03],
+ "Round Off - _TC": [0, 0.3]
}
gl_entries = frappe.db.sql("""select account, debit, credit from `tabGL Entry`
where voucher_type = 'Purchase Invoice' and voucher_no = %s""", dl.name, as_dict=1)
@@ -61,6 +63,12 @@ class TestPurchaseInvoice(unittest.TestCase):
set_perpetual_inventory(0, pi.company)
+ def test_terms_added_after_save(self):
+ pi = frappe.copy_doc(test_records[1])
+ pi.insert()
+ self.assertTrue(pi.payment_schedule)
+ self.assertEqual(pi.payment_schedule[0].due_date, pi.due_date)
+
def test_payment_entry_unlink_against_purchase_invoice(self):
from erpnext.accounts.doctype.payment_entry.test_payment_entry import get_payment_entry
unlink_payment_on_cancel_of_invoice(0)
@@ -233,6 +241,7 @@ class TestPurchaseInvoice(unittest.TestCase):
jv.submit()
pi = frappe.copy_doc(test_records[0])
+ pi.disable_rounded_total = 1
pi.append("advances", {
"reference_type": "Journal Entry",
"reference_name": jv.name,
@@ -242,6 +251,14 @@ class TestPurchaseInvoice(unittest.TestCase):
"remarks": jv.remark
})
pi.insert()
+
+ self.assertEqual(pi.outstanding_amount, 1212.30)
+
+ pi.disable_rounded_total = 0
+ pi.get("payment_schedule")[0].payment_amount = 1512.0
+ pi.save()
+ self.assertEqual(pi.outstanding_amount, 1212.0)
+
pi.submit()
pi.load_from_db()
@@ -249,13 +266,61 @@ class TestPurchaseInvoice(unittest.TestCase):
where reference_type='Purchase Invoice'
and reference_name=%s and debit_in_account_currency=300""", pi.name))
- self.assertEqual(pi.outstanding_amount, 1212.30)
-
pi.cancel()
self.assertFalse(frappe.db.sql("""select name from `tabJournal Entry Account`
where reference_type='Purchase Invoice' and reference_name=%s""", pi.name))
+ def test_invoice_with_advance_and_multi_payment_terms(self):
+ from erpnext.accounts.doctype.journal_entry.test_journal_entry \
+ import test_records as jv_test_records
+
+ jv = frappe.copy_doc(jv_test_records[1])
+ jv.insert()
+ jv.submit()
+
+ pi = frappe.copy_doc(test_records[0])
+ pi.disable_rounded_total = 1
+ pi.append("advances", {
+ "reference_type": "Journal Entry",
+ "reference_name": jv.name,
+ "reference_row": jv.get("accounts")[0].name,
+ "advance_amount": 400,
+ "allocated_amount": 300,
+ "remarks": jv.remark
+ })
+ pi.insert()
+
+ pi.update({
+ "payment_schedule": get_payment_terms("_Test Payment Term Template",
+ pi.posting_date, pi.grand_total)
+ })
+
+ pi.save()
+ pi.submit()
+ self.assertEqual(pi.payment_schedule[0].payment_amount, 756.15)
+ self.assertEqual(pi.payment_schedule[0].due_date, pi.posting_date)
+ self.assertEqual(pi.payment_schedule[1].payment_amount, 756.15)
+ self.assertEqual(pi.payment_schedule[1].due_date, add_days(pi.posting_date, 30))
+
+ pi.load_from_db()
+
+ self.assertTrue(
+ frappe.db.sql(
+ "select name from `tabJournal Entry Account` where reference_type='Purchase Invoice' and "
+ "reference_name=%s and debit_in_account_currency=300", pi.name)
+ )
+
+ self.assertEqual(pi.outstanding_amount, 1212.30)
+
+ pi.cancel()
+
+ self.assertFalse(
+ frappe.db.sql(
+ "select name from `tabJournal Entry Account` where reference_type='Purchase Invoice' and "
+ "reference_name=%s", pi.name)
+ )
+
def test_total_purchase_cost_for_project(self):
existing_purchase_cost = frappe.db.sql("""select sum(base_net_amount)
from `tabPurchase Invoice Item` where project = '_Test Project' and docstatus=1""")
@@ -491,7 +556,7 @@ class TestPurchaseInvoice(unittest.TestCase):
pi.load_from_db()
#check outstanding after advance allocation
- self.assertEqual(flt(pi.outstanding_amount), flt(pi.grand_total - pi.total_advance))
+ self.assertEqual(flt(pi.outstanding_amount), flt(pi.rounded_total - pi.total_advance))
#added to avoid Document has been modified exception
jv = frappe.get_doc("Journal Entry", jv.name)
@@ -499,7 +564,7 @@ class TestPurchaseInvoice(unittest.TestCase):
pi.load_from_db()
#check outstanding after advance cancellation
- self.assertEqual(flt(pi.outstanding_amount), flt(pi.grand_total + pi.total_advance))
+ self.assertEqual(flt(pi.outstanding_amount), flt(pi.rounded_total + pi.total_advance))
def test_outstanding_amount_after_advance_payment_entry_cancelation(self):
pe = frappe.get_doc({
@@ -521,7 +586,7 @@ class TestPurchaseInvoice(unittest.TestCase):
})
pe.insert()
pe.submit()
-
+
pi = frappe.copy_doc(test_records[0])
pi.is_pos = 0
pi.append("advances", {
@@ -534,19 +599,102 @@ class TestPurchaseInvoice(unittest.TestCase):
})
pi.insert()
pi.submit()
-
+
pi.load_from_db()
#check outstanding after advance allocation
- self.assertEqual(flt(pi.outstanding_amount), flt(pi.grand_total - pi.total_advance))
-
+ self.assertEqual(flt(pi.outstanding_amount), flt(pi.rounded_total - pi.total_advance))
+
#added to avoid Document has been modified exception
pe = frappe.get_doc("Payment Entry", pe.name)
pe.cancel()
-
+
pi.load_from_db()
#check outstanding after advance cancellation
- self.assertEqual(flt(pi.outstanding_amount), flt(pi.grand_total + pi.total_advance))
+ self.assertEqual(flt(pi.outstanding_amount), flt(pi.rounded_total + pi.total_advance))
+
+ def test_purchase_invoice_with_shipping_rule(self):
+ from erpnext.accounts.doctype.shipping_rule.test_shipping_rule \
+ import create_shipping_rule
+
+ shipping_rule = create_shipping_rule(shipping_rule_type = "Buying", shipping_rule_name = "Shipping Rule - Purchase Invoice Test")
+
+ pi = frappe.copy_doc(test_records[0])
+
+ pi.shipping_rule = shipping_rule.name
+ pi.insert()
+
+ shipping_amount = 0.0
+ for condition in shipping_rule.get("conditions"):
+ if not condition.to_value or (flt(condition.from_value) <= pi.net_total <= flt(condition.to_value)):
+ shipping_amount = condition.shipping_amount
+
+ shipping_charge = {
+ "doctype": "Purchase Taxes and Charges",
+ "category": "Valuation and Total",
+ "charge_type": "Actual",
+ "account_head": shipping_rule.account,
+ "cost_center": shipping_rule.cost_center,
+ "tax_amount": shipping_amount,
+ "description": shipping_rule.name,
+ "add_deduct_tax": "Add"
+ }
+ pi.append("taxes", shipping_charge)
+ pi.save()
+
+ self.assertEquals(pi.net_total, 1250)
+
+ self.assertEquals(pi.total_taxes_and_charges, 462.3)
+ self.assertEquals(pi.grand_total, 1712.3)
+
+ def test_gl_entry_based_on_payment_schedule(self):
+ pi = make_purchase_invoice(do_not_save=True, supplier="_Test Supplier P")
+ pi.append("payment_schedule", {
+ "due_date": add_days(nowdate(), 15),
+ "payment_amount": 100,
+ "invoice_portion": 40.00
+ })
+ pi.append("payment_schedule", {
+ "due_date": add_days(nowdate(), 25),
+ "payment_amount": 150,
+ "invoice_portion": 60.00
+ })
+
+ pi.save()
+ pi.submit()
+
+ gl_entries = frappe.db.sql("""select account, debit, credit, due_date
+ from `tabGL Entry` where voucher_type='Purchase Invoice' and voucher_no=%s
+ order by account asc, debit asc""", pi.name, as_dict=1)
+ self.assertTrue(gl_entries)
+
+ expected_gl_entries = sorted([
+ [pi.credit_to, 0.0, 100.0, add_days(nowdate(), 15)],
+ [pi.credit_to, 0.0, 150.0, add_days(nowdate(), 25)],
+ ["_Test Account Cost for Goods Sold - _TC", 250.0, 0.0, None]
+ ])
+
+ for i, gle in enumerate(sorted(gl_entries, key=lambda gle: gle.account)):
+ self.assertEquals(expected_gl_entries[i][0], gle.account)
+ self.assertEquals(expected_gl_entries[i][1], gle.debit)
+ self.assertEquals(expected_gl_entries[i][2], gle.credit)
+ self.assertEquals(getdate(expected_gl_entries[i][3]), getdate(gle.due_date))
+
+ def test_make_pi_without_terms(self):
+ pi = make_purchase_invoice(do_not_save=1)
+
+ self.assertFalse(pi.get('payment_schedule'))
+
+ pi.insert()
+
+ self.assertTrue(pi.get('payment_schedule'))
+
+ def test_duplicate_due_date_in_terms(self):
+ pi = make_purchase_invoice(do_not_save=1)
+ pi.append('payment_schedule', dict(due_date='2017-01-01', invoice_portion=50.00, payment_amount=50))
+ pi.append('payment_schedule', dict(due_date='2017-01-01', invoice_portion=50.00, payment_amount=50))
+
+ self.assertRaises(frappe.ValidationError, pi.insert)
def unlink_payment_on_cancel_of_invoice(enable=1):
accounts_settings = frappe.get_doc("Accounts Settings")
diff --git a/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json
index 47e6889cd4e..2b7fe776ec0 100644
--- a/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json
+++ b/erpnext/accounts/doctype/purchase_taxes_and_charges/purchase_taxes_and_charges.json
@@ -1,5 +1,6 @@
{
"allow_copy": 0,
+ "allow_guest_to_view": 0,
"allow_import": 0,
"allow_rename": 0,
"autoname": "hash",
@@ -10,8 +11,10 @@
"doctype": "DocType",
"document_type": "Setup",
"editable_grid": 1,
+ "engine": "InnoDB",
"fields": [
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -23,7 +26,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Consider Tax or Charge for",
"length": 0,
"no_copy": 0,
@@ -34,6 +39,7 @@
"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,
@@ -41,6 +47,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -52,7 +59,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Add or Deduct",
"length": 0,
"no_copy": 0,
@@ -63,6 +72,7 @@
"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,
@@ -70,6 +80,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -80,7 +91,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Type",
"length": 0,
"no_copy": 0,
@@ -91,6 +104,7 @@
"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,
@@ -98,6 +112,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -109,7 +124,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Reference Row #",
"length": 0,
"no_copy": 0,
@@ -119,6 +136,7 @@
"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,
@@ -126,6 +144,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -137,7 +156,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Is this Tax included in Basic Rate?",
"length": 0,
"no_copy": 0,
@@ -146,6 +167,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 1,
"reqd": 0,
"search_index": 0,
@@ -153,6 +175,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -163,13 +186,16 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 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,
@@ -177,6 +203,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -187,7 +214,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Account Head",
"length": 0,
"no_copy": 0,
@@ -198,6 +227,7 @@
"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,
@@ -205,6 +235,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -216,7 +247,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Cost Center",
"length": 0,
"no_copy": 0,
@@ -227,6 +260,7 @@
"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,
@@ -234,17 +268,20 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "description",
- "fieldtype": "Text Editor",
+ "fieldtype": "Small Text",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Description",
"length": 0,
"no_copy": 0,
@@ -255,6 +292,7 @@
"print_hide_if_no_value": 0,
"print_width": "300px",
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
@@ -263,6 +301,7 @@
"width": "300px"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -273,7 +312,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -281,6 +322,7 @@
"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,
@@ -288,6 +330,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -298,7 +341,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Rate",
"length": 0,
"no_copy": 0,
@@ -308,6 +353,7 @@
"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,
@@ -315,6 +361,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -325,7 +372,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -333,6 +382,7 @@
"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,
@@ -340,6 +390,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -350,7 +401,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Amount",
"length": 0,
"no_copy": 0,
@@ -361,6 +414,7 @@
"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,
@@ -368,6 +422,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -378,7 +433,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Tax Amount After Discount Amount",
"length": 0,
"no_copy": 0,
@@ -388,6 +445,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -395,6 +453,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -405,7 +464,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Total",
"length": 0,
"no_copy": 0,
@@ -416,6 +477,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -423,6 +485,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -433,7 +496,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -441,6 +506,7 @@
"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,
@@ -448,6 +514,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -458,7 +525,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Amount (Company Currency)",
"length": 0,
"no_copy": 0,
@@ -468,6 +537,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -475,6 +545,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -485,7 +556,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Total (Company Currency)",
"length": 0,
"no_copy": 0,
@@ -495,6 +568,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -502,6 +576,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -512,7 +587,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Tax Amount After Discount Amount",
"length": 0,
"no_copy": 0,
@@ -522,6 +599,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -529,6 +607,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -539,7 +618,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Item Wise Tax Detail ",
"length": 0,
"no_copy": 0,
@@ -549,6 +630,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -556,6 +638,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -565,8 +648,10 @@
"hidden": 1,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
- "in_filter": 1,
+ "in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Parenttype",
"length": 0,
"no_copy": 0,
@@ -576,6 +661,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -583,17 +669,17 @@
"unique": 0
}
],
+ "has_web_view": 0,
"hide_heading": 1,
"hide_toolbar": 0,
"idx": 1,
"image_view": 0,
"in_create": 0,
- "in_dialog": 0,
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"max_attachments": 0,
- "modified": "2016-08-26 03:20:22.118330",
+ "modified": "2017-11-15 19:26:57.074345",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Taxes and Charges",
@@ -602,5 +688,7 @@
"quick_entry": 0,
"read_only": 0,
"read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "track_changes": 1,
"track_seen": 0
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
index ccaae496704..ad52dee9737 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js
@@ -607,3 +607,4 @@ var calculate_total_billing_amount = function(frm) {
refresh_field('total_billing_amount')
}
+
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
index c0ea00ccd82..41b92c43f88 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
@@ -2748,6 +2748,101 @@
"set_only_once": 0,
"unique": 0
},
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 1,
+ "collapsible_depends_on": "eval:(!doc.is_pos && !doc.is_return)",
+ "columns": 0,
+ "fieldname": "payment_schedule_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payment Terms",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:(!doc.is_pos && !doc.is_return)",
+ "fieldname": "payment_terms_template",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payment Terms Template",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Payment Terms Template",
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 1,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:(!doc.is_pos && !doc.is_return)",
+ "fieldname": "payment_schedule",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Payment Schedule",
+ "length": 0,
+ "no_copy": 1,
+ "options": "Payment Schedule",
+ "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_bulk_edit": 0,
"allow_on_submit": 0,
@@ -3002,6 +3097,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
+ "depends_on": "is_pos",
"fieldname": "base_change_amount",
"fieldtype": "Currency",
"hidden": 0,
@@ -3062,6 +3158,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
+ "depends_on": "is_pos",
"fieldname": "change_amount",
"fieldtype": "Currency",
"hidden": 0,
@@ -3093,6 +3190,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
+ "depends_on": "is_pos",
"fieldname": "account_for_change_amount",
"fieldtype": "Link",
"hidden": 0,
@@ -4434,7 +4532,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-11-15 01:02:36.885752",
+ "modified": "2017-11-23 12:36:53.731902",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
index 85d102209ee..6a54164ea5f 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -242,12 +242,12 @@ class SalesInvoice(SellingController):
if not self.debit_to:
self.debit_to = get_party_account("Customer", self.customer, self.company)
if not self.due_date and self.customer:
- self.due_date = get_due_date(self.posting_date, "Customer", self.customer, self.company)
+ self.due_date = get_due_date(self.posting_date, "Customer", self.customer)
super(SalesInvoice, self).set_missing_values(for_validate)
if pos:
- return {"print_format": pos.get("print_format") }
+ return {"print_format": pos.get("print_format_for_online") }
def update_time_sheet(self, sales_invoice):
for d in self.timesheets:
@@ -632,9 +632,30 @@ class SalesInvoice(SellingController):
return gl_entries
def make_customer_gl_entry(self, gl_entries):
- if self.grand_total:
+ grand_total = self.rounded_total or self.grand_total
+ if self.get("payment_schedule"):
+ for d in self.get("payment_schedule"):
+ payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,
+ d.precision("payment_amount"))
+
+ gl_entries.append(
+ self.get_gl_dict({
+ "account": self.debit_to,
+ "party_type": "Customer",
+ "party": self.customer,
+ "due_date": d.due_date,
+ "against": self.against_income_account,
+ "debit": payment_amount_in_company_currency,
+ "debit_in_account_currency": payment_amount_in_company_currency \
+ if self.party_account_currency==self.company_currency else d.payment_amount,
+ "against_voucher": self.return_against if cint(self.is_return) else self.name,
+ "against_voucher_type": self.doctype
+ }, self.party_account_currency)
+ )
+
+ elif grand_total:
# Didnot use base_grand_total to book rounding loss gle
- grand_total_in_company_currency = flt(self.grand_total * self.conversion_rate,
+ grand_total_in_company_currency = flt(grand_total * self.conversion_rate,
self.precision("grand_total"))
gl_entries.append(
@@ -645,7 +666,7 @@ class SalesInvoice(SellingController):
"against": self.against_income_account,
"debit": grand_total_in_company_currency,
"debit_in_account_currency": grand_total_in_company_currency \
- if self.party_account_currency==self.company_currency else self.grand_total,
+ if self.party_account_currency==self.company_currency else grand_total,
"against_voucher": self.return_against if cint(self.is_return) else self.name,
"against_voucher_type": self.doctype
}, self.party_account_currency)
diff --git a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.js
index 35b255875ea..b4be3ba67cb 100644
--- a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.js
+++ b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.js
@@ -1,7 +1,7 @@
QUnit.module('Sales Invoice');
QUnit.test("test sales Invoice", function(assert) {
- assert.expect(4);
+ assert.expect(6);
let done = assert.async();
frappe.run_serially([
() => {
@@ -19,7 +19,8 @@ QUnit.test("test sales Invoice", function(assert) {
{contact_person: 'Contact 1-Test Customer 1'},
{taxes_and_charges: 'TEST In State GST'},
{tc_name: 'Test Term 1'},
- {terms: 'This is Test'}
+ {terms: 'This is Test'},
+ {payment_terms_template: '_Test Payment Term Template UI'}
]);
},
() => cur_frm.save(),
@@ -31,7 +32,10 @@ QUnit.test("test sales Invoice", function(assert) {
// get tax account head details
assert.ok(cur_frm.doc.taxes[0].account_head=='CGST - '+frappe.get_abbr(frappe.defaults.get_default('Company')), " Account Head abbr correct");
// grand_total Calculated
- assert.ok(cur_frm.doc.grand_total==590, "Grad Total correct");
+ assert.ok(cur_frm.doc.grand_total==590, "Grand Total correct");
+
+ assert.ok(cur_frm.doc.payment_terms_template, "Payment Terms Template is correct");
+ assert.ok(cur_frm.doc.payment_schedule.length > 0, "Payment Term Schedule is not empty");
},
() => frappe.tests.click_button('Submit'),
@@ -40,4 +44,3 @@ QUnit.test("test sales Invoice", function(assert) {
() => done()
]);
});
-
diff --git a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
index 50d2ce810b7..b3a143cbcef 100644
--- a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py
@@ -3,8 +3,9 @@
from __future__ import unicode_literals
import frappe
+
import unittest, copy, time
-from frappe.utils import nowdate, add_days, flt, cint
+from frappe.utils import nowdate, add_days, flt, getdate, cint
from frappe.model.dynamic_links import get_dynamic_link_map
from erpnext.stock.doctype.stock_entry.test_stock_entry import make_stock_entry, get_qty_after_transaction
from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import unlink_payment_on_cancel_of_invoice
@@ -58,6 +59,13 @@ class TestSalesInvoice(unittest.TestCase):
self.assertRaises(frappe.CannotChangeConstantError, si.save)
+ def test_add_terms_after_save(self):
+ si = frappe.copy_doc(test_records[2])
+ si.insert()
+
+ self.assertTrue(si.payment_schedule)
+ self.assertEqual(getdate(si.payment_schedule[0].due_date), getdate(si.due_date))
+
def test_sales_invoice_calculation_base_currency(self):
si = frappe.copy_doc(test_records[2])
si.insert()
@@ -199,6 +207,7 @@ class TestSalesInvoice(unittest.TestCase):
# additional discount
si.discount_amount = 100
si.apply_discount_on = 'Net Total'
+ si.payment_schedule = []
si.save()
@@ -211,6 +220,7 @@ class TestSalesInvoice(unittest.TestCase):
# additional discount on grand total
si.discount_amount = 100
si.apply_discount_on = 'Grand Total'
+ si.payment_schedule = []
si.save()
@@ -546,7 +556,7 @@ class TestSalesInvoice(unittest.TestCase):
def test_outstanding(self):
w = self.make()
- self.assertEquals(w.outstanding_amount, w.base_grand_total)
+ self.assertEquals(w.outstanding_amount, w.base_rounded_total)
def test_payment(self):
w = self.make()
@@ -560,7 +570,7 @@ class TestSalesInvoice(unittest.TestCase):
jv.insert()
jv.submit()
- self.assertEquals(frappe.db.get_value("Sales Invoice", w.name, "outstanding_amount"), 161.8)
+ self.assertEquals(frappe.db.get_value("Sales Invoice", w.name, "outstanding_amount"), 162.0)
link_data = get_dynamic_link_map().get('Sales Invoice', [])
link_doctypes = [d.parent for d in link_data]
@@ -569,7 +579,7 @@ class TestSalesInvoice(unittest.TestCase):
self.assertTrue(link_doctypes.index('GL Entry') > link_doctypes.index('Journal Entry Account'))
jv.cancel()
- self.assertEquals(frappe.db.get_value("Sales Invoice", w.name, "outstanding_amount"), 561.8)
+ self.assertEquals(frappe.db.get_value("Sales Invoice", w.name, "outstanding_amount"), 562.0)
def test_sales_invoice_gl_entry_without_perpetual_inventory(self):
si = frappe.copy_doc(test_records[1])
@@ -848,7 +858,7 @@ class TestSalesInvoice(unittest.TestCase):
self.assertTrue(frappe.db.sql("""select name from `tabJournal Entry Account`
where reference_name=%s and credit_in_account_currency=300""", si.name))
- self.assertEqual(si.outstanding_amount, 261.8)
+ self.assertEqual(si.outstanding_amount, 262.0)
si.cancel()
@@ -932,20 +942,6 @@ class TestSalesInvoice(unittest.TestCase):
self.assertEquals(si.get("items")[0].serial_no, dn.get("items")[0].serial_no)
- def test_invoice_due_date_against_customers_credit_days(self):
- # set customer's credit days
- frappe.db.set_value("Customer", "_Test Customer", "credit_days_based_on", "Fixed Days")
- frappe.db.set_value("Customer", "_Test Customer", "credit_days", 10)
-
- si = create_sales_invoice()
- self.assertEqual(si.due_date, add_days(nowdate(), 10))
-
- # set customer's credit days is last day of the next month
- frappe.db.set_value("Customer", "_Test Customer", "credit_days_based_on", "Last Day of the Next Month")
-
- si1 = create_sales_invoice(posting_date="2015-07-05")
- self.assertEqual(si1.due_date, "2015-08-31")
-
def test_return_sales_invoice(self):
set_perpetual_inventory()
make_stock_entry(item_code="_Test Item", target="_Test Warehouse - _TC", qty=50, basic_rate=100)
@@ -1152,7 +1148,8 @@ class TestSalesInvoice(unittest.TestCase):
si.load_from_db()
#check outstanding after advance allocation
- self.assertEqual(flt(si.outstanding_amount), flt(si.grand_total - si.total_advance, si.precision("outstanding_amount")))
+ self.assertEqual(flt(si.outstanding_amount),
+ flt(si.rounded_total - si.total_advance, si.precision("outstanding_amount")))
#added to avoid Document has been modified exception
jv = frappe.get_doc("Journal Entry", jv.name)
@@ -1160,7 +1157,8 @@ class TestSalesInvoice(unittest.TestCase):
si.load_from_db()
#check outstanding after advance cancellation
- self.assertEqual(flt(si.outstanding_amount), flt(si.grand_total + si.total_advance, si.precision("outstanding_amount")))
+ self.assertEqual(flt(si.outstanding_amount),
+ flt(si.rounded_total + si.total_advance, si.precision("outstanding_amount")))
def test_outstanding_amount_after_advance_payment_entry_cancelation(self):
pe = frappe.get_doc({
@@ -1199,7 +1197,8 @@ class TestSalesInvoice(unittest.TestCase):
si.load_from_db()
#check outstanding after advance allocation
- self.assertEqual(flt(si.outstanding_amount), flt(si.grand_total - si.total_advance, si.precision("outstanding_amount")))
+ self.assertEqual(flt(si.outstanding_amount),
+ flt(si.rounded_total - si.total_advance, si.precision("outstanding_amount")))
#added to avoid Document has been modified exception
pe = frappe.get_doc("Payment Entry", pe.name)
@@ -1207,7 +1206,8 @@ class TestSalesInvoice(unittest.TestCase):
si.load_from_db()
#check outstanding after advance cancellation
- self.assertEqual(flt(si.outstanding_amount), flt(si.grand_total + si.total_advance, si.precision("outstanding_amount")))
+ self.assertEqual(flt(si.outstanding_amount),
+ flt(si.rounded_total + si.total_advance, si.precision("outstanding_amount")))
def test_multiple_uom_in_selling(self):
frappe.db.sql("""delete from `tabItem Price`
@@ -1321,6 +1321,40 @@ class TestSalesInvoice(unittest.TestCase):
})
si.insert()
return si
+
+ def test_gl_entry_based_on_payment_schedule(self):
+ si = create_sales_invoice(do_not_save=True, customer="_Test Customer P")
+ si.append("payment_schedule", {
+ "due_date": add_days(nowdate(), 15),
+ "payment_amount": 20,
+ "invoice_portion": 20.00
+ })
+ si.append("payment_schedule", {
+ "due_date": add_days(nowdate(), 45),
+ "payment_amount": 80,
+ "invoice_portion": 80.00
+ })
+
+ si.save()
+ si.submit()
+
+ gl_entries = frappe.db.sql("""select account, debit, credit, due_date
+ from `tabGL Entry` where voucher_type='Sales Invoice' and voucher_no=%s
+ order by account asc, debit asc""", si.name, as_dict=1)
+ self.assertTrue(gl_entries)
+
+ expected_gl_entries = sorted([
+ [si.debit_to, 20.0, 0.0, add_days(nowdate(), 15)],
+ [si.debit_to, 80.0, 0.0, add_days(nowdate(), 45)],
+ ["Sales - _TC", 0.0, 100.0, None]
+ ])
+
+ for i, gle in enumerate(sorted(gl_entries, key=lambda gle: gle.account)):
+ self.assertEquals(expected_gl_entries[i][0], gle.account)
+ self.assertEquals(expected_gl_entries[i][1], gle.debit)
+ self.assertEquals(expected_gl_entries[i][2], gle.credit)
+ self.assertEquals(getdate(expected_gl_entries[i][3]), getdate(gle.due_date))
+
def test_company_monthly_sales(self):
existing_current_month_sales = frappe.db.get_value("Company", "_Test Company", "total_monthly_sales")
@@ -1367,6 +1401,53 @@ class TestSalesInvoice(unittest.TestCase):
self.assertEquals(expected_values[gle.account][1], gle.debit)
self.assertEquals(expected_values[gle.account][2], gle.credit)
+ def test_sales_invoice_with_shipping_rule(self):
+ from erpnext.accounts.doctype.shipping_rule.test_shipping_rule \
+ import create_shipping_rule
+
+ shipping_rule = create_shipping_rule(shipping_rule_type = "Selling", shipping_rule_name = "Shipping Rule - Sales Invoice Test")
+
+ si = frappe.copy_doc(test_records[2])
+
+ si.shipping_rule = shipping_rule.name
+ si.insert()
+
+ shipping_amount = 0.0
+ for condition in shipping_rule.get("conditions"):
+ if not condition.to_value or (flt(condition.from_value) <= si.net_total <= flt(condition.to_value)):
+ shipping_amount = condition.shipping_amount
+
+ shipping_charge = {
+ "doctype": "Sales Taxes and Charges",
+ "category": "Valuation and Total",
+ "charge_type": "Actual",
+ "account_head": shipping_rule.account,
+ "cost_center": shipping_rule.cost_center,
+ "tax_amount": shipping_amount,
+ "description": shipping_rule.name
+ }
+ si.append("taxes", shipping_charge)
+ si.save()
+
+ self.assertEquals(si.net_total, 1250)
+
+ self.assertEquals(si.total_taxes_and_charges, 577.05)
+ self.assertEquals(si.grand_total, 1827.05)
+
+ def test_create_invoice_without_terms(self):
+ si = create_sales_invoice(do_not_save=1)
+ self.assertFalse(si.get('payment_schedule'))
+
+ si.insert()
+ self.assertTrue(si.get('payment_schedule'))
+
+ def test_duplicate_due_date_in_terms(self):
+ si = create_sales_invoice(do_not_save=1)
+ si.append('payment_schedule', dict(due_date='2017-01-01', invoice_portion=50.00, payment_amount=50))
+ si.append('payment_schedule', dict(due_date='2017-01-01', invoice_portion=50.00, payment_amount=50))
+
+ self.assertRaises(frappe.ValidationError, si.insert)
+
def create_sales_invoice(**args):
si = frappe.new_doc("Sales Invoice")
args = frappe._dict(args)
@@ -1400,6 +1481,11 @@ def create_sales_invoice(**args):
si.insert()
if not args.do_not_submit:
si.submit()
+ else:
+ si.payment_schedule = []
+ else:
+ si.payment_schedule = []
+
return si
test_dependencies = ["Journal Entry", "Contact", "Address"]
diff --git a/erpnext/accounts/doctype/sales_invoice/tests/test_sales_invoice_with_payment.js b/erpnext/accounts/doctype/sales_invoice/tests/test_sales_invoice_with_payment.js
index 736443e2609..14c0d55bd8a 100644
--- a/erpnext/accounts/doctype/sales_invoice/tests/test_sales_invoice_with_payment.js
+++ b/erpnext/accounts/doctype/sales_invoice/tests/test_sales_invoice_with_payment.js
@@ -19,7 +19,8 @@ QUnit.test("test sales Invoice with payment", function(assert) {
{contact_person: 'Contact 1-Test Customer 1'},
{taxes_and_charges: 'TEST In State GST'},
{tc_name: 'Test Term 1'},
- {terms: 'This is Test'}
+ {terms: 'This is Test'},
+ {payment_terms_template: '_Test Payment Term Template UI'}
]);
},
() => cur_frm.save(),
@@ -43,6 +44,7 @@ QUnit.test("test sales Invoice with payment", function(assert) {
() => { cur_frm.set_value('paid_to','Cash - '+frappe.get_abbr(frappe.defaults.get_default('Company')));},
() => {cur_frm.set_value('reference_no','TEST1234');},
() => {cur_frm.set_value('reference_date',frappe.datetime.add_days(frappe.datetime.nowdate(), 0));},
+ () => cur_frm.set_value("payment_schedule", []),
() => cur_frm.save(),
() => {
// get payment details
diff --git a/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json
index 9f6c0036b5e..7e3ccc25e0c 100644
--- a/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json
+++ b/erpnext/accounts/doctype/sales_taxes_and_charges/sales_taxes_and_charges.json
@@ -1,5 +1,6 @@
{
"allow_copy": 0,
+ "allow_guest_to_view": 0,
"allow_import": 0,
"allow_rename": 0,
"autoname": "INVTD.######",
@@ -12,6 +13,7 @@
"editable_grid": 1,
"fields": [
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -22,7 +24,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Type",
"length": 0,
"no_copy": 0,
@@ -33,6 +37,7 @@
"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,
@@ -40,6 +45,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -51,7 +57,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Reference Row #",
"length": 0,
"no_copy": 0,
@@ -61,6 +69,7 @@
"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,
@@ -68,6 +77,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -78,7 +88,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Account Head",
"length": 0,
"no_copy": 0,
@@ -89,6 +101,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 1,
@@ -96,6 +109,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -107,7 +121,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Cost Center",
"length": 0,
"no_copy": 0,
@@ -118,6 +134,7 @@
"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,
@@ -125,6 +142,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -135,13 +153,16 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 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,
@@ -150,17 +171,20 @@
"width": "50%"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "description",
- "fieldtype": "Text Editor",
+ "fieldtype": "Small Text",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Description",
"length": 0,
"no_copy": 0,
@@ -171,6 +195,7 @@
"print_hide_if_no_value": 0,
"print_width": "300px",
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
@@ -179,6 +204,7 @@
"width": "300px"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -190,7 +216,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Is this Tax included in Basic Rate?",
"length": 0,
"no_copy": 0,
@@ -199,6 +227,7 @@
"print_hide_if_no_value": 0,
"print_width": "150px",
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 1,
"reqd": 0,
"search_index": 0,
@@ -207,6 +236,7 @@
"width": "150px"
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -217,7 +247,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -225,6 +257,7 @@
"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,
@@ -232,6 +265,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -242,7 +276,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Rate",
"length": 0,
"no_copy": 0,
@@ -252,6 +288,7 @@
"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,
@@ -259,6 +296,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -269,7 +307,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -277,6 +317,7 @@
"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,
@@ -284,6 +325,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -294,7 +336,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Amount",
"length": 0,
"no_copy": 0,
@@ -304,6 +348,7 @@
"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,
@@ -311,6 +356,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -321,7 +367,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 1,
+ "in_standard_filter": 0,
"label": "Total",
"length": 0,
"no_copy": 0,
@@ -331,6 +379,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -338,6 +387,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -348,7 +398,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Tax Amount After Discount Amount",
"length": 0,
"no_copy": 0,
@@ -358,6 +410,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -365,6 +418,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -375,7 +429,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -383,6 +439,7 @@
"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,
@@ -390,6 +447,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -400,7 +458,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Amount (Company Currency)",
"length": 0,
"no_copy": 0,
@@ -411,6 +471,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -418,6 +479,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -428,7 +490,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Total (Company Currency)",
"length": 0,
"no_copy": 0,
@@ -439,6 +503,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -446,6 +511,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -457,7 +523,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Tax Amount After Discount Amount (Company Currency)",
"length": 0,
"no_copy": 0,
@@ -466,6 +534,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -473,6 +542,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -483,7 +553,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Item Wise Tax Detail",
"length": 0,
"no_copy": 0,
@@ -493,6 +565,7 @@
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
@@ -500,6 +573,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -510,7 +584,9 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 1,
+ "in_global_search": 0,
"in_list_view": 0,
+ "in_standard_filter": 0,
"label": "Parenttype",
"length": 0,
"no_copy": 0,
@@ -520,6 +596,7 @@
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 0,
+ "remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 1,
@@ -527,17 +604,17 @@
"unique": 0
}
],
+ "has_web_view": 0,
"hide_heading": 1,
"hide_toolbar": 0,
"idx": 1,
"image_view": 0,
"in_create": 0,
- "in_dialog": 0,
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"max_attachments": 0,
- "modified": "2016-08-26 03:08:03.235381",
+ "modified": "2017-11-15 19:24:39.351600",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Taxes and Charges",
@@ -546,6 +623,8 @@
"quick_entry": 0,
"read_only": 0,
"read_only_onload": 0,
+ "show_name_in_global_search": 0,
"sort_order": "ASC",
+ "track_changes": 0,
"track_seen": 0
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/shipping_rule/shipping_rule.js b/erpnext/accounts/doctype/shipping_rule/shipping_rule.js
index 17f20839839..53ee08a773e 100644
--- a/erpnext/accounts/doctype/shipping_rule/shipping_rule.js
+++ b/erpnext/accounts/doctype/shipping_rule/shipping_rule.js
@@ -1,3 +1,15 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
+frappe.ui.form.on('Shipping Rule', {
+ refresh: function(frm) {
+ frm.trigger('toggle_reqd');
+ },
+ calculate_based_on: function(frm) {
+ frm.trigger('toggle_reqd');
+ },
+ toggle_reqd: function(frm) {
+ frm.toggle_reqd("shipping_amount", frm.doc.calculate_based_on === 'Fixed');
+ frm.toggle_reqd("conditions", frm.doc.calculate_based_on !== 'Fixed');
+ }
+});
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/shipping_rule/shipping_rule.json b/erpnext/accounts/doctype/shipping_rule/shipping_rule.json
index a8788a185ff..13b3265a94b 100644
--- a/erpnext/accounts/doctype/shipping_rule/shipping_rule.json
+++ b/erpnext/accounts/doctype/shipping_rule/shipping_rule.json
@@ -1,5 +1,6 @@
{
"allow_copy": 0,
+ "allow_guest_to_view": 0,
"allow_import": 0,
"allow_rename": 0,
"autoname": "field:label",
@@ -12,6 +13,7 @@
"editable_grid": 0,
"fields": [
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -23,7 +25,8 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
- "in_list_view": 1,
+ "in_global_search": 0,
+ "in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Rule Label",
"length": 0,
@@ -40,6 +43,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -50,6 +54,7 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Disabled",
@@ -68,134 +73,53 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
- "default": "Net Total",
- "fieldname": "calculate_based_on",
+ "fieldname": "column_break_4",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "shipping_rule_type",
"fieldtype": "Select",
- "hidden": 1,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_list_view": 1,
- "in_standard_filter": 1,
- "label": "Calculate Based On",
- "length": 0,
- "no_copy": 0,
- "options": "Net Total\nNet Weight",
- "permlevel": 0,
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 1,
- "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.disabled",
- "fieldname": "rule_conditions_section",
- "fieldtype": "Section Break",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
- "label": "Shipping Rule Conditions",
- "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": "conditions",
- "fieldtype": "Table",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Shipping Rule Conditions",
- "length": 0,
- "no_copy": 0,
- "options": "Shipping Rule Condition",
- "permlevel": 0,
- "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,
- "depends_on": "eval:!doc.disabled",
- "fieldname": "section_break_6",
- "fieldtype": "Section Break",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Valid for Countries",
- "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": "worldwide_shipping",
- "fieldtype": "Check",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Worldwide Shipping",
+ "label": "Shipping Rule Type",
"length": 0,
"no_copy": 0,
+ "options": "Selling\nBuying",
"permlevel": 0,
"precision": "",
"print_hide": 0,
@@ -209,36 +133,7 @@
"unique": 0
},
{
- "allow_on_submit": 0,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "depends_on": "eval:!doc.worldwide_shipping",
- "fieldname": "countries",
- "fieldtype": "Table",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Valid for Countries",
- "length": 0,
- "no_copy": 0,
- "options": "Shipping Rule Country",
- "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_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -250,8 +145,10 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
+ "label": "Accounting",
"length": 0,
"no_copy": 0,
"permlevel": 0,
@@ -266,6 +163,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -276,6 +174,7 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Company",
@@ -294,6 +193,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -304,6 +204,7 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"length": 0,
@@ -320,6 +221,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -330,6 +232,7 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Shipping Account",
@@ -348,6 +251,7 @@
"unique": 0
},
{
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -358,6 +262,7 @@
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
+ "in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Cost Center",
@@ -374,20 +279,264 @@
"search_index": 0,
"set_only_once": 0,
"unique": 0
+ },
+ {
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "shipping_amount_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "Fixed",
+ "fieldname": "calculate_based_on",
+ "fieldtype": "Select",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 1,
+ "in_standard_filter": 1,
+ "label": "Calculate Based On",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Fixed\nNet Total",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "column_break_8",
+ "fieldtype": "Column Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "eval:doc.calculate_based_on==='Fixed'",
+ "fieldname": "shipping_amount",
+ "fieldtype": "Currency",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Shipping Amount",
+ "length": 0,
+ "no_copy": 0,
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "collapsible_depends_on": "",
+ "columns": 0,
+ "depends_on": "eval:doc.calculate_based_on!=='Fixed'",
+ "fieldname": "rule_conditions_section",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Shipping Rule Conditions",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "conditions",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Shipping Rule Conditions",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Shipping Rule Condition",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "fieldname": "section_break_6",
+ "fieldtype": "Section Break",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Restrict to Countries",
+ "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_bulk_edit": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "depends_on": "",
+ "fieldname": "countries",
+ "fieldtype": "Table",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Valid for Countries",
+ "length": 0,
+ "no_copy": 0,
+ "options": "Shipping Rule Country",
+ "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
}
],
+ "has_web_view": 0,
"hide_heading": 0,
"hide_toolbar": 0,
"icon": "fa fa-truck",
"idx": 1,
"image_view": 0,
"in_create": 0,
- "in_dialog": 0,
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2016-11-07 05:18:06.472734",
+ "modified": "2017-11-17 13:10:34.302259",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Shipping Rule",
@@ -403,7 +552,6 @@
"export": 0,
"if_owner": 0,
"import": 0,
- "is_custom": 0,
"permlevel": 0,
"print": 1,
"read": 1,
@@ -424,7 +572,6 @@
"export": 0,
"if_owner": 0,
"import": 0,
- "is_custom": 0,
"permlevel": 0,
"print": 1,
"read": 1,
@@ -445,7 +592,6 @@
"export": 0,
"if_owner": 0,
"import": 0,
- "is_custom": 0,
"permlevel": 0,
"print": 1,
"read": 1,
@@ -466,7 +612,6 @@
"export": 0,
"if_owner": 0,
"import": 0,
- "is_custom": 0,
"permlevel": 0,
"print": 1,
"read": 1,
@@ -481,6 +626,8 @@
"quick_entry": 0,
"read_only": 0,
"read_only_onload": 0,
+ "show_name_in_global_search": 0,
"sort_order": "ASC",
+ "track_changes": 0,
"track_seen": 0
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/shipping_rule/shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/shipping_rule.py
index a47df2d8625..259b1a8b664 100644
--- a/erpnext/accounts/doctype/shipping_rule/shipping_rule.py
+++ b/erpnext/accounts/doctype/shipping_rule/shipping_rule.py
@@ -15,18 +15,10 @@ class ManyBlankToValuesError(frappe.ValidationError): pass
class ShippingRule(Document):
def validate(self):
- self.validate_value("calculate_based_on", "in", ["Net Total", "Net Weight"])
- self.conditions = self.get("conditions")
self.validate_from_to_values()
self.sort_shipping_rule_conditions()
self.validate_overlapping_shipping_rule_conditions()
- if self.worldwide_shipping:
- self.countries = []
-
- elif not len([d.country for d in self.countries if d.country]):
- frappe.throw(_("Please specify a country for this Shipping Rule or check Worldwide Shipping"))
-
def validate_from_to_values(self):
zero_to_values = []
@@ -47,6 +39,76 @@ class ShippingRule(Document):
throw(_('There can only be one Shipping Rule Condition with 0 or blank value for "To Value"'),
ManyBlankToValuesError)
+ def apply(self, doc):
+ '''Apply shipping rule on given doc. Called from accounts controller'''
+
+ shipping_amount = 0.0
+ by_value = False
+
+ self.validate_countries(doc)
+
+ if self.calculate_based_on == 'Net Total':
+ value = doc.base_net_total
+ by_value = True
+
+ elif self.calculate_based_on == 'Fixed':
+ shipping_amount = self.shipping_amount
+
+ # shipping amount by value, apply conditions
+ if by_value:
+ shipping_amount = self.get_shipping_amount_from_rules(value)
+
+ # convert to order currency
+ if doc.currency != doc.company_currency:
+ shipping_amount = flt(shipping_amount / doc.conversion_rate, 2)
+
+ self.add_shipping_rule_to_tax_table(doc, shipping_amount)
+
+ def get_shipping_amount_from_rules(self, value):
+ for condition in self.get("conditions"):
+ if not condition.to_value or (flt(condition.from_value) <= value <= flt(condition.to_value)):
+ return condition.shipping_amount
+
+ return 0.0
+
+ def validate_countries(self, doc):
+ # validate applicable countries
+ if self.countries:
+ shipping_country = doc.get_shipping_address().get('country')
+ if not shipping_country:
+ frappe.throw(_('Shipping Address does not have country, which is required for this Shipping Rule'))
+ if shipping_country not in [d.country for d in self.countries]:
+ frappe.throw(_('Shipping rule not applicable for country {0}'.format(shipping_country)))
+
+ def add_shipping_rule_to_tax_table(self, doc, shipping_amount):
+ shipping_charge = {
+ "charge_type": "Actual",
+ "account_head": self.account,
+ "cost_center": self.cost_center
+ }
+ if self.shipping_rule_type == "Selling":
+ # check if not applied on purchase
+ if not doc.meta.get_field('taxes').options == 'Sales Taxes and Charges':
+ frappe.throw(_('Shipping rule only applicable for Selling'))
+ shipping_charge["doctype"] = "Sales Taxes and Charges"
+ else:
+ # check if not applied on sales
+ if not doc.meta.get_field('taxes').options == 'Purchase Taxes and Charges':
+ frappe.throw(_('Shipping rule only applicable for Buying'))
+
+ shipping_charge["doctype"] = "Purchase Taxes and Charges"
+ shipping_charge["category"] = "Valuation and Total"
+ shipping_charge["add_deduct_tax"] = "Add"
+
+ existing_shipping_charge = doc.get("taxes", filters=shipping_charge)
+ if existing_shipping_charge:
+ # take the last record found
+ existing_shipping_charge[-1].tax_amount = shipping_amount
+ else:
+ shipping_charge["tax_amount"] = shipping_amount
+ shipping_charge["description"] = self.label
+ doc.append("taxes", shipping_charge)
+
def sort_shipping_rule_conditions(self):
"""Sort Shipping Rule Conditions based on increasing From Value"""
self.shipping_rules_conditions = sorted(self.conditions, key=lambda d: flt(d.from_value))
diff --git a/erpnext/accounts/doctype/shipping_rule/test_records.json b/erpnext/accounts/doctype/shipping_rule/test_records.json
index a271009b2b4..26b37374433 100644
--- a/erpnext/accounts/doctype/shipping_rule/test_records.json
+++ b/erpnext/accounts/doctype/shipping_rule/test_records.json
@@ -7,6 +7,7 @@
"doctype": "Shipping Rule",
"label": "_Test Shipping Rule",
"name": "_Test Shipping Rule",
+ "shipping_rule_type": "Selling",
"conditions": [
{
"doctype": "Shipping Rule Condition",
@@ -26,9 +27,12 @@
"doctype": "Shipping Rule Condition",
"from_value": 201,
"parentfield": "conditions",
- "shipping_amount": 0.0
+ "shipping_amount": 200.0
}
],
+ "countries": [
+ {"country": "India"}
+ ],
"worldwide_shipping": 1
},
{
@@ -73,6 +77,7 @@
"doctype": "Shipping Rule",
"label": "_Test Shipping Rule - Rest of the World",
"name": "_Test Shipping Rule - Rest of the World",
+ "shipping_rule_type": "Buying",
"conditions": [
{
"doctype": "Shipping Rule Condition",
@@ -95,6 +100,9 @@
"shipping_amount": 1500.0
}
],
- "worldwide_shipping": 1
+ "worldwide_shipping": 1,
+ "countries": [
+ {"country": "Germany"}
+ ]
}
]
diff --git a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.js b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.js
index 9c72aebf609..0201f762b37 100644
--- a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.js
+++ b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.js
@@ -7,6 +7,8 @@ QUnit.test("test Shipping Rule", function(assert) {
() => {
return frappe.tests.make("Shipping Rule", [
{label: "Next Day Shipping"},
+ {shipping_rule_type: "Selling"},
+ {calculate_based_on: 'Net Total'},
{conditions:[
[
{from_value:1},
diff --git a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py
index 76b1d9e389c..582ecb2e165 100644
--- a/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py
+++ b/erpnext/accounts/doctype/shipping_rule/test_shipping_rule.py
@@ -36,3 +36,38 @@ class TestShippingRule(unittest.TestCase):
shipping_rule.get("conditions")[1].from_value = range_b[0]
shipping_rule.get("conditions")[1].to_value = range_b[1]
self.assertRaises(OverlappingConditionError, shipping_rule.insert)
+
+def create_shipping_rule(shipping_rule_type, shipping_rule_name):
+ sr = frappe.new_doc("Shipping Rule")
+ sr.account = "_Test Account Shipping Charges - _TC"
+ sr.calculate_based_on = "Net Total"
+ sr.company = "_Test Company"
+ sr.cost_center = "_Test Cost Center - _TC"
+ sr.label = shipping_rule_name
+ sr.name = shipping_rule_name
+ sr.shipping_rule_type = shipping_rule_type
+
+ sr.append("conditions", {
+ "doctype": "Shipping Rule Condition",
+ "from_value": 0,
+ "parentfield": "conditions",
+ "shipping_amount": 50.0,
+ "to_value": 100
+ })
+ sr.append("conditions", {
+ "doctype": "Shipping Rule Condition",
+ "from_value": 101,
+ "parentfield": "conditions",
+ "shipping_amount": 100.0,
+ "to_value": 200
+ })
+ sr.append("conditions", {
+ "doctype": "Shipping Rule Condition",
+ "from_value": 201,
+ "parentfield": "conditions",
+ "shipping_amount": 200.0,
+ "to_value": 2000
+ })
+ sr.insert(ignore_permissions=True)
+ sr.submit()
+ return sr
diff --git a/erpnext/accounts/doctype/shipping_rule/tests/test_shipping_rule_for_buying.js b/erpnext/accounts/doctype/shipping_rule/tests/test_shipping_rule_for_buying.js
new file mode 100644
index 00000000000..ab1b77cd5f5
--- /dev/null
+++ b/erpnext/accounts/doctype/shipping_rule/tests/test_shipping_rule_for_buying.js
@@ -0,0 +1,37 @@
+QUnit.module('Shipping Rule');
+
+QUnit.test("test Shipping Rule", function(assert) {
+ assert.expect(1);
+ let done = assert.async();
+ frappe.run_serially([
+ () => {
+ return frappe.tests.make("Shipping Rule", [
+ {label: "Two Day Shipping"},
+ {shipping_rule_type: "Buying"},
+ {fixed_shipping_amount: 0},
+ {conditions:[
+ [
+ {from_value:1},
+ {to_value:200},
+ {shipping_amount:100}
+ ],
+ [
+ {from_value:201},
+ {to_value:3000},
+ {shipping_amount:200}
+ ],
+ ]},
+ {countries:[
+ [
+ {country:'India'}
+ ]
+ ]},
+ {account:'Accounts Payable - '+frappe.get_abbr(frappe.defaults.get_default("Company"))},
+ {cost_center:'Main - '+frappe.get_abbr(frappe.defaults.get_default("Company"))}
+ ]);
+ },
+ () => {assert.ok(cur_frm.doc.name=='Two Day Shipping');},
+ () => done()
+ ]);
+});
+
diff --git a/erpnext/accounts/general_ledger.py b/erpnext/accounts/general_ledger.py
index c575d59ae74..d370c496fbc 100644
--- a/erpnext/accounts/general_ledger.py
+++ b/erpnext/accounts/general_ledger.py
@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe, erpnext
-from frappe.utils import flt, cstr, cint
+from frappe.utils import flt, cstr, cint, getdate
from frappe import _
from frappe.model.meta import get_field_precision
from erpnext.accounts.doctype.budget.budget import validate_expense_against_budget
@@ -75,7 +75,8 @@ def check_if_in_list(gle, gl_map):
and cstr(e.get('against_voucher'))==cstr(gle.get('against_voucher')) \
and cstr(e.get('against_voucher_type')) == cstr(gle.get('against_voucher_type')) \
and cstr(e.get('cost_center')) == cstr(gle.get('cost_center')) \
- and cstr(e.get('project')) == cstr(gle.get('project')):
+ and cstr(e.get('project')) == cstr(gle.get('project')) \
+ and getdate(e.get('due_date')) == getdate(gle.get('due_date')):
return e
def save_entries(gl_map, adv_adj, update_outstanding, from_repost=False):
diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js
index 6b580335262..558dd8dc1c6 100644
--- a/erpnext/accounts/page/pos/pos.js
+++ b/erpnext/accounts/page/pos/pos.js
@@ -1505,11 +1505,15 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
me.make_menu_list()
}, "fa fa-plus")
- if (this.frm.doc.docstatus == 1) {
+ if (this.frm.doc.docstatus == 1 || this.pos_profile_data["allow_print_before_pay"]) {
this.page.set_secondary_action(__("Print"), function () {
+ me.create_invoice();
var html = frappe.render(me.print_template_data, me.frm.doc)
me.print_document(html)
})
+ }
+
+ if (this.frm.doc.docstatus == 1) {
this.page.add_menu_item(__("Email"), function () {
me.email_prompt()
})
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py
index e6887baacce..7bccfe89f36 100644
--- a/erpnext/accounts/party.py
+++ b/erpnext/accounts/party.py
@@ -9,7 +9,7 @@ from frappe import _, msgprint, scrub
from frappe.defaults import get_user_permissions
from frappe.model.utils import get_fetch_values
from frappe.utils import (add_days, getdate, formatdate, get_first_day, date_diff,
- add_years, get_timestamp, nowdate, flt)
+ add_years, get_timestamp, nowdate, flt, add_months, get_last_day)
from frappe.contacts.doctype.address.address import (get_address_display,
get_default_address, get_company_address)
from frappe.contacts.doctype.contact.contact import get_contact_details, get_default_contact
@@ -51,6 +51,7 @@ def _get_party_details(party=None, account=None, party_type="Customer", company=
set_other_values(out, party, party_type)
set_price_list(out, party, party_type, price_list)
out["taxes_and_charges"] = set_taxes(party.name, party_type, posting_date, company, out.customer_group, out.supplier_type)
+ out["payment_terms_template"] = get_pyt_term_template(party.name, party_type)
if not out.get("currency"):
out["currency"] = currency
@@ -163,7 +164,7 @@ def set_account_and_due_date(party, account, party_type, company, posting_date,
out = {
party_type.lower(): party,
account_fieldname : account,
- "due_date": get_due_date(posting_date, party_type, party, company)
+ "due_date": get_due_date(posting_date, party_type, party)
}
return out
@@ -262,51 +263,54 @@ def validate_party_accounts(doc):
if doc.get("default_currency") and party_account_currency and company_default_currency:
if doc.default_currency != party_account_currency and doc.default_currency != company_default_currency:
- frappe.throw(_("Billing currency must be equal to either default comapany's currency or party account currency"))
+ frappe.throw(_("Billing currency must be equal to either default company's currency or party account currency"))
+
@frappe.whitelist()
-def get_due_date(posting_date, party_type, party, company):
- """Set Due Date = Posting Date + Credit Days"""
+def get_due_date(posting_date, party_type, party):
+ """Get due date from `Payment Terms Template`"""
due_date = None
if posting_date and party:
due_date = posting_date
- credit_days_based_on, credit_days = get_credit_days(party_type, party, company)
- if credit_days_based_on == "Fixed Days" and credit_days:
- due_date = add_days(posting_date, credit_days)
- elif credit_days_based_on == "Last Day of the Next Month":
- due_date = (get_first_day(posting_date, 0, 2) + datetime.timedelta(-1)).strftime("%Y-%m-%d")
+ template_name = get_pyt_term_template(party, party_type)
+ if template_name:
+ due_date = get_due_date_from_template(template_name, posting_date).strftime("%Y-%m-%d")
+ else:
+ if party_type == "Supplier":
+ supplier_type = frappe.db.get_value(party_type, party, fieldname="supplier_type")
+ template_name = frappe.db.get_value("Supplier Type", supplier_type, fieldname="payment_terms")
+ if template_name:
+ due_date = get_due_date_from_template(template_name, posting_date).strftime("%Y-%m-%d")
return due_date
-def get_credit_days(party_type, party, company):
- credit_days = 0
- if party_type and party:
- if party_type == "Customer":
- credit_days_based_on, credit_days, customer_group = \
- frappe.db.get_value(party_type, party, ["credit_days_based_on", "credit_days", "customer_group"])
+
+def get_due_date_from_template(template_name, posting_date):
+ """
+ Inspects all `Payment Term`s from the a `Payment Terms Template` and returns the due
+ date after considering all the `Payment Term`s requirements.
+ :param template_name: Name of the `Payment Terms Template`
+ :return: String representing the calculated due date
+ """
+ due_date = getdate(posting_date)
+ template = frappe.get_doc('Payment Terms Template', template_name)
+
+ for term in template.terms:
+ if term.due_date_based_on == 'Day(s) after invoice date':
+ due_date = max(due_date, add_days(due_date, term.credit_days))
+ elif term.due_date_based_on == 'Day(s) after the end of the invoice month':
+ due_date = max(due_date, add_days(get_last_day(due_date), term.credit_days))
else:
- credit_days_based_on, credit_days, supplier_type = \
- frappe.db.get_value(party_type, party, ["credit_days_based_on", "credit_days", "supplier_type"])
+ due_date = max(due_date, add_months(get_last_day(due_date), term.credit_months))
- if not credit_days_based_on:
- if party_type == "Customer" and customer_group:
- credit_days_based_on, credit_days = \
- frappe.db.get_value("Customer Group", customer_group, ["credit_days_based_on", "credit_days"])
- elif party_type == "Supplier" and supplier_type:
- credit_days_based_on, credit_days = \
- frappe.db.get_value("Supplier Type", supplier_type, ["credit_days_based_on", "credit_days"])
+ return due_date
- if not credit_days_based_on:
- credit_days_based_on, credit_days = \
- frappe.db.get_value("Company", company, ["credit_days_based_on", "credit_days"])
- return credit_days_based_on, credit_days
-
-def validate_due_date(posting_date, due_date, party_type, party, company):
+def validate_due_date(posting_date, due_date, party_type, party):
if getdate(due_date) < getdate(posting_date):
frappe.throw(_("Due Date cannot be before Posting Date"))
else:
- default_due_date = get_due_date(posting_date, party_type, party, company)
+ default_due_date = get_due_date(posting_date, party_type, party)
if not default_due_date:
return
@@ -316,7 +320,8 @@ def validate_due_date(posting_date, due_date, party_type, party, company):
msgprint(_("Note: Due / Reference Date exceeds allowed customer credit days by {0} day(s)")
.format(date_diff(due_date, default_due_date)))
else:
- frappe.throw(_("Due / Reference Date cannot be after {0}").format(formatdate(default_due_date)))
+ frappe.throw(_("Due / Reference Date cannot be after {0}")
+ .format(formatdate(default_due_date)))
@frappe.whitelist()
def set_taxes(party, party_type, posting_date, company, customer_group=None, supplier_type=None,
@@ -353,6 +358,16 @@ def set_taxes(party, party_type, posting_date, company, customer_group=None, sup
return get_tax_template(posting_date, args)
+
+@frappe.whitelist()
+def get_pyt_term_template(party_name, party_type):
+ template = None
+ if party_type in ('Customer', 'Supplier'):
+ template = frappe.db.get_value(party_type, party_name, fieldname='payment_terms')
+
+ return template
+
+
def validate_party_frozen_disabled(party_type, party_name):
if party_type and party_name:
if party_type in ("Customer", "Supplier"):
diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
index 8fafce67812..9d872a49f08 100644
--- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
+++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
@@ -36,8 +36,14 @@
{%= data[i][__("Voucher No")] %}
+### Account Number
+A standard chart of accounts is organized according to a numerical system. Each major category will begin with a certain number, and then the sub-categories within that major category will all begin with the same number. For example, if assets are classified by numbers starting with the digit 1000, then cash accounts might be labeled 1100, bank accounts might be labeled 1200, accounts receivable might be labeled 1300, and so on. A gap between account numbers is generally maintained for adding accounts in the future.
+
+You can assign a number while creating an account from Chart of Accounts page. You can also edit a number from account record, by clicking "Update Account Number" button. On updating account number, system renames the account name automatically to embed the number in the account name.
+
### Other Account Types
In ERPNext, you can also specify more information when you create a new
@@ -115,6 +120,19 @@ Account, this is there to help you select that particular account in a
scenario like Bank Account or a Tax Account and has no effect on the Chart
itself.
+Explanation of account types:
+- **Bank:** The account group under which bank account will be created.
+- **Cash:** The account group under which cash account will be created.
+- **Cost of Goods Sold:** The account to book the accumulated total of all costs used to manufacture / purchase a product or service, sold by a company.
+- **Depreciation:** The expense account to book the depreciation of teh fixed assets.
+- **Expenses Included In Valuation:** The account to book the expenses (apart from direct material costs) included in landed cost of an item/product, used in Perpetual Inventory, .
+- **Fixed Asset:** The account to maintain the costs of fixed assets.
+- **Payable:** The account which represents the amount owed by a company to its creditors.
+- **Receivable:** The account which represents the amount owed by a company by its debtors.
+- **Stock:** The account group under which the warehouse account will be created.
+- **Stock Adjustment:** An expense account to book any adjustment entry of stock/inventory, and generally comes at the same level of Cost of Goods Sold.
+- **Stock Received But Not Billed:** A temporary liability account which holds the value of stock received but not billed yet and used in Perpetual Inventory.
+
### Creating / Editing Accounts
To create new Accounts, explore your Chart of Accounts and click on an Account
@@ -124,7 +142,8 @@ will see an option to “Open” or “Add Child” a new Account.
Option to create will only appear if you click on a Group (folder) type
-Account.
+Account. There you need to enter account name, account number and some more
+optional details.
ERPNext creates a standard structure for you when the Company is created but
it is up to you to modify or add or remove accounts.
diff --git a/erpnext/docs/user/manual/en/accounts/payment-terms.md b/erpnext/docs/user/manual/en/accounts/payment-terms.md
new file mode 100644
index 00000000000..4f28d0da17c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/payment-terms.md
@@ -0,0 +1,70 @@
+# Payment Terms
+You can save your business' payment terms on ERPNext and include it in all documents in the sales/purchase cycle and ERPNext will make all the proper general ledger entries accordingly.
+
+The documents you can attach Payment Terms to are:
+- Sales Invoice
+- Purchase Invoice
+- Sales Order
+- Purchase Order
+- Quotation
+
+Note that the introduction of Payment Terms removes "Credit Days" and "Credit Days Based On" fields in Customer/Supplier master. Payment Term contains the same information and makes it more flexible to use.
+
+## Payment Terms
+Navigate to the Payment Term list page and click "New".
+> Accounts > Payment Term > New Payment Term
+
+Payment Term has the following fields:
+**Payment Term Name:** (optional) The name for this Payment Term.
+
+**Due Date Based On:** The basis by which the due date for the Payment Term is to be calculated. There are three options:
+- Day(s) after invoice date: Due date should be calculated in days with reference to the posting date of the invoice
+- Day(s) after the end of the invoice month: Due date should be calculated in days with reference to the last day of the month in which the invoice was created
+- Month(s) after the end of the invoice month: Due date should be calculated in months with reference to the last day of the month in which the invoice was created
+
+**Invoice Portion:** (optional) The portion of the total invoice amount for which this Payment Term should be applied. Value given will be regarded as percentage i.e 100 = 100%
+
+**Credit Days:** (optional) The number of days or month credit is allowed depending on the option chosen in the `Due Date Based On` field. 0 means no credit allowed.
+
+**Description:** (optional) A brief description of the Payment Term.
+
+## Payment Terms In Converted Documents
+When converting or copying documents in the sales/purchase cycle, the attached Payment Term(s) will not be copied. The reason for this is because the copied information might no longer be true. For example, a Quotation is created for a service costing $1000 on January 1 with payment term of "N 30" (Net payable within 30 days) and then sent to a customer. On the quotation, the due date on the invoice will be January 30. Let's say the customer agrees to the quotation of January 20 and you decide to make an invoice from the Quotation. If the Payment Terms from the Quotation is copied, the due date on the invoice will still wrongly read January 30. This issue also applies for recurring documents.
+
+This does not mean you have manually set Payment Terms for every document. If you want the Payment Terms to be copyable, make use of Payment Terms Template.
+
+## Payment Terms Template
+Payment Terms Template tells ERPNext how to populate the table in the Payment Terms Schedule section of the sales/purchase document.
+
+You should use it if you have a set of standard Payment Terms or if you want the Payment Term(s) on a sales/purchase document to be copyable.
+
+To create a new Payment Terms Template, navigate to the Payment Term Template creation form:
+> Accounts > Payment Terms Template > New Payment Terms Template
+
+**Payment Term:** (optional) The name for this Payment Term.
+
+**Due Date Based On:** The basis by which the due date for the Payment Term is to be calculated. There are three options:
+- Day(s) after invoice date: Due date should be calculated in days with reference to the posting date of the invoice
+- Day(s) after the end of the invoice month: Due date should be calculated in days with reference to the last day of the month in which the invoice was created
+- Month(s) after the end of the invoice month: Due date should be calculated in months with reference to the last day of the month in which the invoice was created
+
+**Invoice Portion:** (optional) The portion of the total invoice amount for which this Payment Term should be applied. Value given will be regarded as percentage i.e 100 = 100%
+
+**Credit Days:** (optional) The number of days or month credit is allowed depending on the option chosen in the `Due Date Based On` field. 0 means no credit allowed.
+
+**Description:** (optional) A brief description of the Payment Term.
+
+Add as many rows as needed but make sure that the sum of the values in the `Invoice Portion` fields in all populated rows equals 100.
+
+## How to Add Payment Terms To Documents
+You can add Payments Terms in the "Payment Terms Schedule" section of the Document. Each row in the table represents a portion of the document's grand total. The table collects the following information:
+
+**Payment Term:** (optional) The name of the Payment Term document you require. If this is added, the data from the selected Payment Term will be used to populate the remaining columns in the row.
+
+**Description:** (optional) Description of the Payment Term.
+
+**Due Date:** (optional) The due date for the portion of the invoice. Set this value only if you did not specify anything in the `Payment Term` column.
+
+**Invoice Portion:** The percentage portion of the document represented in each row.
+
+**Payment Amount:** The amount due from the portion of the invoice represented by each row.
diff --git a/erpnext/docs/user/manual/en/accounts/sales-invoice.md b/erpnext/docs/user/manual/en/accounts/sales-invoice.md
index f4c41435042..3ea13f09b58 100644
--- a/erpnext/docs/user/manual/en/accounts/sales-invoice.md
+++ b/erpnext/docs/user/manual/en/accounts/sales-invoice.md
@@ -56,6 +56,21 @@ bill this Invoice and the period for which the contract is valid.
ERPNext will automatically create new Invoices and mail it to the Email Addresses
you set.
+#### Automatically Fetching Item Batch Numbers
+
+If you are selling an item from a [Batch](/docs/user/manual/en/stock/batch),
+ERPNext will automatically fetch a batch number for you if "Update Stock"
+is checked. The batch number will be fetched on a First Expiring First Out
+(FEFO) basis. This is a variant of First In First Out (FIFO) that gives
+highest priority to the soonest to expire Items.
+
+
+
+Note that if the first batch in the queue cannot satisfy the order on the invoice,
+the next batch in the queue that can satisfy the order will be selected. If there is
+no batch that can satisfy the order, ERPNext will cancel its attempt to automatically
+fetch a suitable batch number.
+
#### POS Invoices
Consider a scenario where retail transaction is carried out. For e.g: A retail shop.
diff --git a/erpnext/docs/user/manual/en/schools/schedule/__init__.py b/erpnext/docs/user/manual/en/education/Assessment/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/schedule/__init__.py
rename to erpnext/docs/user/manual/en/education/Assessment/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_criteria.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_criteria.md
similarity index 82%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_criteria.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_criteria.md
index c422578a5ea..b97cfb12596 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/assessment_criteria.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/assessment_criteria.md
@@ -2,12 +2,12 @@
Assessment Criteria is the parameter based on which you assess the Student.
-
+
After assessment is conducted for a Course, marks earned are entered based on the Assessment Criteria. For example, if assessment was conducted for science subject, then you can evaluate Student in Science on various criteria like Writing, Practicals, Presentation etc.
Assessment Criteria is be used when scheduling Assessment Plan for Student Group and Course.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_criteria_group.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_criteria_group.md
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_criteria_group.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_criteria_group.md
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_group.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_group.md
similarity index 79%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_group.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_group.md
index 90c7b5d3467..ed02a5366dd 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/assessment_group.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/assessment_group.md
@@ -4,10 +4,10 @@ Assessment Group tree is a master where you can define the hierarchy for examina
For example, if you conduct two assessment in a academic year, then setup Assessment Group as following.
-
+
On the same lines, you can also define multiple Assessment Group bases on assessment conducted in your institute.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_plan.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_plan.md
similarity index 81%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_plan.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_plan.md
index 103def13241..7272279c9b5 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/assessment_plan.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/assessment_plan.md
@@ -10,10 +10,10 @@ To schedule an assessment/examination for a Student Group, for specific Course,
4. Examiner and Supervisor
-
+
5. Assessment Criteria is list of criteria based which each student in will be evaluated and grades will be assigned.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_result.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_result.md
similarity index 68%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_result.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_result.md
index dc35ca7ee9e..ed3e5fb3344 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/assessment_result.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/assessment_result.md
@@ -1,7 +1,7 @@
#Assessment Result
-Assessment Result is a log of marks/grades earned by the student for specific Assessment. Assessment Result is created in the backend based on the marks entered in the [Assessment Result Tool](/docs/user/manual/en/schools/assessment/assessment_result_tool.html).
+Assessment Result is a log of marks/grades earned by the student for specific Assessment. Assessment Result is created in the backend based on the marks entered in the [Assessment Result Tool](/docs/user/manual/en/education/assessment/assessment_result_tool.html).
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/assessment_result_tool.md b/erpnext/docs/user/manual/en/education/Assessment/assessment_result_tool.md
similarity index 89%
rename from erpnext/docs/user/manual/en/schools/Assessment/assessment_result_tool.md
rename to erpnext/docs/user/manual/en/education/Assessment/assessment_result_tool.md
index bb2a2ba4636..88b7a7a078e 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/assessment_result_tool.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/assessment_result_tool.md
@@ -2,7 +2,7 @@
Assessment Result Tool help you entering marks earned by the Students for specific course. In this tool, based on the Assessment Plan, all the Student will be fetched into Assessment Result Tool. Also, Columns for Assessment Criteria will be where marks earned can be entered for each Student.
-
+
As you go on entering marks for a Student, and switch to next student, in the backend, Student Result record will be auto-created for that Student.
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/grading_scale.md b/erpnext/docs/user/manual/en/education/Assessment/grading_scale.md
similarity index 83%
rename from erpnext/docs/user/manual/en/schools/Assessment/grading_scale.md
rename to erpnext/docs/user/manual/en/education/Assessment/grading_scale.md
index 45191124b89..0ad610b6331 100644
--- a/erpnext/docs/user/manual/en/schools/Assessment/grading_scale.md
+++ b/erpnext/docs/user/manual/en/education/Assessment/grading_scale.md
@@ -2,6 +2,6 @@
In the Grading Scale, you can define various grades and threshold for them. Based on the score earned by an Student for an Assessment, Grade will be assigned.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/index.md b/erpnext/docs/user/manual/en/education/Assessment/index.md
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/Assessment/index.md
rename to erpnext/docs/user/manual/en/education/Assessment/index.md
diff --git a/erpnext/docs/user/manual/en/schools/Assessment/index.txt b/erpnext/docs/user/manual/en/education/Assessment/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/Assessment/index.txt
rename to erpnext/docs/user/manual/en/education/Assessment/index.txt
diff --git a/erpnext/docs/user/manual/en/schools/setup/__init__.py b/erpnext/docs/user/manual/en/education/Attendance/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/setup/__init__.py
rename to erpnext/docs/user/manual/en/education/Attendance/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/Attendance/index.md b/erpnext/docs/user/manual/en/education/Attendance/index.md
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/Attendance/index.md
rename to erpnext/docs/user/manual/en/education/Attendance/index.md
diff --git a/erpnext/docs/user/manual/en/schools/Attendance/index.txt b/erpnext/docs/user/manual/en/education/Attendance/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/Attendance/index.txt
rename to erpnext/docs/user/manual/en/education/Attendance/index.txt
diff --git a/erpnext/docs/user/manual/en/schools/Attendance/student-attendance-tool.md b/erpnext/docs/user/manual/en/education/Attendance/student-attendance-tool.md
similarity index 87%
rename from erpnext/docs/user/manual/en/schools/Attendance/student-attendance-tool.md
rename to erpnext/docs/user/manual/en/education/Attendance/student-attendance-tool.md
index 5c4ce3072a3..fac9d6e69d8 100644
--- a/erpnext/docs/user/manual/en/schools/Attendance/student-attendance-tool.md
+++ b/erpnext/docs/user/manual/en/education/Attendance/student-attendance-tool.md
@@ -10,6 +10,6 @@ To mark the **Attedance* based on Student Group select the group based on
Student detials will be autofetched and you can mark the attendance of the given date.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/Attendance/student-attendance.md b/erpnext/docs/user/manual/en/education/Attendance/student-attendance.md
similarity index 92%
rename from erpnext/docs/user/manual/en/schools/Attendance/student-attendance.md
rename to erpnext/docs/user/manual/en/education/Attendance/student-attendance.md
index 1b917d0ae26..4be2831f309 100644
--- a/erpnext/docs/user/manual/en/schools/Attendance/student-attendance.md
+++ b/erpnext/docs/user/manual/en/education/Attendance/student-attendance.md
@@ -8,7 +8,7 @@ To create Attendance record :
Select the **Student, Course Schedule and Student Group** for which attendance is to be marked for the given date. Set the Status to Present/Absent and save.
-
+
**Student Attendance tool** can be used for bulk updation of the attendance based on **Batch, Course or Activity**.
diff --git a/erpnext/docs/user/manual/en/schools/Attendance/student-leave-application.md b/erpnext/docs/user/manual/en/education/Attendance/student-leave-application.md
similarity index 63%
rename from erpnext/docs/user/manual/en/schools/Attendance/student-leave-application.md
rename to erpnext/docs/user/manual/en/education/Attendance/student-leave-application.md
index 5620bdadd73..e22c6e9d688 100644
--- a/erpnext/docs/user/manual/en/schools/Attendance/student-leave-application.md
+++ b/erpnext/docs/user/manual/en/education/Attendance/student-leave-application.md
@@ -4,9 +4,9 @@ ERPNext allows you to record the leave application for a student.
To create a Student Leave application record, enter the Student and the date for the leave is applied and save.
-
+
-Incase the student is not attending the school in order to participate or represent school in any event, he/she can be mark as present from the Leave Application itself.
+Incase the student is not attending the institute in order to participate or represent institute in any event, he/she can be mark as present from the Leave Application itself.
Once a Leave Application is recorded for a student it will not be recorded in the absent student report as he has applied for a leave.
diff --git a/erpnext/docs/user/manual/en/schools/student/__init__.py b/erpnext/docs/user/manual/en/education/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/student/__init__.py
rename to erpnext/docs/user/manual/en/education/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/__init__.py b/erpnext/docs/user/manual/en/education/admission/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/Assessment/__init__.py
rename to erpnext/docs/user/manual/en/education/admission/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/admission/index.md b/erpnext/docs/user/manual/en/education/admission/index.md
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/admission/index.md
rename to erpnext/docs/user/manual/en/education/admission/index.md
diff --git a/erpnext/docs/user/manual/en/schools/admission/index.txt b/erpnext/docs/user/manual/en/education/admission/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/admission/index.txt
rename to erpnext/docs/user/manual/en/education/admission/index.txt
diff --git a/erpnext/docs/user/manual/en/schools/admission/program-enrollment-tool.md b/erpnext/docs/user/manual/en/education/admission/program-enrollment-tool.md
similarity index 81%
rename from erpnext/docs/user/manual/en/schools/admission/program-enrollment-tool.md
rename to erpnext/docs/user/manual/en/education/admission/program-enrollment-tool.md
index 2a2fa1e58e7..53d9d9c84d1 100644
--- a/erpnext/docs/user/manual/en/schools/admission/program-enrollment-tool.md
+++ b/erpnext/docs/user/manual/en/education/admission/program-enrollment-tool.md
@@ -7,10 +7,10 @@ You can create the the Program Enrollment for :
1. **Student Applicants** >> List of Student Applicants will be fetched for the selected **Program** and **Academic year**.
-
+
2. **Program Enrollment** >> You can bulk update the **Program** for the students from one academic year to another in the same **Program** or a new **Program**.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/admission/program-enrollment.md b/erpnext/docs/user/manual/en/education/admission/program-enrollment.md
similarity index 91%
rename from erpnext/docs/user/manual/en/schools/admission/program-enrollment.md
rename to erpnext/docs/user/manual/en/education/admission/program-enrollment.md
index cc1308cf6c1..0bf16dfd3a0 100644
--- a/erpnext/docs/user/manual/en/schools/admission/program-enrollment.md
+++ b/erpnext/docs/user/manual/en/education/admission/program-enrollment.md
@@ -4,7 +4,7 @@ Program Enrollment describes an educational model where students must complete a
Once a student have applied for the **Program** and the application is approved, the program enrollment is done for that student.
-
+
- A student can be enrolled in multiple Course for a program in a given academeic year.
- Based on the Fee structure selected at the time of enrollment Fee detials are created of the student.
diff --git a/erpnext/docs/user/manual/en/schools/admission/student-applicant.md b/erpnext/docs/user/manual/en/education/admission/student-applicant.md
similarity index 86%
rename from erpnext/docs/user/manual/en/schools/admission/student-applicant.md
rename to erpnext/docs/user/manual/en/education/admission/student-applicant.md
index 22d370939d1..121844cf9a5 100644
--- a/erpnext/docs/user/manual/en/schools/admission/student-applicant.md
+++ b/erpnext/docs/user/manual/en/education/admission/student-applicant.md
@@ -3,7 +3,7 @@
A Student Applicant record needs to be created when a student applies for a program at your institute.
You can Approve or Reject a student applicant. By accepting a student applicant you can add them to the student master.
-
+
### Application Status
@@ -20,11 +20,11 @@ You can Approve or Reject a student applicant. By accepting a student applicant
### Student Enrollment
Once the form is submitted you can either approve or reject the application form.
-
+
Once you approve a Student Applicant you can enroll them to a program. When you click the 'Enroll' buttom,
-the system shall create a student against that applicant and redirect you to the [Program Enrollment form](/docs/user/manual/en/schools/student/program-enrollment.html).
+the system shall create a student against that applicant and redirect you to the [Program Enrollment form](/docs/user/manual/en/education/student/program-enrollment.html).
-
+
{next}
diff --git a/erpnext/docs/user/manual/en/schools/admission/student_admission.md b/erpnext/docs/user/manual/en/education/admission/student_admission.md
similarity index 84%
rename from erpnext/docs/user/manual/en/schools/admission/student_admission.md
rename to erpnext/docs/user/manual/en/education/admission/student_admission.md
index 7a63fa7a75c..f2b8ef6102c 100644
--- a/erpnext/docs/user/manual/en/schools/admission/student_admission.md
+++ b/erpnext/docs/user/manual/en/education/admission/student_admission.md
@@ -4,10 +4,10 @@ The admission process begins with filling the admission form. The Student Admiss
To create a Student Admission record go to :
-**Schools** >> **Admissions** >> **Student Admission** >>
+**education** >> **Admissions** >> **Student Admission** >>
-
+
Once an admission record is created, the age eligibility criteria can be determined for the every program. Similarly, you can also determine the application fee and naming series for every student applicant. If you keep the naming series blank then the default naming series will be applied for every student applicant.
diff --git a/erpnext/docs/user/manual/es/schools/__init__.py b/erpnext/docs/user/manual/en/education/fees/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/__init__.py
rename to erpnext/docs/user/manual/en/education/fees/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/fees/fee-category.md b/erpnext/docs/user/manual/en/education/fees/fee-category.md
similarity index 75%
rename from erpnext/docs/user/manual/en/schools/fees/fee-category.md
rename to erpnext/docs/user/manual/en/education/fees/fee-category.md
index fbf43e6f238..8a4822f3b49 100644
--- a/erpnext/docs/user/manual/en/schools/fees/fee-category.md
+++ b/erpnext/docs/user/manual/en/education/fees/fee-category.md
@@ -2,6 +2,6 @@
List of all different type of fees collected.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/fees/fee-structure.md b/erpnext/docs/user/manual/en/education/fees/fee-structure.md
similarity index 78%
rename from erpnext/docs/user/manual/en/schools/fees/fee-structure.md
rename to erpnext/docs/user/manual/en/education/fees/fee-structure.md
index a1dd9be6adc..b1cc36d878a 100644
--- a/erpnext/docs/user/manual/en/schools/fees/fee-structure.md
+++ b/erpnext/docs/user/manual/en/education/fees/fee-structure.md
@@ -2,6 +2,6 @@
A Fee Structure is a template that can be used while making fee records.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/education/fees/fees.md b/erpnext/docs/user/manual/en/education/fees/fees.md
new file mode 100644
index 00000000000..5e0c126dff2
--- /dev/null
+++ b/erpnext/docs/user/manual/en/education/fees/fees.md
@@ -0,0 +1,8 @@
+# Fees
+
+Maintain a record of fees collected from students.
+The [Fee Structure](/docs/user/manual/en/education/fees/fee-structure.html) is fetched based on the selected Program and Academic Term.
+
+
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/fees/index.md b/erpnext/docs/user/manual/en/education/fees/index.md
similarity index 76%
rename from erpnext/docs/user/manual/en/schools/fees/index.md
rename to erpnext/docs/user/manual/en/education/fees/index.md
index c5be5f6810e..d0ccb948574 100644
--- a/erpnext/docs/user/manual/en/schools/fees/index.md
+++ b/erpnext/docs/user/manual/en/education/fees/index.md
@@ -2,7 +2,7 @@
This section contains 'Fee' related documents.
-
+
### Topics
diff --git a/erpnext/docs/user/manual/en/schools/fees/index.txt b/erpnext/docs/user/manual/en/education/fees/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/fees/index.txt
rename to erpnext/docs/user/manual/en/education/fees/index.txt
diff --git a/erpnext/docs/user/manual/en/education/index.md b/erpnext/docs/user/manual/en/education/index.md
new file mode 100644
index 00000000000..36c6bbd7729
--- /dev/null
+++ b/erpnext/docs/user/manual/en/education/index.md
@@ -0,0 +1,8 @@
+# Education
+
+
+The Education Domain in ERPNext is designed to meet requirements of any educational Institute whether that is a school, college or any other private firm. ERPNext provides a centralized system, which can be used to maintain and update all the activities related to an Institution. It will provide a complete package for every funcationality required in any institute like Online Admission, Fees, Attendance, Examination.
+
+
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/index.txt b/erpnext/docs/user/manual/en/education/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/index.txt
rename to erpnext/docs/user/manual/en/education/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/admission/__init__.py b/erpnext/docs/user/manual/en/education/schedule/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/admission/__init__.py
rename to erpnext/docs/user/manual/en/education/schedule/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/schedule/course-schedule.md b/erpnext/docs/user/manual/en/education/schedule/course-schedule.md
similarity index 84%
rename from erpnext/docs/user/manual/en/schools/schedule/course-schedule.md
rename to erpnext/docs/user/manual/en/education/schedule/course-schedule.md
index 9f7d9809988..f5134d59fff 100644
--- a/erpnext/docs/user/manual/en/schools/schedule/course-schedule.md
+++ b/erpnext/docs/user/manual/en/education/schedule/course-schedule.md
@@ -3,13 +3,13 @@
Course Schedule is the schedule of a session conducted by an Instructor for a particular Course.
You can see the overall course schedule in the Calendar view.
-
+
### Marking Attendance
You can mark attendance for a Student Group against a Course Schedule.
-
+
- To make attendance, expand the attendance section.
- Check the students who were present for that session.
@@ -20,6 +20,6 @@ You can mark attendance for a Student Group against a Course Schedule.
Once you have marked Attendance against a Course Schedule the Attendance section in the Course Schedule shall be hidden.
A View Attendance button shall appear. Click on that button to view all attendance records created against that Course Schedule.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/schedule/examination.md b/erpnext/docs/user/manual/en/education/schedule/examination.md
similarity index 80%
rename from erpnext/docs/user/manual/en/schools/schedule/examination.md
rename to erpnext/docs/user/manual/en/education/schedule/examination.md
index d167e9c56d7..d21d204189c 100644
--- a/erpnext/docs/user/manual/en/schools/schedule/examination.md
+++ b/erpnext/docs/user/manual/en/education/schedule/examination.md
@@ -2,7 +2,7 @@
The Examination record can be used to track the exam schedule and the results of that exam.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/schedule/index.md b/erpnext/docs/user/manual/en/education/schedule/index.md
similarity index 62%
rename from erpnext/docs/user/manual/en/schools/schedule/index.md
rename to erpnext/docs/user/manual/en/education/schedule/index.md
index 57e578bd98a..247b0b88930 100644
--- a/erpnext/docs/user/manual/en/schools/schedule/index.md
+++ b/erpnext/docs/user/manual/en/education/schedule/index.md
@@ -1,6 +1,6 @@
# Schedule
-
+
### Topics
diff --git a/erpnext/docs/user/manual/en/schools/schedule/index.txt b/erpnext/docs/user/manual/en/education/schedule/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/schedule/index.txt
rename to erpnext/docs/user/manual/en/education/schedule/index.txt
diff --git a/erpnext/docs/user/manual/en/schools/schedule/scheduling-tool.md b/erpnext/docs/user/manual/en/education/schedule/scheduling-tool.md
similarity index 96%
rename from erpnext/docs/user/manual/en/schools/schedule/scheduling-tool.md
rename to erpnext/docs/user/manual/en/education/schedule/scheduling-tool.md
index 9e13d6d0a6a..08a7fa9ec0c 100644
--- a/erpnext/docs/user/manual/en/schools/schedule/scheduling-tool.md
+++ b/erpnext/docs/user/manual/en/education/schedule/scheduling-tool.md
@@ -2,7 +2,7 @@
This tool can be used to create 'Course Schedules'.
-
+
### Creating Course Schedules
diff --git a/erpnext/docs/user/manual/es/schools/fees/__init__.py b/erpnext/docs/user/manual/en/education/setup/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/fees/__init__.py
rename to erpnext/docs/user/manual/en/education/setup/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/setup/academic-term.md b/erpnext/docs/user/manual/en/education/setup/academic-term.md
similarity index 92%
rename from erpnext/docs/user/manual/en/schools/setup/academic-term.md
rename to erpnext/docs/user/manual/en/education/setup/academic-term.md
index b52bea71086..d264dca5d66 100644
--- a/erpnext/docs/user/manual/en/schools/setup/academic-term.md
+++ b/erpnext/docs/user/manual/en/education/setup/academic-term.md
@@ -4,7 +4,7 @@ An academic term (or simply "term") is a portion of an academic year, the time d
The **Academic term** form in ERPNext enables you to create academic terms within in a year. Based on the term schedule enter the start and end date for the schedule and generate the term for a Academic year.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/academic-year.md b/erpnext/docs/user/manual/en/education/setup/academic-year.md
similarity index 61%
rename from erpnext/docs/user/manual/en/schools/setup/academic-year.md
rename to erpnext/docs/user/manual/en/education/setup/academic-year.md
index 4fc5f929a56..c9ea5211854 100644
--- a/erpnext/docs/user/manual/en/schools/setup/academic-year.md
+++ b/erpnext/docs/user/manual/en/education/setup/academic-year.md
@@ -1,10 +1,10 @@
# Academic Year
-An academic year is a period of time which schools, colleges and universities use to measure a quantity of study.
+An academic year is a period of time which education, colleges and universities use to measure a quantity of study.
The **Academic year** form have the Start and End date for the Academic year.
-
+
**Student group** link is given to view or add the respective groups to the Academic year.
diff --git a/erpnext/docs/user/manual/en/schools/setup/course.md b/erpnext/docs/user/manual/en/education/setup/course.md
similarity index 78%
rename from erpnext/docs/user/manual/en/schools/setup/course.md
rename to erpnext/docs/user/manual/en/education/setup/course.md
index dc10ed54b17..0d6e5ac5eb7 100644
--- a/erpnext/docs/user/manual/en/schools/setup/course.md
+++ b/erpnext/docs/user/manual/en/education/setup/course.md
@@ -4,11 +4,11 @@
To create a **Course** enter the Course name and Code. Code for the course should be unique for every course. You can also link the department under which the course is conducted.
-
+
Once a **Course** is created, a course schedule can defined for the same.
-
+
The Course form is further linked to **Program, Student Group and Assessment Plan** doctypes. The links allow to view/create the related documents for a **Course**.
diff --git a/erpnext/docs/user/manual/en/education/setup/index.md b/erpnext/docs/user/manual/en/education/setup/index.md
new file mode 100644
index 00000000000..1062c3a4acd
--- /dev/null
+++ b/erpnext/docs/user/manual/en/education/setup/index.md
@@ -0,0 +1,9 @@
+# Setup
+
+The Setup section of education module provides facility to make some basic configuration. Below are doctypes for basic configuration.
+
+
+
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/index.txt b/erpnext/docs/user/manual/en/education/setup/index.txt
similarity index 84%
rename from erpnext/docs/user/manual/en/schools/setup/index.txt
rename to erpnext/docs/user/manual/en/education/setup/index.txt
index 8fb9bb2def9..9f88c5de3c9 100644
--- a/erpnext/docs/user/manual/en/schools/setup/index.txt
+++ b/erpnext/docs/user/manual/en/education/setup/index.txt
@@ -6,4 +6,4 @@ student-category
student-batch-name
academic-term
academic-year
-school-settings
\ No newline at end of file
+education-settings
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/instructor.md b/erpnext/docs/user/manual/en/education/setup/instructor.md
similarity index 65%
rename from erpnext/docs/user/manual/en/schools/setup/instructor.md
rename to erpnext/docs/user/manual/en/education/setup/instructor.md
index 6150f025fe7..2b53ce13fe9 100644
--- a/erpnext/docs/user/manual/en/schools/setup/instructor.md
+++ b/erpnext/docs/user/manual/en/education/setup/instructor.md
@@ -4,14 +4,14 @@ An instructoe is a teacher, or professor, of a specialised subject that involves
You can create an Instructor and link it to the Employee master and a Departmemt.
-
+
An **Instructor** is further linked to a **Course Schedule**, where you can define the schedule for a **Course** for a give date and **Room no**.
-
+
It is also linked to **Student group** where an **Instructor** is assigned to the Student group.
-
+
An **Instructor** is also linked to an **Assesment Plan** for a Student group. The Instructor can be an Examiner or the supervisor for the assesment.
diff --git a/erpnext/docs/user/manual/en/schools/setup/program.md b/erpnext/docs/user/manual/en/education/setup/program.md
similarity index 70%
rename from erpnext/docs/user/manual/en/schools/setup/program.md
rename to erpnext/docs/user/manual/en/education/setup/program.md
index be10166e7be..25e390eb87b 100644
--- a/erpnext/docs/user/manual/en/schools/setup/program.md
+++ b/erpnext/docs/user/manual/en/education/setup/program.md
@@ -4,15 +4,15 @@ An educational program is a program written by the institutions which determines
To create a Program go to :
-###Schools >> Setup >> Program >> New Program
+###education >> Setup >> Program >> New Program
Enter a unique code for every **Program**. You can also link the **Program** to the department under which it is conducted.
-
+
Add the relevant Course and the Fee details for a program.
-
+
The Program Doctype is further linked to the **Student applicant**, **Program enrollment, Student group, Fee structre and Fee**. The links allow to view or create the related document for a Program.
diff --git a/erpnext/docs/user/manual/en/schools/setup/room.md b/erpnext/docs/user/manual/en/education/setup/room.md
similarity index 72%
rename from erpnext/docs/user/manual/en/schools/setup/room.md
rename to erpnext/docs/user/manual/en/education/setup/room.md
index 43ddde92245..6a1f32e9ff4 100644
--- a/erpnext/docs/user/manual/en/schools/setup/room.md
+++ b/erpnext/docs/user/manual/en/education/setup/room.md
@@ -4,14 +4,14 @@ A classroom is a space (room or lab) where you want to schedule courses or exami
The Room doctype allows you to record the room number and the seating capacity for a classroom. Once a room is created Course schedule link is provided in the Room doctype to view or add the course schedule for the classroom.
-
+
The course schedule validate the availability of the Room number and an alert message is shown if there is an overlap for the Room number for a given time slot.
-
+
The Room number is further linked to the Assesment plan. It validates the availability of examination room for the assessment to be held for a given date and time.
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/education/setup/school-settings.md b/erpnext/docs/user/manual/en/education/setup/school-settings.md
new file mode 100644
index 00000000000..44f9c44ed11
--- /dev/null
+++ b/erpnext/docs/user/manual/en/education/setup/school-settings.md
@@ -0,0 +1,15 @@
+# Education Settings
+
+The Education Settings page allow you to setup basic settings like **Academic Year and Term** for the educational setup.
+
+
+
+The checkbox to Validate Batch for Students in Student Group enables the Student Batch validation for every Student from the Program Enrollment for the **Batch** based on **Student Group**
+
+
+
+You can enable the validation of Course for every Student from the enrolled Courses in Program Enrollment,for Course based Student Group by checking the settings for **Validate Enrolled Course for Students in Student Group**
+
+
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/student-batch-name.md b/erpnext/docs/user/manual/en/education/setup/student-batch-name.md
similarity index 80%
rename from erpnext/docs/user/manual/en/schools/setup/student-batch-name.md
rename to erpnext/docs/user/manual/en/education/setup/student-batch-name.md
index 056f9108636..3b5ad41edd5 100644
--- a/erpnext/docs/user/manual/en/schools/setup/student-batch-name.md
+++ b/erpnext/docs/user/manual/en/education/setup/student-batch-name.md
@@ -2,7 +2,7 @@
Student batch is a collection of students from Student Groups. **Student batch** allows you to create **Student Group** based on a batch. When a student is enrolled for a **Program**, the Student batch is selected to enroll the student for the given Program and batch
-
+
You can also get a **Student Batch-Wise Attendance** report to view the number of student present from the Batch.
diff --git a/erpnext/docs/user/manual/en/schools/setup/student-category.md b/erpnext/docs/user/manual/en/education/setup/student-category.md
similarity index 78%
rename from erpnext/docs/user/manual/en/schools/setup/student-category.md
rename to erpnext/docs/user/manual/en/education/setup/student-category.md
index 0d769279727..cb5cbeae388 100644
--- a/erpnext/docs/user/manual/en/schools/setup/student-category.md
+++ b/erpnext/docs/user/manual/en/education/setup/student-category.md
@@ -6,7 +6,7 @@ To create Student category go to Setup >> Student Category >> New.
We can create new student category by adding a name and save it
-
+
{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/es/schools/schedule/__init__.py b/erpnext/docs/user/manual/en/education/student/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/schedule/__init__.py
rename to erpnext/docs/user/manual/en/education/student/__init__.py
diff --git a/erpnext/docs/user/manual/en/schools/student/guardian.md b/erpnext/docs/user/manual/en/education/student/guardian.md
similarity index 68%
rename from erpnext/docs/user/manual/en/schools/student/guardian.md
rename to erpnext/docs/user/manual/en/education/student/guardian.md
index 7bbdbc22c5c..ca34e8b7657 100644
--- a/erpnext/docs/user/manual/en/schools/student/guardian.md
+++ b/erpnext/docs/user/manual/en/education/student/guardian.md
@@ -2,7 +2,7 @@
The Guardian doctype allows you to record the guardian details for a **Student**.
-
+
The email id added in the **Guardian** detail can be linked to a email group for sending newsletter or announcements.
diff --git a/erpnext/docs/user/manual/en/schools/student/index.md b/erpnext/docs/user/manual/en/education/student/index.md
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/student/index.md
rename to erpnext/docs/user/manual/en/education/student/index.md
diff --git a/erpnext/docs/user/manual/en/schools/student/index.txt b/erpnext/docs/user/manual/en/education/student/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/en/schools/student/index.txt
rename to erpnext/docs/user/manual/en/education/student/index.txt
diff --git a/erpnext/docs/user/manual/en/schools/student/student-batch.md b/erpnext/docs/user/manual/en/education/student/student-batch.md
similarity index 80%
rename from erpnext/docs/user/manual/en/schools/student/student-batch.md
rename to erpnext/docs/user/manual/en/education/student/student-batch.md
index 056f9108636..3b5ad41edd5 100644
--- a/erpnext/docs/user/manual/en/schools/student/student-batch.md
+++ b/erpnext/docs/user/manual/en/education/student/student-batch.md
@@ -2,7 +2,7 @@
Student batch is a collection of students from Student Groups. **Student batch** allows you to create **Student Group** based on a batch. When a student is enrolled for a **Program**, the Student batch is selected to enroll the student for the given Program and batch
-
+
You can also get a **Student Batch-Wise Attendance** report to view the number of student present from the Batch.
diff --git a/erpnext/docs/user/manual/en/schools/student/student-group-creation-tool.md b/erpnext/docs/user/manual/en/education/student/student-group-creation-tool.md
similarity index 82%
rename from erpnext/docs/user/manual/en/schools/student/student-group-creation-tool.md
rename to erpnext/docs/user/manual/en/education/student/student-group-creation-tool.md
index 1cd9b1e796f..aeedd97a2e5 100644
--- a/erpnext/docs/user/manual/en/schools/student/student-group-creation-tool.md
+++ b/erpnext/docs/user/manual/en/education/student/student-group-creation-tool.md
@@ -4,11 +4,11 @@ The Student group creation tool allows you to create student groups in bulk.
To create Student group using this tool go to
-##Schools >>Student >> Student Group creation tool
+##education >>Student >> Student Group creation tool
Select the **Academic Term** and the **Program** for which a student group is to be created.
-
+
By default the student group is created based on the **Course** only. The check box for "Separate course based Group for every Batch" allows you to create batchwise Student groups for a course.
diff --git a/erpnext/docs/user/manual/en/schools/student/student-group.md b/erpnext/docs/user/manual/en/education/student/student-group.md
similarity index 88%
rename from erpnext/docs/user/manual/en/schools/student/student-group.md
rename to erpnext/docs/user/manual/en/education/student/student-group.md
index cf3f82c5a2d..467fb3e84e6 100644
--- a/erpnext/docs/user/manual/en/schools/student/student-group.md
+++ b/erpnext/docs/user/manual/en/education/student/student-group.md
@@ -6,15 +6,15 @@ A Student Group needs to be created for every course for **Academic Term** and *
To create a Student Group go to:
-Schools >> Student >> New Student Group
+education >> Student >> New Student Group
-
+
To create a Student group based on **Batch**, select the **Progam** and **Batch**, where as to create a Student group based on **Course**, you will only have to select the Course Code. Creating a student group based on activity allows you to group of student for events and activities happening in the institute.
Once a student group is created you can mark attendance for the group.
-
+
You can also update the **Email Group** for the Student Group. Click on Update Email Group to add all the email ids of the gaurdians in the respective email group and **Newsletter** can be created and sent to the Email group.
diff --git a/erpnext/docs/user/manual/en/schools/student/student-log.md b/erpnext/docs/user/manual/en/education/student/student-log.md
similarity index 72%
rename from erpnext/docs/user/manual/en/schools/student/student-log.md
rename to erpnext/docs/user/manual/en/education/student/student-log.md
index 160e39fcdc4..5c113e4650d 100644
--- a/erpnext/docs/user/manual/en/schools/student/student-log.md
+++ b/erpnext/docs/user/manual/en/education/student/student-log.md
@@ -4,6 +4,6 @@ The Student log Doctype enables you to add and edit addtional information for a
You can make a note of student activities using Student log.
Logs can be categorised as 'General', 'Academic', 'Medical' or 'Achievement'
-
+
{next}
diff --git a/erpnext/docs/user/manual/en/schools/student/student.md b/erpnext/docs/user/manual/en/education/student/student.md
similarity index 83%
rename from erpnext/docs/user/manual/en/schools/student/student.md
rename to erpnext/docs/user/manual/en/education/student/student.md
index 09e44714e68..fce5d7ba8a8 100644
--- a/erpnext/docs/user/manual/en/schools/student/student.md
+++ b/erpnext/docs/user/manual/en/education/student/student.md
@@ -3,7 +3,7 @@
A Student is a person who has enrolled at your institute and you have accepted their application.
The Student doctype maintains detials like personal information, date of birth, address etc. It also records the **Guardian** and sibling details.
-
+
The student is enrolled in a **Program** when the application is approved. Once the enrollement is done the **Student Applicant** status is update to Admitted.
You can view every doctype created for a particular student. Eg : Fees, Student Group, etc
diff --git a/erpnext/docs/user/manual/en/index.txt b/erpnext/docs/user/manual/en/index.txt
index 712ab8eabd3..34bb24e0d6f 100644
--- a/erpnext/docs/user/manual/en/index.txt
+++ b/erpnext/docs/user/manual/en/index.txt
@@ -15,3 +15,4 @@ website
using-erpnext
regional
customize-erpnext
+education
diff --git a/erpnext/docs/user/manual/en/schools/fees/fees.md b/erpnext/docs/user/manual/en/schools/fees/fees.md
deleted file mode 100644
index f17720ce85e..00000000000
--- a/erpnext/docs/user/manual/en/schools/fees/fees.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Fees
-
-Maintain a record of fees collected from students.
-The [Fee Structure](/docs/user/manual/en/schools/fees/fee-structure.html) is fetched based on the selected Program and Academic Term.
-
-
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/index.md b/erpnext/docs/user/manual/en/schools/index.md
deleted file mode 100644
index d317d39bfaa..00000000000
--- a/erpnext/docs/user/manual/en/schools/index.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Schools
-
-
-The School Modules in ERPNext is designed to meet requirements of Schools, Colleges & Educational Institutes. This is a centralized system, which maintains and updates all the activities related to an Institution. This will ease the process of each and every aspect of a School, be it Students, Admission, Examination and Fee.
-
-
-
-{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/index.md b/erpnext/docs/user/manual/en/schools/setup/index.md
deleted file mode 100644
index 4e0915277b7..00000000000
--- a/erpnext/docs/user/manual/en/schools/setup/index.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Setup
-
-The Setup section of Schools module provides facility to make some basic configuration. Below are doctypes for basic configuration.
-
-
-
-### Topics
-
-{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/schools/setup/school-settings.md b/erpnext/docs/user/manual/en/schools/setup/school-settings.md
deleted file mode 100644
index ce9e9144b7a..00000000000
--- a/erpnext/docs/user/manual/en/schools/setup/school-settings.md
+++ /dev/null
@@ -1,15 +0,0 @@
-#School Settings
-
-The Schools settings page allow you to setup basic settings like **Academic Year and Term** for the Schools setup.
-
-
-
-The checkbox to Validate Batch for Students in Student Group enables the Student Batch validation for every Student from the Program Enrollment for the **Batch** based on **Student Group**
-
-
-
-You can enable the validation of Course for every Student from the enrolled Courses in Program Enrollment,for Course based Student Group by checking the settings for **Validate Enrolled Course for Students in Student Group**
-
-
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/setup/shipping-rule.md b/erpnext/docs/user/manual/en/selling/setup/shipping-rule.md
index 0d8c269fc2a..9b25c8c8638 100644
--- a/erpnext/docs/user/manual/en/selling/setup/shipping-rule.md
+++ b/erpnext/docs/user/manual/en/selling/setup/shipping-rule.md
@@ -1,7 +1,7 @@
# Shipping Rule
-Using Shipping Rule you can define the cost for delivering the product to the customer.
-You can define different shipping rules for the same item across different territories.
+Using Shipping Rule you can define the cost for delivering the product to the customer and also to the supplier.
+You can define different shipping rules or a fixed shipping amount for the same item across different territories.
diff --git a/erpnext/docs/user/manual/es/schools/setup/__init__.py b/erpnext/docs/user/manual/es/education/Assessment/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/setup/__init__.py
rename to erpnext/docs/user/manual/es/education/Assessment/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/assessment_criteria.md b/erpnext/docs/user/manual/es/education/Assessment/assessment_criteria.md
similarity index 85%
rename from erpnext/docs/user/manual/es/schools/Assessment/assessment_criteria.md
rename to erpnext/docs/user/manual/es/education/Assessment/assessment_criteria.md
index 92f338fd8b6..31e710a309b 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/assessment_criteria.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/assessment_criteria.md
@@ -2,12 +2,12 @@
Criterios de evaluación es el parámetro basado en el que se evalúa el estudiante.
-
+
Después de la evaluación para un curso, las calificaciones obtenidas se ingresan en base a los criterios de evaluación. Por ejemplo, si la evaluación se llevó a cabo para el tema de la ciencia, entonces usted puede evaluar al estudiante en ciencia en varios criterios como la escritura, prácticas, presentación, etc
Los Criterios de Evaluación se usan al programar el Plan de Evaluación para el Grupo de Estudiantes y el Curso.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/assessment_group.md b/erpnext/docs/user/manual/es/education/Assessment/assessment_group.md
similarity index 82%
rename from erpnext/docs/user/manual/es/schools/Assessment/assessment_group.md
rename to erpnext/docs/user/manual/es/education/Assessment/assessment_group.md
index 7102888f289..aaabda1aaa1 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/assessment_group.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/assessment_group.md
@@ -4,10 +4,10 @@ La estructura del grupo de evaluación es un maestro donde se puede definir la j
Por ejemplo, si realiza dos evaluaciones en un año académico, configure el Grupo de evaluación de la siguiente manera.
-
+
En la misma línea, también puede definir varios Grupo de Evaluación basado sobre la evaluación llevada a cabo en su instituto.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/assessment_plan.md b/erpnext/docs/user/manual/es/education/Assessment/assessment_plan.md
similarity index 84%
rename from erpnext/docs/user/manual/es/schools/Assessment/assessment_plan.md
rename to erpnext/docs/user/manual/es/education/Assessment/assessment_plan.md
index 9d66c213f80..566189241fa 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/assessment_plan.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/assessment_plan.md
@@ -10,10 +10,10 @@ Para programar una evaluación/examinación para un Grupo de Estudiantes, para u
4. Examinador y Supervisor
-
+
5. Los Criterios de Evaluación son la lista de criterios basados en que cada estudiante en será evaluado y los grados serán asignados.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/assessment_result.md b/erpnext/docs/user/manual/es/education/Assessment/assessment_result.md
similarity index 75%
rename from erpnext/docs/user/manual/es/schools/Assessment/assessment_result.md
rename to erpnext/docs/user/manual/es/education/Assessment/assessment_result.md
index 2d9409708d2..67a6f9a5096 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/assessment_result.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/assessment_result.md
@@ -1,7 +1,7 @@
#Resultados de Evaluación
-El resultado de la evaluación es un registro de las calificaciones obtenidas por el estudiante para una evaluación específica. El resultado de la evaluación se crea en el backend en base a los puntos en [Herramienta de Resultados de Evaluación](/docs/user/manual/es/schools/assessment/assessment_result_tool.html).
+El resultado de la evaluación es un registro de las calificaciones obtenidas por el estudiante para una evaluación específica. El resultado de la evaluación se crea en el backend en base a los puntos en [Herramienta de Resultados de Evaluación](/docs/user/manual/es/education/assessment/assessment_result_tool.html).
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/assessment_result_tool.md b/erpnext/docs/user/manual/es/education/Assessment/assessment_result_tool.md
similarity index 92%
rename from erpnext/docs/user/manual/es/schools/Assessment/assessment_result_tool.md
rename to erpnext/docs/user/manual/es/education/Assessment/assessment_result_tool.md
index 70e4ee3f2ff..a6a44e5bee1 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/assessment_result_tool.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/assessment_result_tool.md
@@ -3,7 +3,7 @@
Herramienta de resultados de evaluación le ayuda a ingresar las calificaciones obtenidas por los estudiantes para un curso específico. En esta herramienta, basada en el plan de evaluación, todos los estudiantes van a ser filtrados dentro de la herramienta de resultados de la evaluación. También, Columnas para los Criterios de Evaluación serán donde las calificaciones ganadas pueden ser ingresadas para cada Estudiante.
-
+
A medida que vaya introduciendo las notas para un Estudiante y cambie al siguiente alumno, en el backend, el registro de Resultados del Estudiante se creará automáticamente para ese Estudiante.
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/grading_scale.md b/erpnext/docs/user/manual/es/education/Assessment/grading_scale.md
similarity index 87%
rename from erpnext/docs/user/manual/es/schools/Assessment/grading_scale.md
rename to erpnext/docs/user/manual/es/education/Assessment/grading_scale.md
index 9107f92a569..bf362b4dac8 100644
--- a/erpnext/docs/user/manual/es/schools/Assessment/grading_scale.md
+++ b/erpnext/docs/user/manual/es/education/Assessment/grading_scale.md
@@ -2,6 +2,6 @@
En la escala de calificación, puedes definir varios grados y límites para los estudiantes. Basado en la calificación obtenida por el estudiante en la evaluación, el grado (Grade) será asignado.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/index.md b/erpnext/docs/user/manual/es/education/Assessment/index.md
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/Assessment/index.md
rename to erpnext/docs/user/manual/es/education/Assessment/index.md
diff --git a/erpnext/docs/user/manual/es/schools/Assessment/index.txt b/erpnext/docs/user/manual/es/education/Assessment/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/Assessment/index.txt
rename to erpnext/docs/user/manual/es/education/Assessment/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/student/__init__.py b/erpnext/docs/user/manual/es/education/__init__.py
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/student/__init__.py
rename to erpnext/docs/user/manual/es/education/__init__.py
diff --git a/erpnext/schools/__init__.py b/erpnext/docs/user/manual/es/education/admission/__init__.py
similarity index 100%
rename from erpnext/schools/__init__.py
rename to erpnext/docs/user/manual/es/education/admission/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/admission/index.md b/erpnext/docs/user/manual/es/education/admission/index.md
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/admission/index.md
rename to erpnext/docs/user/manual/es/education/admission/index.md
diff --git a/erpnext/docs/user/manual/es/schools/admission/index.txt b/erpnext/docs/user/manual/es/education/admission/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/admission/index.txt
rename to erpnext/docs/user/manual/es/education/admission/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/admission/program-enrollment.md b/erpnext/docs/user/manual/es/education/admission/program-enrollment.md
similarity index 78%
rename from erpnext/docs/user/manual/es/schools/admission/program-enrollment.md
rename to erpnext/docs/user/manual/es/education/admission/program-enrollment.md
index 34e8996a254..6a242849a83 100644
--- a/erpnext/docs/user/manual/es/schools/admission/program-enrollment.md
+++ b/erpnext/docs/user/manual/es/education/admission/program-enrollment.md
@@ -2,6 +2,6 @@
Este formulario te permite inscribir un estudiante a un programa. Un estudiante puede ser inscrito en multiples programas.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/admission/student-applicant.md b/erpnext/docs/user/manual/es/education/admission/student-applicant.md
similarity index 89%
rename from erpnext/docs/user/manual/es/schools/admission/student-applicant.md
rename to erpnext/docs/user/manual/es/education/admission/student-applicant.md
index 33d8dd7b294..4d8723c20c6 100644
--- a/erpnext/docs/user/manual/es/schools/admission/student-applicant.md
+++ b/erpnext/docs/user/manual/es/education/admission/student-applicant.md
@@ -3,7 +3,7 @@
Un registro de Aplicación de Estudiante necesita ser creado cuando un estudiante aplica para un programa en su institución.
Puedes Aprobar o Rechazar una aplicación de estudiante. Aceptando una aplicación de un estudiante puedes agregarlos al master de estudiantes.
-
+
### Estados de la Aplicación
@@ -21,8 +21,8 @@ Puedes Aprobar o Rechazar una aplicación de estudiante. Aceptando una aplicaci
Una vez aprobada una Aplicación de Estudiante, puedes inscribirlo a un programa. Cuando le das click al butón 'Inscribir',
-el sistema creará un estudiante usando esa aplicación y le va a redireccionar a el [Formulario de Inscripción al Programa](/docs/user/manual/es/schools/student/program-enrollment.html).
+el sistema creará un estudiante usando esa aplicación y le va a redireccionar a el [Formulario de Inscripción al Programa](/docs/user/manual/es/education/student/program-enrollment.html).
-
+
{next}
diff --git a/erpnext/schools/doctype/__init__.py b/erpnext/docs/user/manual/es/education/fees/__init__.py
similarity index 100%
rename from erpnext/schools/doctype/__init__.py
rename to erpnext/docs/user/manual/es/education/fees/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/fees/fee-category.md b/erpnext/docs/user/manual/es/education/fees/fee-category.md
similarity index 80%
rename from erpnext/docs/user/manual/es/schools/fees/fee-category.md
rename to erpnext/docs/user/manual/es/education/fees/fee-category.md
index c05b3f549f3..a38ba7e812d 100644
--- a/erpnext/docs/user/manual/es/schools/fees/fee-category.md
+++ b/erpnext/docs/user/manual/es/education/fees/fee-category.md
@@ -2,6 +2,6 @@
Todos los tipos diferentes de cuotas que se cobran
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/fees/fee-structure.md b/erpnext/docs/user/manual/es/education/fees/fee-structure.md
similarity index 83%
rename from erpnext/docs/user/manual/es/schools/fees/fee-structure.md
rename to erpnext/docs/user/manual/es/education/fees/fee-structure.md
index 1f621d716dc..6fe6af98c2e 100644
--- a/erpnext/docs/user/manual/es/schools/fees/fee-structure.md
+++ b/erpnext/docs/user/manual/es/education/fees/fee-structure.md
@@ -2,6 +2,6 @@
Una Estructura de Cuota es una plantilla que puede ser usada cuando se hacen registros de cuotas.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/education/fees/fees.md b/erpnext/docs/user/manual/es/education/fees/fees.md
new file mode 100644
index 00000000000..5f6eee4bfd0
--- /dev/null
+++ b/erpnext/docs/user/manual/es/education/fees/fees.md
@@ -0,0 +1,8 @@
+# Cuotas
+
+Mantiene un registro de todas las cuotas recolectadas de los estudiantes.
+La [Estructura de Cuota](/docs/user/manual/es/education/fees/fee-structure.html) es seleccionada basada en el programa seleccionada y los Términos Académicos.
+
+
+
+{next}
diff --git a/erpnext/docs/user/manual/es/schools/fees/index.md b/erpnext/docs/user/manual/es/education/fees/index.md
similarity index 82%
rename from erpnext/docs/user/manual/es/schools/fees/index.md
rename to erpnext/docs/user/manual/es/education/fees/index.md
index e88381378df..c1b5bb57ccf 100644
--- a/erpnext/docs/user/manual/es/schools/fees/index.md
+++ b/erpnext/docs/user/manual/es/education/fees/index.md
@@ -2,7 +2,7 @@
Esta sección contiene todos los documentos relacionado a las 'Cuota'
-
+
### Temas
diff --git a/erpnext/docs/user/manual/es/schools/fees/index.txt b/erpnext/docs/user/manual/es/education/fees/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/fees/index.txt
rename to erpnext/docs/user/manual/es/education/fees/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/index.md b/erpnext/docs/user/manual/es/education/index.md
similarity index 84%
rename from erpnext/docs/user/manual/es/schools/index.md
rename to erpnext/docs/user/manual/es/education/index.md
index a1824dc6e86..feca8303c0d 100644
--- a/erpnext/docs/user/manual/es/schools/index.md
+++ b/erpnext/docs/user/manual/es/education/index.md
@@ -1,8 +1,8 @@
-# Schools
+# Education
Los módulos de School estan diseñados para satisfacer los requerimientos de Escuelas, Colegios e Institutos Educacionales.
-
+
{index}
diff --git a/erpnext/docs/user/manual/es/schools/index.txt b/erpnext/docs/user/manual/es/education/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/index.txt
rename to erpnext/docs/user/manual/es/education/index.txt
diff --git a/erpnext/schools/doctype/academic_term/__init__.py b/erpnext/docs/user/manual/es/education/schedule/__init__.py
similarity index 100%
rename from erpnext/schools/doctype/academic_term/__init__.py
rename to erpnext/docs/user/manual/es/education/schedule/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/schedule/course-schedule.md b/erpnext/docs/user/manual/es/education/schedule/course-schedule.md
similarity index 86%
rename from erpnext/docs/user/manual/es/schools/schedule/course-schedule.md
rename to erpnext/docs/user/manual/es/education/schedule/course-schedule.md
index 629c828451d..7bf40ffacf7 100644
--- a/erpnext/docs/user/manual/es/schools/schedule/course-schedule.md
+++ b/erpnext/docs/user/manual/es/education/schedule/course-schedule.md
@@ -3,13 +3,13 @@
El Horario de Curso es el horario de una sesión de un profesor para un Curso en particular.
Puedes ver un resumen del horario del curso en la vista de Calendario.
-
+
### Marcando asistencia
Puedes pasar la asistencia para un grupo de estudiantes usando el Horario de Curso.
-
+
- Para hacer la asistencia, expandir la sección de asistencia.
- Selecciona los estudiantes que estaban presentes para esa sesión.
@@ -20,6 +20,6 @@ Puedes pasar la asistencia para un grupo de estudiantes usando el Horario de Cur
Una vez hayas marcado la asistencia usando la sección de asistencia en el Horario de un Curso, esta sección debería estar oculta.
Un botón de Ver Asistencia debería aparecer. Click en el botón para ver todos los registros de asistencia creados para ese Horario de Curso.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/schedule/examination.md b/erpnext/docs/user/manual/es/education/schedule/examination.md
similarity index 85%
rename from erpnext/docs/user/manual/es/schools/schedule/examination.md
rename to erpnext/docs/user/manual/es/education/schedule/examination.md
index 5f85aedd413..b8cef3e9776 100644
--- a/erpnext/docs/user/manual/es/schools/schedule/examination.md
+++ b/erpnext/docs/user/manual/es/education/schedule/examination.md
@@ -2,7 +2,7 @@
El registro de examinación puede ser usado para hacer el seguimiento del horario de los examenes y los resultados de los mismos.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/schedule/index.md b/erpnext/docs/user/manual/es/education/schedule/index.md
similarity index 66%
rename from erpnext/docs/user/manual/es/schools/schedule/index.md
rename to erpnext/docs/user/manual/es/education/schedule/index.md
index f9c2c3b5d12..016aa1009a0 100644
--- a/erpnext/docs/user/manual/es/schools/schedule/index.md
+++ b/erpnext/docs/user/manual/es/education/schedule/index.md
@@ -1,6 +1,6 @@
# Horario
-
+
### Temas
diff --git a/erpnext/docs/user/manual/es/schools/schedule/index.txt b/erpnext/docs/user/manual/es/education/schedule/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/schedule/index.txt
rename to erpnext/docs/user/manual/es/education/schedule/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/schedule/scheduling-tool.md b/erpnext/docs/user/manual/es/education/schedule/scheduling-tool.md
similarity index 96%
rename from erpnext/docs/user/manual/es/schools/schedule/scheduling-tool.md
rename to erpnext/docs/user/manual/es/education/schedule/scheduling-tool.md
index 070a0354ec6..55ff425c7f2 100644
--- a/erpnext/docs/user/manual/es/schools/schedule/scheduling-tool.md
+++ b/erpnext/docs/user/manual/es/education/schedule/scheduling-tool.md
@@ -2,7 +2,7 @@
Esta herramienta puede ser usada para crear los Horarios de los Cursos.
-
+
### Creando Horarios de Cursos
diff --git a/erpnext/docs/user/manual/es/schools/schedule/student-attendance.md b/erpnext/docs/user/manual/es/education/schedule/student-attendance.md
similarity index 83%
rename from erpnext/docs/user/manual/es/schools/schedule/student-attendance.md
rename to erpnext/docs/user/manual/es/education/schedule/student-attendance.md
index a06c4f276d9..53bd4e938c6 100644
--- a/erpnext/docs/user/manual/es/schools/schedule/student-attendance.md
+++ b/erpnext/docs/user/manual/es/education/schedule/student-attendance.md
@@ -2,6 +2,6 @@
Mantiene los registros de la asistencia del estudiante. Los registros de asistencia pueden ser creados sobre los horarios de los cursos (Course Schedules).
-
+
{next}
diff --git a/erpnext/schools/doctype/academic_year/__init__.py b/erpnext/docs/user/manual/es/education/setup/__init__.py
similarity index 100%
rename from erpnext/schools/doctype/academic_year/__init__.py
rename to erpnext/docs/user/manual/es/education/setup/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/setup/academic-term.md b/erpnext/docs/user/manual/es/education/setup/academic-term.md
similarity index 71%
rename from erpnext/docs/user/manual/es/schools/setup/academic-term.md
rename to erpnext/docs/user/manual/es/education/setup/academic-term.md
index 83af58ac314..7a6b4056070 100644
--- a/erpnext/docs/user/manual/es/schools/setup/academic-term.md
+++ b/erpnext/docs/user/manual/es/education/setup/academic-term.md
@@ -1,6 +1,6 @@
# Término Académico
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/setup/academic-year.md b/erpnext/docs/user/manual/es/education/setup/academic-year.md
similarity index 70%
rename from erpnext/docs/user/manual/es/schools/setup/academic-year.md
rename to erpnext/docs/user/manual/es/education/setup/academic-year.md
index 56a46f9c390..7fe2a8f5f20 100644
--- a/erpnext/docs/user/manual/es/schools/setup/academic-year.md
+++ b/erpnext/docs/user/manual/es/education/setup/academic-year.md
@@ -1,5 +1,5 @@
# Año Académico
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/education/setup/course.md b/erpnext/docs/user/manual/es/education/setup/course.md
new file mode 100644
index 00000000000..fbbce625fd6
--- /dev/null
+++ b/erpnext/docs/user/manual/es/education/setup/course.md
@@ -0,0 +1,5 @@
+# Curso
+
+
+
+{next}
diff --git a/erpnext/docs/user/manual/es/schools/setup/index.md b/erpnext/docs/user/manual/es/education/setup/index.md
similarity index 72%
rename from erpnext/docs/user/manual/es/schools/setup/index.md
rename to erpnext/docs/user/manual/es/education/setup/index.md
index 070db540155..59df99502e0 100644
--- a/erpnext/docs/user/manual/es/schools/setup/index.md
+++ b/erpnext/docs/user/manual/es/education/setup/index.md
@@ -1,6 +1,6 @@
# Configuración
-
+
### Temas
diff --git a/erpnext/docs/user/manual/es/schools/setup/index.txt b/erpnext/docs/user/manual/es/education/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/setup/index.txt
rename to erpnext/docs/user/manual/es/education/setup/index.txt
diff --git a/erpnext/docs/user/manual/es/education/setup/instructor.md b/erpnext/docs/user/manual/es/education/setup/instructor.md
new file mode 100644
index 00000000000..4812c15856e
--- /dev/null
+++ b/erpnext/docs/user/manual/es/education/setup/instructor.md
@@ -0,0 +1,5 @@
+# Instructor
+
+
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/es/education/setup/program.md b/erpnext/docs/user/manual/es/education/setup/program.md
new file mode 100644
index 00000000000..123605786a1
--- /dev/null
+++ b/erpnext/docs/user/manual/es/education/setup/program.md
@@ -0,0 +1,5 @@
+# Programa
+
+
+
+{next}
diff --git a/erpnext/docs/user/manual/es/education/setup/room.md b/erpnext/docs/user/manual/es/education/setup/room.md
new file mode 100644
index 00000000000..7750dcfabb0
--- /dev/null
+++ b/erpnext/docs/user/manual/es/education/setup/room.md
@@ -0,0 +1,6 @@
+# Aula
+
+
+
+
+{next}
diff --git a/erpnext/schools/doctype/assessment_criteria/__init__.py b/erpnext/docs/user/manual/es/education/student/__init__.py
similarity index 100%
rename from erpnext/schools/doctype/assessment_criteria/__init__.py
rename to erpnext/docs/user/manual/es/education/student/__init__.py
diff --git a/erpnext/docs/user/manual/es/schools/student/index.md b/erpnext/docs/user/manual/es/education/student/index.md
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/student/index.md
rename to erpnext/docs/user/manual/es/education/student/index.md
diff --git a/erpnext/docs/user/manual/es/schools/student/index.txt b/erpnext/docs/user/manual/es/education/student/index.txt
similarity index 100%
rename from erpnext/docs/user/manual/es/schools/student/index.txt
rename to erpnext/docs/user/manual/es/education/student/index.txt
diff --git a/erpnext/docs/user/manual/es/schools/student/student-batch.md b/erpnext/docs/user/manual/es/education/student/student-batch.md
similarity index 55%
rename from erpnext/docs/user/manual/es/schools/student/student-batch.md
rename to erpnext/docs/user/manual/es/education/student/student-batch.md
index 4d5a17e671c..bb7c9d56fba 100644
--- a/erpnext/docs/user/manual/es/schools/student/student-batch.md
+++ b/erpnext/docs/user/manual/es/education/student/student-batch.md
@@ -3,6 +3,6 @@
Un lote de estudiantes es una colección de estudiantes desde los Grupos de Estudiantes.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/student/student-group-creation-tool.md b/erpnext/docs/user/manual/es/education/student/student-group-creation-tool.md
similarity index 77%
rename from erpnext/docs/user/manual/es/schools/student/student-group-creation-tool.md
rename to erpnext/docs/user/manual/es/education/student/student-group-creation-tool.md
index 2102c34de96..942fadfce78 100644
--- a/erpnext/docs/user/manual/es/schools/student/student-group-creation-tool.md
+++ b/erpnext/docs/user/manual/es/education/student/student-group-creation-tool.md
@@ -3,6 +3,6 @@
Esta herramienta te permite crear grupos de estudiantes. Puedes especificar multiples parámetros para crearlos.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/student/student-group.md b/erpnext/docs/user/manual/es/education/student/student-group.md
similarity index 90%
rename from erpnext/docs/user/manual/es/schools/student/student-group.md
rename to erpnext/docs/user/manual/es/education/student/student-group.md
index f5841cc0608..59dfcbc2758 100644
--- a/erpnext/docs/user/manual/es/schools/student/student-group.md
+++ b/erpnext/docs/user/manual/es/education/student/student-group.md
@@ -3,6 +3,6 @@
Un Grupo de Estudiante es una colección de estudiantes tomando el mismo curso. Puedes crear calendarios para los cursos y examinaciones para un Grupo de Estudiante.
Un Grupo de Estudiante necesita ser creado para cada curso en un año o término académico en particular.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/student/student-log.md b/erpnext/docs/user/manual/es/education/student/student-log.md
similarity index 71%
rename from erpnext/docs/user/manual/es/schools/student/student-log.md
rename to erpnext/docs/user/manual/es/education/student/student-log.md
index 296b867c601..e5a5e2cb4ff 100644
--- a/erpnext/docs/user/manual/es/schools/student/student-log.md
+++ b/erpnext/docs/user/manual/es/education/student/student-log.md
@@ -3,6 +3,6 @@
Puedes crear una nota de una actividad de un estudiante usando la bitácora de estudiante (log)
Los registros de bitágora pueden ser categorizadas como 'General', 'Academic', 'Medical' or 'Achievement'
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/schools/student/student.md b/erpnext/docs/user/manual/es/education/student/student.md
similarity index 78%
rename from erpnext/docs/user/manual/es/schools/student/student.md
rename to erpnext/docs/user/manual/es/education/student/student.md
index fee84c5c4c7..21724a71b98 100644
--- a/erpnext/docs/user/manual/es/schools/student/student.md
+++ b/erpnext/docs/user/manual/es/education/student/student.md
@@ -5,6 +5,6 @@ El doctype de Estudiante mantiene los detalles personales de los estudiantes.
Puedes ver todo lo relacionado a un estudiante en particular en esta página. Ejemplo: Pagos, Grupo de Estudiante, etc.
-
+
{next}
diff --git a/erpnext/docs/user/manual/es/index.txt b/erpnext/docs/user/manual/es/index.txt
index 00cf97b420c..ad85a791d72 100644
--- a/erpnext/docs/user/manual/es/index.txt
+++ b/erpnext/docs/user/manual/es/index.txt
@@ -1,4 +1,4 @@
introduction
accounts
projects
-schools
+education
diff --git a/erpnext/docs/user/manual/es/schools/fees/fees.md b/erpnext/docs/user/manual/es/schools/fees/fees.md
deleted file mode 100644
index d6b74dc300a..00000000000
--- a/erpnext/docs/user/manual/es/schools/fees/fees.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Cuotas
-
-Mantiene un registro de todas las cuotas recolectadas de los estudiantes.
-La [Estructura de Cuota](/docs/user/manual/es/schools/fees/fee-structure.html) es seleccionada basada en el programa seleccionada y los Términos Académicos.
-
-
-
-{next}
diff --git a/erpnext/docs/user/manual/es/schools/setup/course.md b/erpnext/docs/user/manual/es/schools/setup/course.md
deleted file mode 100644
index 799f9b46e11..00000000000
--- a/erpnext/docs/user/manual/es/schools/setup/course.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Curso
-
-
-
-{next}
diff --git a/erpnext/docs/user/manual/es/schools/setup/instructor.md b/erpnext/docs/user/manual/es/schools/setup/instructor.md
deleted file mode 100644
index 1a4d35161c2..00000000000
--- a/erpnext/docs/user/manual/es/schools/setup/instructor.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Instructor
-
-
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/es/schools/setup/program.md b/erpnext/docs/user/manual/es/schools/setup/program.md
deleted file mode 100644
index 78895c58068..00000000000
--- a/erpnext/docs/user/manual/es/schools/setup/program.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Programa
-
-
-
-{next}
diff --git a/erpnext/docs/user/manual/es/schools/setup/room.md b/erpnext/docs/user/manual/es/schools/setup/room.md
deleted file mode 100644
index 92a4de77afe..00000000000
--- a/erpnext/docs/user/manual/es/schools/setup/room.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Aula
-
-
-
-
-{next}
diff --git a/erpnext/docs/user/videos/learn/education.md b/erpnext/docs/user/videos/learn/education.md
new file mode 100644
index 00000000000..24b0cd03faf
--- /dev/null
+++ b/erpnext/docs/user/videos/learn/education.md
@@ -0,0 +1,7 @@
+# ERPNext for Education
+
+
+
+**Duration: 39:21**
+
+This video is a recording of a webinar on how education institutes can use ERPNext Education module. It covers management of Student Applications, managing masters like Students, Programs and Courses. Also, you can manage processes like Course Scheduling, Student Assessment, Fees and Attendance.
\ No newline at end of file
diff --git a/erpnext/docs/user/videos/learn/index.md b/erpnext/docs/user/videos/learn/index.md
index dad5cc0fefb..3bdf3055f57 100644
--- a/erpnext/docs/user/videos/learn/index.md
+++ b/erpnext/docs/user/videos/learn/index.md
@@ -27,8 +27,8 @@
ERPNext for Retailers
39:21
- | ${__("Course")} | ${__("Date")} |
|---|---|
| ${c.name} | +${c.schedule_date} |