mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
commonified in_words function
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
[
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"creation": "2012-05-01 12:46:31",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:16:56",
|
||||
"modified": "2013-01-21 18:40:20",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-13 12:24:59"
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"doc_type": "Journal Voucher",
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"doctype": "Print Format",
|
||||
"html": "<div style=\"position: relative;\">\n<h3 align=\"center\"><script>doc.company</script>\n</div>\n\n<font size=\"4\">\n<table class='simpletable'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_rec_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style=\"text-align:left\"><b><script>doc.total_amount_in_words</script></b></div><br>\n<div>This receipt is issued subject to realization of the Cheque</div>\n</font>\n<br>\n<table class=\"noborder\">\n<tr>\n<td style = \"text-align = right;\"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>",
|
||||
"html": "<h3 align=\"center\"><script>doc.select_print_heading || \"Payment Receipt Note\"</script></h3>\n\n<table class='simpletable'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_recd_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style=\"text-align:left\"><b><script>doc.total_amount_in_words</script></b></div><br>\n<br>\n<table class=\"noborder\">\n<tr>\n<td style = \"text-align = right;\"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>",
|
||||
"module": "Accounts",
|
||||
"name": "__common__",
|
||||
"standard": "Yes"
|
||||
},
|
||||
{
|
||||
"name": "Payment Receipt Voucher",
|
||||
"doctype": "Print Format"
|
||||
"doctype": "Print Format",
|
||||
"name": "Payment Receipt Voucher"
|
||||
}
|
||||
]
|
||||
@@ -9,13 +9,13 @@
|
||||
{
|
||||
"in_create": 1,
|
||||
"allow_rename": 1,
|
||||
"description": "Heads (or groups) against which Accounting Entries are made and balances are maintained.",
|
||||
"search_fields": "debit_or_credit, group_or_ledger",
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_copy": 1,
|
||||
"search_fields": "debit_or_credit, group_or_ledger",
|
||||
"document_type": "Master",
|
||||
"name": "__common__"
|
||||
"description": "Heads (or groups) against which Accounting Entries are made and balances are maintained."
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
@@ -27,10 +27,10 @@
|
||||
{
|
||||
"name": "__common__",
|
||||
"parent": "Account",
|
||||
"amend": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"read": 1,
|
||||
"submit": 0,
|
||||
"doctype": "DocPerm",
|
||||
"amend": 0,
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
@@ -83,12 +83,12 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Group or Ledger",
|
||||
"oldfieldname": "group_or_ledger",
|
||||
"permlevel": 1,
|
||||
"options": "\nLedger\nGroup",
|
||||
"fieldname": "group_or_ledger",
|
||||
"fieldtype": "Select",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"options": "\nLedger\nGroup",
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -107,11 +107,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Is PL Account",
|
||||
"oldfieldname": "is_pl_account",
|
||||
"options": "Yes\nNo",
|
||||
"permlevel": 1,
|
||||
"fieldname": "is_pl_account",
|
||||
"fieldtype": "Select",
|
||||
"search_index": 1,
|
||||
"permlevel": 1,
|
||||
"options": "Yes\nNo",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -119,12 +119,12 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"options": "Company",
|
||||
"permlevel": 1,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"permlevel": 1,
|
||||
"options": "Company",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -139,11 +139,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Parent Account",
|
||||
"oldfieldname": "parent_account",
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "parent_account",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"description": "Setting Account Type helps in selecting this Account in transactions.",
|
||||
@@ -151,11 +151,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Account Type",
|
||||
"oldfieldname": "account_type",
|
||||
"options": "\nFixed Asset Account\nBank or Cash\nExpense Account\nTax\nIncome Account\nChargeable",
|
||||
"permlevel": 0,
|
||||
"fieldname": "account_type",
|
||||
"fieldtype": "Select",
|
||||
"search_index": 0,
|
||||
"permlevel": 0,
|
||||
"options": "\nFixed Asset Account\nBank or Cash\nExpense Account\nTax\nIncome Account\nChargeable",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -176,10 +176,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Frozen",
|
||||
"oldfieldname": "freeze_account",
|
||||
"options": "No\nYes",
|
||||
"permlevel": 2,
|
||||
"fieldname": "freeze_account",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 2
|
||||
"options": "No\nYes"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -209,20 +209,20 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Master Type",
|
||||
"oldfieldname": "master_type",
|
||||
"options": "\nSupplier\nCustomer\nEmployee",
|
||||
"permlevel": 0,
|
||||
"fieldname": "master_type",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "\nSupplier\nCustomer\nEmployee"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Master Name",
|
||||
"oldfieldname": "master_name",
|
||||
"options": "[Select]",
|
||||
"permlevel": 0,
|
||||
"fieldname": "master_name",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "[Select]"
|
||||
},
|
||||
{
|
||||
"read_only": 1,
|
||||
@@ -258,6 +258,7 @@
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Auditor",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -282,6 +283,7 @@
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Sales User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -290,6 +292,7 @@
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Purchase User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -298,6 +301,7 @@
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -306,6 +310,7 @@
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
"description": "**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**",
|
||||
"module": "Accounts",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"autoname": "field:distribution_id",
|
||||
"show_in_menu": 0,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"server_code_error": " ",
|
||||
"name_case": "Title Case",
|
||||
"version": 1
|
||||
},
|
||||
@@ -43,8 +43,9 @@
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"role": "System Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -64,6 +65,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -100,11 +102,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"permlevel": 0,
|
||||
"options": "link:Fiscal Year",
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "link:Fiscal Year",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -112,10 +114,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Budget Distribution Details",
|
||||
"oldfieldname": "budget_distribution_details",
|
||||
"permlevel": 0,
|
||||
"options": "Budget Distribution Detail",
|
||||
"fieldname": "budget_distribution_details",
|
||||
"fieldtype": "Table",
|
||||
"options": "Budget Distribution Detail"
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Small Text",
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
"modified": "2012-12-06 12:12:46"
|
||||
},
|
||||
{
|
||||
"in_create": 1,
|
||||
"description": "Track separate Income and Expense for product verticals or divisions.",
|
||||
"search_fields": "name,parent_cost_center",
|
||||
"module": "Accounts",
|
||||
"document_type": "Master",
|
||||
"description": "Track separate Income and Expense for product verticals or divisions.",
|
||||
"in_create": 1,
|
||||
"autoname": "field:cost_center_name",
|
||||
"name": "__common__",
|
||||
"allow_rename": 1,
|
||||
@@ -72,12 +72,12 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Parent Cost Center",
|
||||
"oldfieldname": "parent_cost_center",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "parent_cost_center",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Cost Center",
|
||||
"permlevel": 0
|
||||
"options": "Cost Center"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Link",
|
||||
@@ -85,12 +85,12 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company_name",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "company_name",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Company",
|
||||
"permlevel": 0
|
||||
"options": "Company"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Data",
|
||||
@@ -143,10 +143,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Distribution Id",
|
||||
"oldfieldname": "distribution_id",
|
||||
"options": "Budget Distribution",
|
||||
"permlevel": 0,
|
||||
"fieldname": "distribution_id",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Budget Distribution"
|
||||
},
|
||||
{
|
||||
"description": "Add rows to set annual budgets on Accounts.",
|
||||
@@ -155,10 +155,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Budget Details",
|
||||
"oldfieldname": "budget_details",
|
||||
"options": "Budget Detail",
|
||||
"permlevel": 0,
|
||||
"fieldname": "budget_details",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Budget Detail"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -198,11 +198,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "old_parent",
|
||||
"oldfieldname": "old_parent",
|
||||
"permlevel": 0,
|
||||
"options": "Cost Center",
|
||||
"fieldname": "old_parent",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"options": "Cost Center",
|
||||
"permlevel": 0,
|
||||
"report_hide": 1
|
||||
},
|
||||
{
|
||||
@@ -221,6 +221,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -241,6 +242,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Accounts User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -249,13 +251,14 @@
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"role": "System Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm",
|
||||
"role": "All",
|
||||
"permlevel": 1
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
||||
@@ -10,14 +10,14 @@
|
||||
"section_style": "Tabbed",
|
||||
"description": "**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"allow_trash": 1,
|
||||
"autoname": "field:year",
|
||||
"document_type": "Master",
|
||||
"_last_update": "1322549700",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
@@ -29,15 +29,16 @@
|
||||
"parentfield": "fields"
|
||||
},
|
||||
{
|
||||
"report": 1,
|
||||
"name": "__common__",
|
||||
"parent": "Fiscal Year",
|
||||
"read": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"cancel": 1,
|
||||
"parenttype": "DocType",
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
@@ -100,10 +101,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Year Closed",
|
||||
"oldfieldname": "is_fiscal_year_closed",
|
||||
"options": "\nNo\nYes",
|
||||
"permlevel": 0,
|
||||
"fieldname": "is_fiscal_year_closed",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
"options": "\nNo\nYes"
|
||||
}
|
||||
]
|
||||
@@ -11,12 +11,12 @@
|
||||
"in_create": 1,
|
||||
"search_fields": "voucher_no,account,posting_date,against_voucher",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "GL.#######",
|
||||
"_last_update": "1319016431",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1319016431",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 103
|
||||
},
|
||||
@@ -35,6 +35,7 @@
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
@@ -175,9 +175,9 @@ class DocType:
|
||||
if flag == 0 and (flt(diff) != 0):
|
||||
jd = addchild(self.doc, 'entries', 'Journal Voucher Detail', self.doclist)
|
||||
if diff>0:
|
||||
jd.credit = flt(diff)
|
||||
jd.credit = flt(abs(diff))
|
||||
elif diff<0:
|
||||
jd.debit = flt(diff)
|
||||
jd.debit = flt(abs(diff))
|
||||
|
||||
# Set the total debit, total credit and difference
|
||||
for d in getlist(self.doclist,'entries'):
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2013-01-17 12:30:11",
|
||||
"creation": "2013-01-18 10:46:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2013-01-17 14:27:43"
|
||||
"modified": "2013-01-18 17:44:58"
|
||||
},
|
||||
{
|
||||
"autoname": "naming_series:",
|
||||
@@ -28,6 +28,7 @@
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"report": 1,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
{
|
||||
@@ -102,8 +103,8 @@
|
||||
},
|
||||
{
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Table",
|
||||
"allow_on_submit": 1,
|
||||
"oldfieldtype": "Table",
|
||||
"doctype": "DocField",
|
||||
"label": "Entries",
|
||||
"oldfieldname": "entries",
|
||||
@@ -460,27 +461,14 @@
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Supplier Account",
|
||||
"oldfieldname": "supplier_account",
|
||||
"options": "Account",
|
||||
"fieldname": "supplier_account",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"amend": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "Accounts User",
|
||||
"cancel": 1,
|
||||
"role": "Accounts User",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -489,8 +477,8 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Accounts User",
|
||||
"cancel": 0,
|
||||
"role": "Accounts User",
|
||||
"permlevel": 1
|
||||
},
|
||||
{
|
||||
@@ -499,8 +487,8 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 0,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1
|
||||
},
|
||||
{
|
||||
@@ -509,8 +497,8 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -519,8 +507,8 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Auditor",
|
||||
"cancel": 0,
|
||||
"role": "Auditor",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -529,8 +517,8 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Auditor",
|
||||
"cancel": 0,
|
||||
"role": "Auditor",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
||||
@@ -7,10 +7,10 @@
|
||||
"modified": "2012-12-04 16:33:37"
|
||||
},
|
||||
{
|
||||
"autoname": "field:mode_of_payment",
|
||||
"name": "__common__",
|
||||
"doctype": "DocType",
|
||||
"autoname": "field:mode_of_payment",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"document_type": "Master"
|
||||
},
|
||||
{
|
||||
@@ -24,15 +24,16 @@
|
||||
{
|
||||
"parent": "Mode of Payment",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"cancel": 1,
|
||||
"name": "__common__",
|
||||
"amend": 0,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"parenttype": "DocType",
|
||||
"role": "Accounts Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
@@ -33,12 +33,15 @@ cur_frm.cscript.refresh = function(doc) {
|
||||
cur_frm.fields_dict.voucher_no.get_query = function(doc) {
|
||||
if (!doc.account) msgprint("Please select Account first");
|
||||
else {
|
||||
return repl("select voucher_no, posting_date \
|
||||
from `tabGL Entry` where ifnull(is_cancelled, 'No') = 'No'\
|
||||
and account = '%(acc)s' \
|
||||
and voucher_type = '%(dt)s' \
|
||||
and voucher_no LIKE '%s' \
|
||||
ORDER BY posting_date DESC, voucher_no DESC LIMIT 50 \
|
||||
return repl("select gle.voucher_no, gle.posting_date \
|
||||
from `tabGL Entry` gle where gle.account = '%(acc)s' \
|
||||
and gle.voucher_type = '%(dt)s' \
|
||||
and gle.voucher_no LIKE '%s' \
|
||||
and ifnull(gle.is_cancelled, 'No') = 'No'\
|
||||
and (select sum(debit) - sum(credit) from `tabGL Entry` \
|
||||
where against_voucher_type = '%(dt)s' and against_voucher = gle.voucher_no \
|
||||
and ifnull(is_cancelled, 'No') = 'No') != 0 \
|
||||
ORDER BY gle.posting_date DESC, gle.voucher_no DESC LIMIT 50 \
|
||||
", {dt:doc.voucher_type, acc:doc.account});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:46",
|
||||
"creation": "2013-01-16 14:48:54",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-12-31 10:34:43"
|
||||
"modified": "2013-01-21 11:52:11"
|
||||
},
|
||||
{
|
||||
"issingle": 1,
|
||||
@@ -25,7 +25,9 @@
|
||||
"name": "__common__",
|
||||
"parent": "Payment to Invoice Matching Tool",
|
||||
"read": 1,
|
||||
"submit": 0,
|
||||
"doctype": "DocPerm",
|
||||
"report": 0,
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
@@ -197,8 +199,11 @@
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"role": "All",
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
||||
@@ -11,12 +11,12 @@
|
||||
"is_submittable": 1,
|
||||
"search_fields": "posting_date, fiscal_year",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "PCE/.###",
|
||||
"_last_update": "1311621379",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1311621379",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
@@ -85,6 +85,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -94,8 +95,9 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"role": "Accounts Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -130,11 +132,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Closing Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"permlevel": 0,
|
||||
"options": "link:Fiscal Year",
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Fiscal Year"
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"no_copy": 1,
|
||||
@@ -161,11 +163,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"permlevel": 0,
|
||||
"options": "link:Company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Company"
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Column Break",
|
||||
@@ -180,21 +182,21 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Closing Account Head",
|
||||
"oldfieldname": "closing_account_head",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "closing_account_head",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "HTML",
|
||||
"doctype": "DocField",
|
||||
"label": "CoA Help",
|
||||
"permlevel": 0,
|
||||
"options": "<a href=\"#!Accounts Browser/Account\">To manage Account Head, click here</a>",
|
||||
"fieldname": "coa_help",
|
||||
"fieldtype": "HTML",
|
||||
"options": "<a href=\"#!Accounts Browser/Account\">To manage Account Head, click here</a>"
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Small Text",
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
"section_style": "Simple",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "POS/.####",
|
||||
"show_in_menu": 0,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"server_code_error": " ",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
{
|
||||
@@ -32,6 +32,7 @@
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
"modified": "2013-01-18 13:25:16"
|
||||
},
|
||||
{
|
||||
"autoname": "naming_series:",
|
||||
"allow_attach": 1,
|
||||
"is_submittable": 1,
|
||||
"search_fields": "posting_date, credit_to, fiscal_year, bill_no, grand_total, outstanding_amount",
|
||||
"allow_attach": 1,
|
||||
"autoname": "naming_series:",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"read_only_onload": 1,
|
||||
"search_fields": "posting_date, credit_to, fiscal_year, bill_no, grand_total, outstanding_amount",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
@@ -70,8 +70,8 @@
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"options": "Account"
|
||||
"options": "Account",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Data",
|
||||
@@ -128,18 +128,18 @@
|
||||
{
|
||||
"print_hide": 1,
|
||||
"description": "The date at which current entry will get or has actually executed.",
|
||||
"default": "Today",
|
||||
"no_copy": 0,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"oldfieldname": "posting_date",
|
||||
"no_copy": 0,
|
||||
"default": "Today",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"permlevel": 0
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -152,8 +152,8 @@
|
||||
"fieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"permlevel": 0
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -182,10 +182,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Entries",
|
||||
"oldfieldname": "entries",
|
||||
"options": "Purchase Invoice Item",
|
||||
"permlevel": 0,
|
||||
"fieldname": "entries",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Invoice Item"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -203,10 +203,10 @@
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"options": "Simple",
|
||||
"permlevel": 0,
|
||||
"fieldname": "section_break_17",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
"options": "Simple"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -215,10 +215,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Order",
|
||||
"oldfieldname": "purchase_order_main",
|
||||
"options": "Purchase Order",
|
||||
"permlevel": 0,
|
||||
"fieldname": "purchase_order_main",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Order"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -227,19 +227,19 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Receipt",
|
||||
"oldfieldname": "purchase_receipt_main",
|
||||
"options": "Purchase Receipt",
|
||||
"permlevel": 0,
|
||||
"fieldname": "purchase_receipt_main",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Receipt"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Button",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Items",
|
||||
"options": "pull_details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "get_items",
|
||||
"fieldtype": "Button",
|
||||
"permlevel": 0
|
||||
"options": "pull_details"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -254,10 +254,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Currency",
|
||||
"oldfieldname": "currency",
|
||||
"options": "link:Currency",
|
||||
"permlevel": 0,
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "link:Currency"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -282,20 +282,20 @@
|
||||
"description": "Consider this Price List for fetching rate. (only which have \"For Buying\" as checked)",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List",
|
||||
"options": "Price List",
|
||||
"permlevel": 0,
|
||||
"fieldname": "price_list_name",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Price List"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"depends_on": "price_list_name",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List Currency",
|
||||
"options": "Currency",
|
||||
"permlevel": 0,
|
||||
"fieldname": "price_list_currency",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Currency"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -321,30 +321,30 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Taxes and Charges",
|
||||
"oldfieldname": "purchase_other_charges",
|
||||
"options": "Purchase Taxes and Charges Master",
|
||||
"permlevel": 0,
|
||||
"fieldname": "purchase_other_charges",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Taxes and Charges Master"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Button",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Tax Detail",
|
||||
"options": "get_purchase_tax_details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "get_tax_detail",
|
||||
"fieldtype": "Button",
|
||||
"permlevel": 0
|
||||
"options": "get_purchase_tax_details"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Table",
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Taxes and Charges",
|
||||
"oldfieldname": "purchase_tax_details",
|
||||
"options": "Purchase Taxes and Charges",
|
||||
"permlevel": 0,
|
||||
"fieldname": "purchase_tax_details",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Taxes and Charges"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -387,20 +387,20 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Supplier",
|
||||
"oldfieldname": "supplier",
|
||||
"options": "Supplier",
|
||||
"permlevel": 0,
|
||||
"fieldname": "supplier",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"permlevel": 0
|
||||
"options": "Supplier"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.supplier",
|
||||
"doctype": "DocField",
|
||||
"label": "Supplier Address",
|
||||
"options": "Address",
|
||||
"permlevel": 0,
|
||||
"fieldname": "supplier_address",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Address"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -414,10 +414,10 @@
|
||||
"depends_on": "eval:doc.supplier",
|
||||
"doctype": "DocField",
|
||||
"label": "Contact Person",
|
||||
"options": "Contact",
|
||||
"permlevel": 0,
|
||||
"fieldname": "contact_person",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Contact"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Section Break",
|
||||
@@ -589,10 +589,10 @@
|
||||
"depends_on": "eval:flt(doc.write_off_amount)!=0",
|
||||
"doctype": "DocField",
|
||||
"label": "Write Off Account",
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "write_off_account",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -600,10 +600,10 @@
|
||||
"depends_on": "eval:flt(doc.write_off_amount)!=0",
|
||||
"doctype": "DocField",
|
||||
"label": "Write Off Cost Center",
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "write_off_cost_center",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -632,10 +632,10 @@
|
||||
"oldfieldtype": "Button",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Advances Paid",
|
||||
"options": "get_advances",
|
||||
"permlevel": 0,
|
||||
"fieldname": "get_advances_paid",
|
||||
"fieldtype": "Button",
|
||||
"permlevel": 0
|
||||
"options": "get_advances"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -644,10 +644,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Invoice Advances",
|
||||
"oldfieldname": "advance_allocation_details",
|
||||
"options": "Purchase Invoice Advance",
|
||||
"permlevel": 0,
|
||||
"fieldname": "advance_allocation_details",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Purchase Invoice Advance"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -665,11 +665,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Is Opening",
|
||||
"oldfieldname": "is_opening",
|
||||
"permlevel": 0,
|
||||
"options": "No\nYes",
|
||||
"fieldname": "is_opening",
|
||||
"fieldtype": "Select",
|
||||
"search_index": 1,
|
||||
"options": "No\nYes",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -690,10 +690,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Amended From",
|
||||
"oldfieldname": "amended_from",
|
||||
"options": "Purchase Invoice",
|
||||
"permlevel": 1,
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 1
|
||||
"options": "Purchase Invoice"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -703,10 +703,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Select Print Heading",
|
||||
"oldfieldname": "select_print_heading",
|
||||
"permlevel": 0,
|
||||
"options": "Print Heading",
|
||||
"fieldname": "select_print_heading",
|
||||
"fieldtype": "Link",
|
||||
"options": "Print Heading",
|
||||
"permlevel": 0,
|
||||
"report_hide": 1
|
||||
},
|
||||
{
|
||||
@@ -727,10 +727,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Mode of Payment",
|
||||
"oldfieldname": "mode_of_payment",
|
||||
"options": "link:Mode of Payment",
|
||||
"permlevel": 0,
|
||||
"fieldname": "mode_of_payment",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "link:Mode of Payment"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -744,11 +744,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"options": "Company",
|
||||
"permlevel": 0,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"permlevel": 0,
|
||||
"options": "Company",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -757,11 +757,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"options": "link:Fiscal Year",
|
||||
"permlevel": 0,
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"search_index": 1,
|
||||
"permlevel": 0,
|
||||
"options": "link:Fiscal Year",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -804,6 +804,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts User",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -824,6 +825,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Purchase User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -834,8 +836,9 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Supplier",
|
||||
"cancel": 0,
|
||||
"role": "Supplier",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"match": "supplier"
|
||||
},
|
||||
@@ -855,6 +858,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -885,6 +889,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Auditor",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
"section_style": "Simple",
|
||||
"description": "Standard tax template that can be applied to all Purchase Transactions. This template can contain list of tax heads and also other expense heads like \"Shipping\", \"Insurance\", \"Handling\" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on \"Previous Row Total\" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Consider Tax or Charge for: In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.\n10. Add or Deduct: Whether you want to add or deduct the tax.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"allow_trash": 1,
|
||||
"autoname": "field:title",
|
||||
"document_type": "Master",
|
||||
"_last_update": "1325570646",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1325570646",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
@@ -52,6 +52,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Purchase Manager",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -60,8 +61,9 @@
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"role": "System Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -69,8 +71,9 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Purchase Master Manager",
|
||||
"cancel": 1,
|
||||
"role": "Purchase Master Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
},
|
||||
{
|
||||
"is_submittable": 1,
|
||||
"autoname": "naming_series:",
|
||||
"allow_attach": 1,
|
||||
"search_fields": "posting_date, due_date, debit_to, fiscal_year, grand_total, outstanding_amount",
|
||||
"autoname": "naming_series:",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"read_only_onload": 1,
|
||||
"search_fields": "posting_date, due_date, debit_to, fiscal_year, grand_total, outstanding_amount",
|
||||
"name": "__common__"
|
||||
},
|
||||
{
|
||||
@@ -104,8 +104,8 @@
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"options": "Account"
|
||||
"options": "Account",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -176,45 +176,45 @@
|
||||
{
|
||||
"print_hide": 0,
|
||||
"description": "The date at which current entry will get or has actually executed.",
|
||||
"default": "Today",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"oldfieldname": "posting_date",
|
||||
"no_copy": 1,
|
||||
"default": "Today",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"permlevel": 0
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"description": "Enter the date by which payments from customer is expected against this invoice.",
|
||||
"default": "Today",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Due Date",
|
||||
"oldfieldname": "due_date",
|
||||
"no_copy": 1,
|
||||
"default": "Today",
|
||||
"fieldname": "due_date",
|
||||
"fieldtype": "Date",
|
||||
"search_index": 0,
|
||||
"reqd": 1,
|
||||
"in_filter": 1,
|
||||
"permlevel": 0
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Mode of Payment",
|
||||
"oldfieldname": "mode_of_payment",
|
||||
"options": "link:Mode of Payment",
|
||||
"permlevel": 0,
|
||||
"fieldname": "mode_of_payment",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "link:Mode of Payment"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Section Break",
|
||||
@@ -232,10 +232,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Entries",
|
||||
"oldfieldname": "entries",
|
||||
"options": "Sales Invoice Item",
|
||||
"permlevel": 0,
|
||||
"fieldname": "entries",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Sales Invoice Item"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -247,10 +247,10 @@
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"options": "Simple",
|
||||
"permlevel": 0,
|
||||
"fieldname": "section_break0",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
"options": "Simple"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -297,10 +297,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Order",
|
||||
"oldfieldname": "sales_order_main",
|
||||
"options": "Sales Order",
|
||||
"permlevel": 0,
|
||||
"fieldname": "sales_order_main",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Sales Order"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -310,10 +310,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Delivery Note",
|
||||
"oldfieldname": "delivery_note_main",
|
||||
"options": "Delivery Note",
|
||||
"permlevel": 0,
|
||||
"fieldname": "delivery_note_main",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Delivery Note"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -345,11 +345,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Price List",
|
||||
"oldfieldname": "price_list_name",
|
||||
"options": "link:Price List",
|
||||
"permlevel": 0,
|
||||
"fieldname": "price_list_name",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
"options": "link:Price List"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -357,11 +357,11 @@
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List Currency",
|
||||
"options": "link:Currency",
|
||||
"permlevel": 0,
|
||||
"fieldname": "price_list_currency",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
"options": "link:Currency"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -387,11 +387,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Currency",
|
||||
"oldfieldname": "currency",
|
||||
"options": "link:Currency",
|
||||
"permlevel": 0,
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
"options": "link:Currency"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -421,10 +421,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Taxes and Charges",
|
||||
"oldfieldname": "charge",
|
||||
"options": "Sales Taxes and Charges Master",
|
||||
"permlevel": 0,
|
||||
"fieldname": "charge",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Sales Taxes and Charges Master"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -443,10 +443,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Taxes and Charges1",
|
||||
"oldfieldname": "other_charges",
|
||||
"options": "Sales Taxes and Charges",
|
||||
"permlevel": 0,
|
||||
"fieldname": "other_charges",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Sales Taxes and Charges"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -652,10 +652,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Cash/Bank Account",
|
||||
"oldfieldname": "cash_bank_account",
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "cash_bank_account",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"colour": "White:FFF",
|
||||
@@ -688,20 +688,20 @@
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Write Off Account",
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "write_off_account",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Write Off Cost Center",
|
||||
"options": "Cost Center",
|
||||
"permlevel": 0,
|
||||
"fieldname": "write_off_cost_center",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Cost Center"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Section Break",
|
||||
@@ -718,10 +718,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Select Terms and Conditions",
|
||||
"oldfieldname": "tc_name",
|
||||
"options": "Terms and Conditions",
|
||||
"permlevel": 0,
|
||||
"fieldname": "tc_name",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Terms and Conditions"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -729,11 +729,11 @@
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Terms and Conditions",
|
||||
"permlevel": 0,
|
||||
"trigger": "Server",
|
||||
"fieldname": "get_terms",
|
||||
"fieldtype": "Button",
|
||||
"options": "get_tc_details",
|
||||
"permlevel": 0
|
||||
"options": "get_tc_details"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -741,10 +741,10 @@
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Terms and Conditions HTML",
|
||||
"options": "You can add Terms and Notes that will be printed in the Transaction",
|
||||
"permlevel": 0,
|
||||
"fieldname": "terms_html",
|
||||
"fieldtype": "HTML",
|
||||
"permlevel": 0
|
||||
"options": "You can add Terms and Notes that will be printed in the Transaction"
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Text Editor",
|
||||
@@ -773,19 +773,19 @@
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Customer Address",
|
||||
"options": "Address",
|
||||
"permlevel": 0,
|
||||
"fieldname": "customer_address",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Address"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Contact Person",
|
||||
"options": "Contact",
|
||||
"permlevel": 0,
|
||||
"fieldname": "contact_person",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
"options": "Contact"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
@@ -799,11 +799,11 @@
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Territory",
|
||||
"options": "Territory",
|
||||
"permlevel": 0,
|
||||
"fieldname": "territory",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"options": "Territory",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -811,10 +811,10 @@
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Customer Group",
|
||||
"options": "Customer Group",
|
||||
"permlevel": 0,
|
||||
"fieldname": "customer_group",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0,
|
||||
"options": "Customer Group",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -882,20 +882,20 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Letter Head",
|
||||
"oldfieldname": "letter_head",
|
||||
"options": "link:Letter Head",
|
||||
"permlevel": 0,
|
||||
"fieldname": "letter_head",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "link:Letter Head"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "C-Form Applicable",
|
||||
"options": "No\nYes",
|
||||
"permlevel": 0,
|
||||
"fieldname": "c_form_applicable",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0,
|
||||
"options": "No\nYes",
|
||||
"report_hide": 0
|
||||
},
|
||||
{
|
||||
@@ -903,10 +903,10 @@
|
||||
"no_copy": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "C-Form No",
|
||||
"options": "C-Form",
|
||||
"permlevel": 1,
|
||||
"fieldname": "c_form_no",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 1
|
||||
"options": "C-Form"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -915,11 +915,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Campaign",
|
||||
"oldfieldname": "campaign",
|
||||
"options": "Campaign",
|
||||
"permlevel": 0,
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Link",
|
||||
"depends_on": "eval:doc.source == 'Campaign'",
|
||||
"permlevel": 0
|
||||
"options": "Campaign"
|
||||
},
|
||||
{
|
||||
"description": "Track this Sales Invoice against any Project",
|
||||
@@ -933,8 +933,8 @@
|
||||
"fieldname": "project_name",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"in_filter": 1,
|
||||
"options": "Project"
|
||||
"options": "Project",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -967,10 +967,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Source",
|
||||
"oldfieldname": "source",
|
||||
"options": "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign",
|
||||
"permlevel": 0,
|
||||
"fieldname": "source",
|
||||
"fieldtype": "Select",
|
||||
"permlevel": 0
|
||||
"options": "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -978,12 +978,12 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"permlevel": 0,
|
||||
"options": "Company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 0,
|
||||
"reqd": 1,
|
||||
"options": "Company",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -1008,10 +1008,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Amended From",
|
||||
"oldfieldname": "amended_from",
|
||||
"options": "Sales Invoice",
|
||||
"permlevel": 1,
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 1
|
||||
"options": "Sales Invoice"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1064,10 +1064,10 @@
|
||||
"oldfieldtype": "Button",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Advances Received",
|
||||
"options": "get_advances",
|
||||
"permlevel": 0,
|
||||
"fieldname": "get_advances_received",
|
||||
"fieldtype": "Button",
|
||||
"permlevel": 0
|
||||
"options": "get_advances"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1075,10 +1075,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Invoice Advance",
|
||||
"oldfieldname": "advance_adjustment_details",
|
||||
"options": "Sales Invoice Advance",
|
||||
"permlevel": 0,
|
||||
"fieldname": "advance_adjustment_details",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Sales Invoice Advance"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1092,10 +1092,10 @@
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Packing Details",
|
||||
"options": "Delivery Note Packing Item",
|
||||
"permlevel": 0,
|
||||
"fieldname": "packing_details",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Delivery Note Packing Item"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1122,11 +1122,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Partner",
|
||||
"oldfieldname": "sales_partner",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "sales_partner",
|
||||
"fieldtype": "Link",
|
||||
"options": "Sales Partner",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@@ -1176,10 +1176,10 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Team1",
|
||||
"oldfieldname": "sales_team",
|
||||
"options": "Sales Team",
|
||||
"permlevel": 0,
|
||||
"fieldname": "sales_team",
|
||||
"fieldtype": "Table",
|
||||
"permlevel": 0
|
||||
"options": "Sales Team"
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1222,10 +1222,10 @@
|
||||
"allow_on_submit": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Recurring Type",
|
||||
"permlevel": 0,
|
||||
"options": "Monthly\nQuarterly\nHalf-yearly\nYearly",
|
||||
"fieldname": "recurring_type",
|
||||
"fieldtype": "Select",
|
||||
"options": "Monthly\nQuarterly\nHalf-yearly\nYearly"
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@@ -1346,9 +1346,9 @@
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm",
|
||||
"role": "Material Manager",
|
||||
"permlevel": 0
|
||||
"permlevel": 0,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
{
|
||||
"amend": 1,
|
||||
@@ -1358,6 +1358,7 @@
|
||||
"write": 1,
|
||||
"read": 1,
|
||||
"role": "Accounts User",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"cancel": 1
|
||||
},
|
||||
@@ -1369,13 +1370,14 @@
|
||||
"write": 0,
|
||||
"read": 1,
|
||||
"role": "Accounts User",
|
||||
"permlevel": 1,
|
||||
"cancel": 0
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
{
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"role": "Customer",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"match": "customer"
|
||||
},
|
||||
@@ -1387,8 +1389,8 @@
|
||||
"write": 0,
|
||||
"read": 1,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1,
|
||||
"cancel": 0
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
{
|
||||
"amend": 1,
|
||||
@@ -1398,6 +1400,7 @@
|
||||
"write": 1,
|
||||
"read": 1,
|
||||
"role": "Accounts Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0,
|
||||
"cancel": 1
|
||||
}
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
"section_style": "Tabbed",
|
||||
"description": "Standard tax template that can be applied to all Sales Transactions. This template can contain list of tax heads and also other expense / income heads like \"Shipping\", \"Insurance\", \"Handling\" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on \"Previous Row Total\" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Is this Tax included in Basic Rate?: If you check this, it means that this tax will not be shown below the item table, but will be included in the Basic Rate in your main item table. This is useful where you want give a flat price (inclusive of all taxes) price to customers.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"allow_trash": 1,
|
||||
"autoname": "field:title",
|
||||
"document_type": "Master",
|
||||
"_last_update": "1322549700",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
@@ -67,6 +67,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"report": 1,
|
||||
"role": "Sales User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
@@ -77,6 +78,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
@@ -85,8 +87,9 @@
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"role": "System Manager",
|
||||
"report": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@@ -95,6 +98,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"report": 1,
|
||||
"role": "Sales Master Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
|
||||
Reference in New Issue
Block a user