Table fieldnames renaming: updated json and patch

This commit is contained in:
Nabin Hait 2014-12-24 17:04:48 +05:30
parent 2eed5a35e3
commit d8f4984d71
68 changed files with 5138 additions and 4797 deletions

View File

@ -107,9 +107,9 @@
"read_only": 0
},
{
"fieldname": "invoice_details",
"fieldname": "invoices",
"fieldtype": "Table",
"label": "Invoice Details",
"label": "Invoices",
"options": "C-Form Invoice Detail",
"permlevel": 0,
"read_only": 0
@ -139,7 +139,7 @@
"idx": 1,
"is_submittable": 1,
"max_attachments": 3,
"modified": "2014-09-05 12:58:43.333698",
"modified": "2014-12-24 15:20:08.627169",
"modified_by": "Administrator",
"module": "Accounts",
"name": "C-Form",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('C-Form')
class TestC-Form(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "C-Form",
"name": "_Test C-Form 1"
}
]

View File

@ -90,9 +90,9 @@
},
{
"description": "Add rows to set annual budgets on Accounts.",
"fieldname": "budget_details",
"fieldname": "budgets",
"fieldtype": "Table",
"label": "Budget Details",
"label": "Budgets",
"oldfieldname": "budget_details",
"oldfieldtype": "Table",
"options": "Budget Detail",
@ -145,7 +145,7 @@
"icon": "icon-money",
"idx": 1,
"in_create": 0,
"modified": "2014-08-26 12:16:11.163750",
"modified": "2014-12-24 15:18:16.937207",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Cost Center",
@ -197,5 +197,5 @@
"role": "Material User"
}
],
"search_fields": "name,parent_cost_center"
"search_fields": "parent_cost_center"
}

View File

@ -39,9 +39,9 @@
"reqd": 1
},
{
"fieldname": "fiscal_year_companies",
"fieldname": "companies",
"fieldtype": "Table",
"label": "Fiscal Year Companies",
"label": "Companies",
"options": "Fiscal Year Company",
"permlevel": 0,
"precision": ""
@ -49,7 +49,7 @@
],
"icon": "icon-calendar",
"idx": 1,
"modified": "2014-10-07 12:23:41.679419",
"modified": "2014-12-24 14:50:49.742088",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Fiscal Year",

View File

@ -1,165 +1,165 @@
{
"allow_copy": 1,
"creation": "2014-07-09 12:04:51.681583",
"custom": 0,
"docstatus": 0,
"doctype": "DocType",
"document_type": "",
"allow_copy": 1,
"creation": "2014-07-09 12:04:51.681583",
"custom": 0,
"docstatus": 0,
"doctype": "DocType",
"document_type": "",
"fields": [
{
"fieldname": "company",
"fieldtype": "Link",
"label": "Company",
"options": "Company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Link",
"label": "Company",
"options": "Company",
"permlevel": 0,
"reqd": 1
},
},
{
"fieldname": "party_type",
"fieldtype": "Link",
"hidden": 0,
"in_list_view": 0,
"label": "Party Type",
"options": "DocType",
"permlevel": 0,
"read_only": 0,
"fieldname": "party_type",
"fieldtype": "Link",
"hidden": 0,
"in_list_view": 0,
"label": "Party Type",
"options": "DocType",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
},
{
"depends_on": "",
"fieldname": "party",
"fieldtype": "Dynamic Link",
"in_list_view": 0,
"label": "Party",
"options": "party_type",
"permlevel": 0,
"reqd": 1,
"depends_on": "",
"fieldname": "party",
"fieldtype": "Dynamic Link",
"in_list_view": 0,
"label": "Party",
"options": "party_type",
"permlevel": 0,
"reqd": 1,
"search_index": 0
},
},
{
"fieldname": "receivable_payable_account",
"fieldtype": "Link",
"label": "Receivable / Payable Account",
"options": "Account",
"permlevel": 0,
"precision": "",
"fieldname": "receivable_payable_account",
"fieldtype": "Link",
"label": "Receivable / Payable Account",
"options": "Account",
"permlevel": 0,
"precision": "",
"reqd": 1
},
},
{
"fieldname": "bank_cash_account",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Bank / Cash Account",
"options": "Account",
"permlevel": 0,
"reqd": 0,
"fieldname": "bank_cash_account",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Bank / Cash Account",
"options": "Account",
"permlevel": 0,
"reqd": 0,
"search_index": 0
},
},
{
"fieldname": "col_break1",
"fieldtype": "Column Break",
"label": "Column Break",
"fieldname": "col_break1",
"fieldtype": "Column Break",
"label": "Column Break",
"permlevel": 0
},
},
{
"fieldname": "from_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "From Date",
"permlevel": 0,
"fieldname": "from_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "From Date",
"permlevel": 0,
"search_index": 1
},
},
{
"fieldname": "to_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "To Date",
"permlevel": 0,
"fieldname": "to_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "To Date",
"permlevel": 0,
"search_index": 1
},
},
{
"fieldname": "minimum_amount",
"fieldtype": "Currency",
"label": "Minimum Amount",
"fieldname": "minimum_amount",
"fieldtype": "Currency",
"label": "Minimum Amount",
"permlevel": 0
},
},
{
"fieldname": "maximum_amount",
"fieldtype": "Currency",
"label": "Maximum Amount",
"fieldname": "maximum_amount",
"fieldtype": "Currency",
"label": "Maximum Amount",
"permlevel": 0
},
},
{
"fieldname": "get_unreconciled_entries",
"fieldtype": "Button",
"label": "Get Unreconciled Entries",
"fieldname": "get_unreconciled_entries",
"fieldtype": "Button",
"label": "Get Unreconciled Entries",
"permlevel": 0
},
},
{
"fieldname": "sec_break1",
"fieldtype": "Section Break",
"label": "Unreconciled Payment Details",
"fieldname": "sec_break1",
"fieldtype": "Section Break",
"label": "Unreconciled Payment Details",
"permlevel": 0
},
},
{
"fieldname": "payment_reconciliation_payments",
"fieldtype": "Table",
"label": "Payment Reconciliation Payments",
"options": "Payment Reconciliation Payment",
"fieldname": "payments",
"fieldtype": "Table",
"label": "Payments",
"options": "Payment Reconciliation Payment",
"permlevel": 0
},
},
{
"fieldname": "reconcile",
"fieldtype": "Button",
"label": "Reconcile",
"fieldname": "reconcile",
"fieldtype": "Button",
"label": "Reconcile",
"permlevel": 0
},
},
{
"fieldname": "sec_break2",
"fieldtype": "Section Break",
"label": "Invoice/Journal Voucher Details",
"fieldname": "sec_break2",
"fieldtype": "Section Break",
"label": "Invoice/Journal Voucher Details",
"permlevel": 0
},
},
{
"fieldname": "payment_reconciliation_invoices",
"fieldtype": "Table",
"label": "Payment Reconciliation Invoices",
"options": "Payment Reconciliation Invoice",
"permlevel": 0,
"fieldname": "invoices",
"fieldtype": "Table",
"label": "Invoices",
"options": "Payment Reconciliation Invoice",
"permlevel": 0,
"read_only": 1
}
],
"hide_toolbar": 1,
"icon": "icon-resize-horizontal",
"issingle": 1,
"modified": "2014-10-16 17:51:44.367107",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Reconciliation",
"name_case": "",
"owner": "Administrator",
],
"hide_toolbar": 1,
"icon": "icon-resize-horizontal",
"issingle": 1,
"modified": "2014-12-24 14:49:48.714639",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Reconciliation",
"name_case": "",
"owner": "Administrator",
"permissions": [
{
"cancel": 0,
"create": 1,
"delete": 1,
"permlevel": 0,
"read": 1,
"role": "Accounts Manager",
"submit": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"permlevel": 0,
"read": 1,
"role": "Accounts Manager",
"submit": 0,
"write": 1
},
},
{
"cancel": 0,
"create": 1,
"delete": 1,
"permlevel": 0,
"read": 1,
"role": "Accounts User",
"submit": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"permlevel": 0,
"read": 1,
"role": "Accounts User",
"submit": 0,
"write": 1
}
],
"sort_field": "modified",
],
"sort_field": "modified",
"sort_order": "DESC"
}
}

View File

@ -17,7 +17,7 @@ frappe.ui.form.on("Payment Tool", "onload", function(frm) {
frm.set_query("payment_account", function() {
return {
filters: {
"account_type": ["in", ["Receivable", "Payable"]],
"account_type": ["in", ["Bank", "Cash"]],
"group_or_ledger": "Ledger",
"company": frm.doc.company
}
@ -193,6 +193,6 @@ frappe.ui.form.on("Payment Tool", "make_journal_voucher", function(frm) {
erpnext.payment_tool.check_mandatory_to_fetch = function(doc) {
$.each(["Company", "Party Type", "Party", "Received or Paid"], function(i, field) {
if(!doc[frappe.model.scrub(field)]]) frappe.throw(__("Please select {0} first", [field]));
if(!doc[frappe.model.scrub(field)]) frappe.throw(__("Please select {0} first", [field]));
});
}

View File

@ -222,13 +222,13 @@
},
{
"allow_on_submit": 0,
"fieldname": "payment_tool_details",
"fieldname": "against_vouchers",
"fieldtype": "Table",
"hidden": 0,
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "Payment Tool Details",
"label": "Against Vouchers",
"no_copy": 0,
"options": "Payment Tool Detail",
"permlevel": 0,
@ -310,7 +310,7 @@
"is_submittable": 0,
"issingle": 1,
"istable": 0,
"modified": "2014-09-15 16:01:04.820559",
"modified": "2014-12-24 16:33:57.341817",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Tool",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -60,9 +60,9 @@
},
{
"description": "* Will be calculated in the transaction.",
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Sales Taxes and Charges Master",
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges",
"oldfieldtype": "Table",
"options": "Sales Taxes and Charges",
@ -70,7 +70,7 @@
},
{
"description": "Specify a list of Territories, for which, this Taxes Master is valid",
"fieldname": "valid_for_territories",
"fieldname": "territories",
"fieldtype": "Table",
"label": "Valid for Territories",
"options": "Applicable Territory",
@ -80,7 +80,7 @@
],
"icon": "icon-money",
"idx": 1,
"modified": "2014-10-06 13:11:18.616789",
"modified": "2014-12-24 14:57:06.275853",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Taxes and Charges Master",

View File

@ -38,7 +38,7 @@
"permlevel": 0
},
{
"fieldname": "shipping_rule_conditions",
"fieldname": "conditions",
"fieldtype": "Table",
"label": "Shipping Rule Conditions",
"options": "Shipping Rule Condition",
@ -52,7 +52,7 @@
},
{
"description": "Specify a list of Territories, for which, this Shipping Rule is valid",
"fieldname": "valid_for_territories",
"fieldname": "territories",
"fieldtype": "Table",
"label": "Valid For Territories",
"options": "Applicable Territory",
@ -102,7 +102,7 @@
],
"icon": "icon-truck",
"idx": 1,
"modified": "2014-05-27 03:49:19.387875",
"modified": "2014-12-24 14:59:04.430010",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Shipping Rule",

View File

@ -206,7 +206,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -215,9 +215,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "po_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Purchase Order Items",
"label": "Items",
"no_copy": 0,
"oldfieldname": "po_details",
"oldfieldtype": "Table",
@ -268,7 +268,7 @@
"print_hide": 0
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -289,7 +289,7 @@
"print_hide": 1
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Purchase Taxes and Charges",
"no_copy": 0,
@ -642,9 +642,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "po_raw_material_details",
"fieldname": "supplied_items",
"fieldtype": "Table",
"label": "Purchase Order Items Supplied",
"label": "Supplied Items",
"no_copy": 0,
"oldfieldname": "po_raw_material_details",
"oldfieldtype": "Table",
@ -772,7 +772,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-08 14:23:29.718779",
"modified": "2014-12-24 14:30:24.868635",
"modified_by": "Administrator",
"module": "Buying",
"name": "Purchase Order",

View File

@ -195,9 +195,9 @@
"permlevel": 0
},
{
"fieldname": "qa_specification_details",
"fieldname": "readings",
"fieldtype": "Table",
"label": "Quality Inspection Readings",
"label": "Readings",
"oldfieldname": "qa_specification_details",
"oldfieldtype": "Table",
"options": "Quality Inspection Reading",
@ -207,7 +207,7 @@
"icon": "icon-search",
"idx": 1,
"is_submittable": 1,
"modified": "2014-06-23 07:55:51.183113",
"modified": "2014-12-24 16:37:43.755107",
"modified_by": "Administrator",
"module": "Buying",
"name": "Quality Inspection",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Quality Inspection')
class TestQualityInspection(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Quality Inspection",
"name": "_Test Quality Inspection 1"
}
]

View File

@ -1,257 +1,257 @@
{
"allow_import": 1,
"allow_rename": 1,
"autoname": "naming_series:",
"creation": "2013-01-10 16:34:11",
"description": "Supplier of Goods or Services.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"allow_import": 1,
"allow_rename": 1,
"autoname": "naming_series:",
"creation": "2013-01-10 16:34:11",
"description": "Supplier of Goods or Services.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"fields": [
{
"fieldname": "basic_info",
"fieldtype": "Section Break",
"label": "Basic Info",
"oldfieldtype": "Section Break",
"options": "icon-user",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"label": "Basic Info",
"oldfieldtype": "Section Break",
"options": "icon-user",
"permlevel": 0
},
},
{
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"no_copy": 1,
"oldfieldname": "naming_series",
"oldfieldtype": "Select",
"options": "SUPP-",
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"no_copy": 1,
"oldfieldname": "naming_series",
"oldfieldtype": "Select",
"options": "SUPP-",
"permlevel": 0
},
},
{
"fieldname": "supplier_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Supplier Name",
"no_copy": 1,
"oldfieldname": "supplier_name",
"oldfieldtype": "Data",
"permlevel": 0,
"fieldname": "supplier_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Supplier Name",
"no_copy": 1,
"oldfieldname": "supplier_name",
"oldfieldtype": "Data",
"permlevel": 0,
"reqd": 1
},
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"fieldname": "supplier_type",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Supplier Type",
"oldfieldname": "supplier_type",
"oldfieldtype": "Link",
"options": "Supplier Type",
"permlevel": 0,
"fieldname": "supplier_type",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Supplier Type",
"oldfieldname": "supplier_type",
"oldfieldtype": "Link",
"options": "Supplier Type",
"permlevel": 0,
"reqd": 1
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"label": "Address & Contacts",
"oldfieldtype": "Column Break",
"options": "icon-map-marker",
"depends_on": "eval:!doc.__islocal",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"label": "Address & Contacts",
"oldfieldtype": "Column Break",
"options": "icon-map-marker",
"permlevel": 0
},
},
{
"fieldname": "address_html",
"fieldtype": "HTML",
"label": "Address HTML",
"permlevel": 0,
"fieldname": "address_html",
"fieldtype": "HTML",
"label": "Address HTML",
"permlevel": 0,
"read_only": 1
},
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"fieldname": "contact_html",
"fieldtype": "HTML",
"label": "Contact HTML",
"permlevel": 0,
"fieldname": "contact_html",
"fieldtype": "HTML",
"label": "Contact HTML",
"permlevel": 0,
"read_only": 1
},
},
{
"fieldname": "default_payable_accounts",
"fieldtype": "Section Break",
"label": "Default Payable Accounts",
"fieldname": "default_payable_accounts",
"fieldtype": "Section Break",
"label": "Default Payable Accounts",
"permlevel": 0
},
},
{
"fieldname": "party_accounts",
"fieldtype": "Table",
"label": "Party Accounts",
"options": "Party Account",
"fieldname": "accounts",
"fieldtype": "Table",
"label": "Accounts",
"options": "Party Account",
"permlevel": 0
},
},
{
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Info",
"oldfieldtype": "Section Break",
"options": "icon-file-text",
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Info",
"oldfieldtype": "Section Break",
"options": "icon-file-text",
"permlevel": 0
},
},
{
"description": "Enter the company name under which Account Head will be created for this Supplier",
"fieldname": "company",
"fieldtype": "Link",
"in_filter": 1,
"label": "Company",
"oldfieldname": "company",
"oldfieldtype": "Link",
"options": "Company",
"permlevel": 0,
"reqd": 1,
"description": "Enter the company name under which Account Head will be created for this Supplier",
"fieldname": "company",
"fieldtype": "Link",
"in_filter": 1,
"label": "Company",
"oldfieldname": "company",
"oldfieldtype": "Link",
"options": "Company",
"permlevel": 0,
"reqd": 1,
"search_index": 0
},
},
{
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Currency",
"no_copy": 1,
"options": "Currency",
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Currency",
"no_copy": 1,
"options": "Currency",
"permlevel": 0
},
},
{
"fieldname": "default_price_list",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Price List",
"options": "Price List",
"fieldname": "default_price_list",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Price List",
"options": "Price List",
"permlevel": 0
},
},
{
"fieldname": "default_taxes_and_charges",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Taxes and Charges",
"options": "Purchase Taxes and Charges Master",
"fieldname": "default_taxes_and_charges",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Taxes and Charges",
"options": "Purchase Taxes and Charges Master",
"permlevel": 0
},
},
{
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"permlevel": 0
},
},
{
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"oldfieldname": "website",
"oldfieldtype": "Data",
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"oldfieldname": "website",
"oldfieldtype": "Data",
"permlevel": 0
},
},
{
"description": "Statutory info and other general information about your Supplier",
"fieldname": "supplier_details",
"fieldtype": "Text",
"label": "Supplier Details",
"oldfieldname": "supplier_details",
"oldfieldtype": "Code",
"description": "Statutory info and other general information about your Supplier",
"fieldname": "supplier_details",
"fieldtype": "Text",
"label": "Supplier Details",
"oldfieldname": "supplier_details",
"oldfieldtype": "Code",
"permlevel": 0
},
},
{
"fieldname": "communications",
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
"options": "Communication",
"permlevel": 0,
"fieldname": "communications",
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
"options": "Communication",
"permlevel": 0,
"print_hide": 1
}
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-09-11 17:53:09.286715",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier",
"owner": "Administrator",
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-12-24 16:23:47.943887",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier",
"owner": "Administrator",
"permissions": [
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase User"
},
},
{
"amend": 0,
"create": 0,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase Manager",
"submit": 0,
"amend": 0,
"create": 0,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase Manager",
"submit": 0,
"write": 0
},
},
{
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase Master Manager",
"submit": 0,
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase Master Manager",
"submit": 0,
"write": 1
},
},
{
"apply_user_permissions": 1,
"permlevel": 0,
"read": 1,
"apply_user_permissions": 1,
"permlevel": 0,
"read": 1,
"role": "Material User"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Material Manager"
},
},
{
"apply_user_permissions": 1,
"permlevel": 0,
"read": 1,
"apply_user_permissions": 1,
"permlevel": 0,
"read": 1,
"role": "Accounts User"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts Manager"
}
],
"search_fields": "supplier_name,supplier_type",
],
"search_fields": "supplier_name,supplier_type",
"title_field": "supplier_name"
}
}

View File

@ -205,7 +205,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -214,9 +214,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "quotation_items",
"fieldname": "items",
"fieldtype": "Table",
"label": "Quotation Items",
"label": "Items",
"no_copy": 0,
"oldfieldname": "po_details",
"oldfieldtype": "Table",
@ -259,7 +259,7 @@
"read_only": 1
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -279,7 +279,7 @@
"print_hide": 1
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Purchase Taxes and Charges",
"no_copy": 0,
@ -575,7 +575,7 @@
"icon": "icon-shopping-cart",
"idx": 1,
"is_submittable": 1,
"modified": "2014-09-09 05:35:35.369734",
"modified": "2014-12-24 14:28:56.009809",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier Quotation",

View File

@ -107,9 +107,9 @@
},
{
"allow_on_submit": 0,
"fieldname": "appraisal_details",
"fieldname": "goals",
"fieldtype": "Table",
"label": "Appraisal Goals",
"label": "Goals",
"oldfieldname": "appraisal_details",
"oldfieldtype": "Table",
"options": "Appraisal Goal",
@ -197,7 +197,7 @@
"icon": "icon-thumbs-up",
"idx": 1,
"is_submittable": 1,
"modified": "2014-06-23 07:55:40.801381",
"modified": "2014-12-24 15:00:49.133185",
"modified_by": "Administrator",
"module": "HR",
"name": "Appraisal",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Appraisal')
class TestAppraisal(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Appraisal",
"name": "_Test Appraisal 1"
}
]

View File

@ -28,9 +28,9 @@
"width": "300px"
},
{
"fieldname": "kra_sheet",
"fieldname": "goals",
"fieldtype": "Table",
"label": "Appraisal Template Goal",
"label": "Goals",
"oldfieldname": "kra_sheet",
"oldfieldtype": "Table",
"options": "Appraisal Template Goal",
@ -46,7 +46,7 @@
],
"icon": "icon-file-text",
"idx": 1,
"modified": "2014-05-27 03:49:07.533203",
"modified": "2014-12-24 15:01:34.621450",
"modified_by": "Administrator",
"module": "HR",
"name": "Appraisal Template",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Appraisal Template')
class TestAppraisalTemplate(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Appraisal Template",
"name": "_Test Appraisal Template 1"
}
]

File diff suppressed because it is too large Load Diff

View File

@ -87,9 +87,9 @@
},
{
"allow_on_submit": 0,
"fieldname": "expense_voucher_details",
"fieldname": "expenses",
"fieldtype": "Table",
"label": "Expense Claim Details",
"label": "Expenses",
"oldfieldname": "expense_voucher_details",
"oldfieldtype": "Table",
"options": "Expense Claim Detail",
@ -163,16 +163,6 @@
"fieldtype": "Column Break",
"permlevel": 0
},
{
"fieldname": "total_amount_reimbursed",
"fieldtype": "Currency",
"label": "Total Amount Reimbursed",
"no_copy": 1,
"options": "Company:company:default_currency",
"permlevel": 0,
"precision": "",
"read_only": 1
},
{
"allow_on_submit": 0,
"fieldname": "remark",
@ -212,7 +202,7 @@
"icon": "icon-money",
"idx": 1,
"is_submittable": 1,
"modified": "2014-12-09 11:52:32.196383",
"modified": "2014-12-24 15:31:39.611197",
"modified_by": "Administrator",
"module": "HR",
"name": "Expense Claim",

View File

@ -55,7 +55,7 @@
"permlevel": 0
},
{
"fieldname": "holiday_list_details",
"fieldname": "holidays",
"fieldtype": "Table",
"label": "Holidays",
"oldfieldname": "holiday_list_details",
@ -74,7 +74,7 @@
],
"icon": "icon-calendar",
"idx": 1,
"modified": "2014-11-25 15:42:22.419054",
"modified": "2014-12-24 15:32:58.469070",
"modified_by": "Administrator",
"module": "HR",
"name": "Holiday List",

View File

@ -218,9 +218,9 @@
"permlevel": 0
},
{
"fieldname": "earning_details",
"fieldname": "earnings",
"fieldtype": "Table",
"label": "Salary Structure Earnings",
"label": "Earnings",
"oldfieldname": "earning_details",
"oldfieldtype": "Table",
"options": "Salary Slip Earning",
@ -241,7 +241,7 @@
"permlevel": 0
},
{
"fieldname": "deduction_details",
"fieldname": "deductions",
"fieldtype": "Table",
"label": "Deductions",
"oldfieldname": "deduction_details",
@ -337,7 +337,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-09-09 05:35:33.807228",
"modified": "2014-12-24 16:38:43.899286",
"modified_by": "Administrator",
"module": "HR",
"name": "Salary Slip",

View File

@ -143,10 +143,10 @@
"width": "50%"
},
{
"fieldname": "earning_details",
"fieldname": "earnings",
"fieldtype": "Table",
"hidden": 0,
"label": "Earning1",
"label": "Earnings",
"oldfieldname": "earning_details",
"oldfieldtype": "Table",
"options": "Salary Structure Earning",
@ -165,10 +165,10 @@
"width": "50%"
},
{
"fieldname": "deduction_details",
"fieldname": "deductions",
"fieldtype": "Table",
"hidden": 0,
"label": "Deduction1",
"label": "Deductions",
"oldfieldname": "deduction_details",
"oldfieldtype": "Table",
"options": "Salary Structure Deduction",
@ -227,7 +227,7 @@
],
"icon": "icon-file-text",
"idx": 1,
"modified": "2014-08-05 06:56:27.038404",
"modified": "2014-12-24 16:39:45.518474",
"modified_by": "Administrator",
"module": "HR",
"name": "Salary Structure",

View File

@ -77,33 +77,33 @@
{
"depends_on": "with_operations",
"description": "Specify the operations, operating cost and give a unique Operation no to your operations.",
"fieldname": "operations",
"fieldname": "operations_section",
"fieldtype": "Section Break",
"label": "Operations",
"oldfieldtype": "Section Break",
"permlevel": 0
},
{
"fieldname": "bom_operations",
"fieldname": "operations",
"fieldtype": "Table",
"in_list_view": 0,
"label": "BOM Operations",
"label": "Operations",
"oldfieldname": "bom_operations",
"oldfieldtype": "Table",
"options": "BOM Operation",
"permlevel": 0
},
{
"fieldname": "materials",
"fieldname": "materials_section",
"fieldtype": "Section Break",
"label": "Materials",
"oldfieldtype": "Section Break",
"permlevel": 0
},
{
"fieldname": "bom_materials",
"fieldname": "items",
"fieldtype": "Table",
"label": "BOM Item",
"label": "Items",
"oldfieldname": "bom_materials",
"oldfieldtype": "Table",
"options": "BOM Item",
@ -223,10 +223,10 @@
"print_hide": 0
},
{
"fieldname": "flat_bom_details",
"fieldname": "exploded_items",
"fieldtype": "Table",
"hidden": 0,
"label": "Materials Required (Exploded)",
"label": "Exploded_items",
"no_copy": 1,
"oldfieldname": "flat_bom_details",
"oldfieldtype": "Table",
@ -244,7 +244,7 @@
"is_submittable": 1,
"issingle": 0,
"istable": 0,
"modified": "2014-12-23 16:39:14.197038",
"modified": "2014-12-24 14:38:43.906947",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "BOM",

View File

@ -192,7 +192,7 @@
},
{
"depends_on": "",
"fieldname": "operations",
"fieldname": "operations_section",
"fieldtype": "Section Break",
"label": "Operations",
"options": "icon-wrench",
@ -200,9 +200,9 @@
"precision": ""
},
{
"fieldname": "production_order_operations",
"fieldname": "operations",
"fieldtype": "Table",
"label": "Production Order Operations",
"label": "Operations",
"options": "Production Order Operation",
"permlevel": 0,
"precision": "",
@ -351,7 +351,7 @@
"idx": 1,
"in_create": 0,
"is_submittable": 1,
"modified": "2014-12-23 15:07:26.516227",
"modified": "2014-12-24 14:36:25.662920",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Production Order",

View File

@ -1,5 +1,5 @@
{
"creation": "2013-01-21 12:03:47.000000",
"creation": "2013-01-21 12:03:47",
"default_print_format": "Standard",
"docstatus": 0,
"doctype": "DocType",
@ -20,6 +20,7 @@
{
"fieldname": "fg_item",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Filter based on item",
"options": "Item",
"permlevel": 0
@ -27,6 +28,7 @@
{
"fieldname": "customer",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Filter based on customer",
"options": "Customer",
"permlevel": 0
@ -34,6 +36,7 @@
{
"fieldname": "company",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Company",
"options": "Company",
"permlevel": 0,
@ -72,9 +75,9 @@
"permlevel": 0
},
{
"fieldname": "pp_so_details",
"fieldname": "sales_orders",
"fieldtype": "Table",
"label": "Production Plan Sales Orders",
"label": "Sales Orders",
"options": "Production Plan Sales Order",
"permlevel": 0
},
@ -101,9 +104,9 @@
"reqd": 0
},
{
"fieldname": "pp_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Production Plan Items",
"label": "Items",
"options": "Production Plan Item",
"permlevel": 0
},
@ -155,7 +158,7 @@
"idx": 1,
"in_create": 1,
"issingle": 1,
"modified": "2013-12-20 19:23:25.000000",
"modified": "2014-12-24 16:36:06.267344",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Production Planning Tool",

View File

@ -121,24 +121,24 @@
"read_only": 1
},
{
"fieldname": "operation_timings",
"fieldname": "working_hours_section",
"fieldtype": "Section Break",
"label": "Operation Timings",
"label": "Wroking Hours",
"permlevel": 0,
"precision": ""
},
{
"fieldname": "workstation_operation_hours",
"fieldname": "working_hours",
"fieldtype": "Table",
"label": "Workstation Operation Hours",
"options": "Workstation Operation Hour",
"label": "Working Hours",
"options": "Workstation Working Hour",
"permlevel": 0,
"precision": ""
}
],
"icon": "icon-wrench",
"idx": 1,
"modified": "2014-12-23 15:27:58.477925",
"modified": "2014-12-24 14:47:06.676335",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Workstation",

View File

@ -2,7 +2,7 @@
"allow_copy": 0,
"allow_import": 0,
"allow_rename": 0,
"creation": "2014-12-22 14:18:20.786493",
"creation": "2014-12-24 14:46:40.678236",
"custom": 0,
"docstatus": 0,
"doctype": "DocType",
@ -115,10 +115,10 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2014-12-22 14:18:31.091653",
"modified": "2014-12-24 14:46:40.678236",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Workstation Operation Hour",
"name": "Workstation Working Hour",
"name_case": "",
"owner": "Administrator",
"permissions": [],

View File

@ -5,5 +5,5 @@ from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class WorkstationOperationHour(Document):
class WorkstationWorkingHour(Document):
pass

View File

@ -0,0 +1,211 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import frappe
from frappe.model import rename_field
from frappe.modules import scrub, get_doctype_module
rename_map = {
"Opportunity": [
["enquiry_details", "items"]
],
"Quotation": [
["quotation_details", "items"],
["other_charges", "taxes"]
],
"Sales Order": [
["sales_order_details", "items"],
["other_charges", "taxes"],
["packing_details", "packed_items"]
],
"Delivery Note": [
["delivery_note_details", "items"],
["other_charges", "taxes"],
["packing_details", "packed_items"]
],
"Sales Invoice": [
["entries", "items"],
["other_charges", "taxes"],
["packing_details", "packed_items"],
["advance_adjustment_details", "advances"]
],
"Material Request": [
["indent_details", "items"]
],
"Supplier Quotation": [
["quotation_items", "items"],
["other_charges", "taxes"]
],
"Purchase Order": [
["po_details", "items"],
["other_charges", "taxes"],
["po_raw_material_details", "supplied_items"]
],
"Purchase Receipt": [
["purchase_receipt_details", "items"],
["other_charges", "taxes"],
["pr_raw_material_details", "supplied_items"]
],
"Purchase Invoice": [
["entries", "items"],
["other_charges", "taxes"],
["advance_allocation_details", "advances"]
],
"Production Order": [
["production_order_operations", "operations"]
],
"BOM": [
["bom_operations", "operations"],
["bom_materials", "items"],
["flat_bom_details", "exploded_items"]
],
"Payment Reconciliation": [
["payment_reconciliation_payments", "payments"],
["payment_reconciliation_invoices", "invoices"]
],
"Sales Taxes and Charges Master": [
["other_charges", "taxes"],
["valid_for_territories", "territories"]
],
"Shipping Rule": [
["shipping_rule_conditions", "conditions"],
["valid_for_territories", "territories"]
],
"Price List": [
["valid_for_territories", "territories"]
],
"Appraisal": [
["appraisal_goals", "goals"]
],
"Appraisal Template": [
["kra_sheet", "goals"]
],
"Bank Reconciliation": [
["entries", "journal_entries"]
],
"Cost Center": [
["budget_details", "budgets"]
],
"C-Form": [
["invoice_details", "invoices"]
],
"Customize Form": [
["customize_form_fields", "fields"]
],
"Email Alert": [
["email_alert_recipients", "recipients"]
],
"Employee": [
["employee_leave_approvers", "leave_approvers"],
["educational_qualification_details", "educational_qualifications"],
["previous_experience_details", "external_work_experiences"],
["experience_in_company_details", "internal_work_experiences"]
],
"Event": [
["event_individuals", "users"],
["event_roles", "roles"]
],
"Expense Claim": [
["expense_voucher_details", "expenses"]
],
"Fiscal Year": [
["fiscal_year_companies", "companies"]
],
"Holiday List": [
["holiday_list_details", "holidays"]
],
"Installation Note": [
["installed_item_details", "items"]
],
"Item": [
["item_variants", "variants"],
["item_reorder", "reorder_levels"],
["uom_conversion_details", "uoms"],
["item_supplier_details", "supplier_item_codes"],
["item_customer_details", "customer_item_codes"],
["item_tax", "taxes"],
["item_specification_details", "quality_parameters"],
["item_website_specifications", "website_specifications"]
],
"Landed Cost Voucher": [
["landed_cost_purchase_receipts", "purchase_receipts"],
["landed_cost_items", "items"],
["landed_cost_taxes_and_charges", "taxes"]
],
"Maintenance Schedule": [
["item_maintenance_detail", "items"],
["maintenance_schedule_detail", "schedules"]
],
"Maintenance Visit": [
["maintenance_visit_details", "purposes"]
],
"Packing Slip": [
["item_details", "items"]
],
"Customer": [
["party_accounts", "accounts"]
],
"Supplier": [
["party_accounts", "accounts"]
],
"Payment Tool": [
["payment_tool_details", "against_vouchers"]
],
"Production Planning Tool": [
["pp_so_details", "sales_orders"],
["pp_details", "items"]
],
"Project": [
["project_milestones", "milestones"]
],
"Quality Inspection": [
["qa_specification_details", "readings"]
],
"Salary Slip": [
["earning_details", "earnings"],
["deduction_details", "deductions"]
],
"Salary Structure": [
["earning_details", "earnings"],
["deduction_details", "deductions"]
],
"Sales BOM": [
["sales_bom_items", "items"]
],
"SMS Settings": [
["static_parameter_details", "static_parameters"]
],
"Stock Entry": [
["mtn_details", "items"]
],
"Sales Partner": [
["partner_target_details", "targets"]
],
"Sales Person": [
["target_details", "targets"]
],
"Territory": [
["target_details", "targets"]
],
"Time Log Batch": [
["time_log_batch_details", "time_logs"]
],
"Web Form": [
["web_form_fields", "fields"]
],
"Workflow": [
["workflow_document_states", "document_states"],
["workflow_transitions", "transitions"]
],
"Workstation": [
["workstation_operation_hours", "working_hours"]
],
}
def execute():
for dn in rename_map:
frappe.reload_doc(get_doctype_module(dn), "doctype", scrub(dn))
for dt, field_list in rename_map.items():
for field in field_list:
rename_field(dt, field[0], field[1])

View File

@ -1,5 +1,4 @@
{
"allow_attach": 1,
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:project_name",
@ -126,9 +125,9 @@
},
{
"description": "Milestones will be added as Events in the Calendar",
"fieldname": "project_milestones",
"fieldname": "milestones",
"fieldtype": "Table",
"label": "Project Milestones",
"label": "Milestones",
"no_copy": 0,
"oldfieldname": "project_milestones",
"oldfieldtype": "Table",
@ -273,7 +272,7 @@
"icon": "icon-puzzle-piece",
"idx": 1,
"max_attachments": 4,
"modified": "2014-08-26 14:59:27.052172",
"modified": "2014-12-24 16:36:50.539666",
"modified_by": "Administrator",
"module": "Projects",
"name": "Project",

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Time Log Batch",
"name": "_Test Time Log Batch 1"
}
]

View File

@ -52,9 +52,9 @@
"permlevel": 0
},
{
"fieldname": "time_log_batch_details",
"fieldname": "time_logs",
"fieldtype": "Table",
"label": "Time Log Batch Details",
"label": "Time Logs",
"options": "Time Log Batch Detail",
"permlevel": 0,
"reqd": 1
@ -83,7 +83,7 @@
"icon": "icon-time",
"idx": 1,
"is_submittable": 1,
"modified": "2014-05-27 03:49:21.339026",
"modified": "2014-12-24 16:48:03.419707",
"modified_by": "Administrator",
"module": "Projects",
"name": "Time Log Batch",

View File

@ -1,361 +1,361 @@
{
"allow_import": 1,
"allow_rename": 1,
"autoname": "naming_series:",
"creation": "2013-06-11 14:26:44",
"description": "Buyer of Goods and Services.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"allow_import": 1,
"allow_rename": 1,
"autoname": "naming_series:",
"creation": "2013-06-11 14:26:44",
"description": "Buyer of Goods and Services.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"fields": [
{
"fieldname": "basic_info",
"fieldtype": "Section Break",
"label": "Basic Info",
"oldfieldtype": "Section Break",
"options": "icon-user",
"permlevel": 0,
"fieldname": "basic_info",
"fieldtype": "Section Break",
"label": "Basic Info",
"oldfieldtype": "Section Break",
"options": "icon-user",
"permlevel": 0,
"reqd": 0
},
},
{
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"no_copy": 1,
"options": "CUST-",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"no_copy": 1,
"options": "CUST-",
"permlevel": 0,
"print_hide": 0
},
},
{
"fieldname": "customer_name",
"fieldtype": "Data",
"hidden": 0,
"in_filter": 1,
"in_list_view": 1,
"label": "Full Name",
"no_copy": 1,
"oldfieldname": "customer_name",
"oldfieldtype": "Data",
"permlevel": 0,
"print_hide": 0,
"report_hide": 0,
"reqd": 1,
"fieldname": "customer_name",
"fieldtype": "Data",
"hidden": 0,
"in_filter": 1,
"in_list_view": 1,
"label": "Full Name",
"no_copy": 1,
"oldfieldname": "customer_name",
"oldfieldtype": "Data",
"permlevel": 0,
"print_hide": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 1
},
},
{
"fieldname": "customer_type",
"fieldtype": "Select",
"label": "Type",
"oldfieldname": "customer_type",
"oldfieldtype": "Select",
"options": "\nCompany\nIndividual",
"permlevel": 0,
"fieldname": "customer_type",
"fieldtype": "Select",
"label": "Type",
"oldfieldname": "customer_type",
"oldfieldtype": "Select",
"options": "\nCompany\nIndividual",
"permlevel": 0,
"reqd": 1
},
},
{
"fieldname": "lead_name",
"fieldtype": "Link",
"hidden": 0,
"in_filter": 1,
"label": "From Lead",
"no_copy": 1,
"oldfieldname": "lead_name",
"oldfieldtype": "Link",
"options": "Lead",
"permlevel": 0,
"print_hide": 1,
"fieldname": "lead_name",
"fieldtype": "Link",
"hidden": 0,
"in_filter": 1,
"label": "From Lead",
"no_copy": 1,
"oldfieldname": "lead_name",
"oldfieldtype": "Link",
"options": "Lead",
"permlevel": 0,
"print_hide": 1,
"report_hide": 1
},
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"description": "<a href=\"#Sales Browser/Customer Group\">Add / Edit</a>",
"fieldname": "customer_group",
"fieldtype": "Link",
"hidden": 0,
"in_filter": 1,
"label": "Customer Group",
"oldfieldname": "customer_group",
"oldfieldtype": "Link",
"options": "Customer Group",
"permlevel": 0,
"print_hide": 0,
"reqd": 1,
"description": "<a href=\"#Sales Browser/Customer Group\">Add / Edit</a>",
"fieldname": "customer_group",
"fieldtype": "Link",
"hidden": 0,
"in_filter": 1,
"label": "Customer Group",
"oldfieldname": "customer_group",
"oldfieldtype": "Link",
"options": "Customer Group",
"permlevel": 0,
"print_hide": 0,
"reqd": 1,
"search_index": 1
},
},
{
"description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>",
"fieldname": "territory",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Territory",
"oldfieldname": "territory",
"oldfieldtype": "Link",
"options": "Territory",
"permlevel": 0,
"print_hide": 1,
"description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>",
"fieldname": "territory",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Territory",
"oldfieldname": "territory",
"oldfieldtype": "Link",
"options": "Territory",
"permlevel": 0,
"print_hide": 1,
"reqd": 1
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"label": "Address & Contacts",
"options": "icon-map-marker",
"depends_on": "eval:!doc.__islocal",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"label": "Address & Contacts",
"options": "icon-map-marker",
"permlevel": 0
},
},
{
"fieldname": "address_html",
"fieldtype": "HTML",
"label": "Address HTML",
"permlevel": 0,
"fieldname": "address_html",
"fieldtype": "HTML",
"label": "Address HTML",
"permlevel": 0,
"read_only": 1
},
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"fieldname": "contact_html",
"fieldtype": "HTML",
"label": "Contact HTML",
"oldfieldtype": "HTML",
"permlevel": 0,
"fieldname": "contact_html",
"fieldtype": "HTML",
"label": "Contact HTML",
"oldfieldtype": "HTML",
"permlevel": 0,
"read_only": 1
},
},
{
"fieldname": "default_receivable_accounts",
"fieldtype": "Section Break",
"label": "Default Receivable Accounts",
"fieldname": "default_receivable_accounts",
"fieldtype": "Section Break",
"label": "Default Receivable Accounts",
"permlevel": 0
},
},
{
"fieldname": "party_accounts",
"fieldtype": "Table",
"label": "Party Accounts",
"options": "Party Account",
"fieldname": "accounts",
"fieldtype": "Table",
"label": "Accounts",
"options": "Party Account",
"permlevel": 0
},
},
{
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Info",
"oldfieldtype": "Section Break",
"options": "icon-file-text",
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Info",
"oldfieldtype": "Section Break",
"options": "icon-file-text",
"permlevel": 0
},
},
{
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"description": "Your Customer's TAX registration numbers (if applicable) or any general information",
"fieldname": "customer_details",
"fieldtype": "Text",
"label": "Customer Details",
"oldfieldname": "customer_details",
"oldfieldtype": "Code",
"description": "Your Customer's TAX registration numbers (if applicable) or any general information",
"fieldname": "customer_details",
"fieldtype": "Text",
"label": "Customer Details",
"oldfieldname": "customer_details",
"oldfieldtype": "Code",
"permlevel": 0
},
},
{
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
},
{
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Currency",
"no_copy": 1,
"options": "Currency",
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Currency",
"no_copy": 1,
"options": "Currency",
"permlevel": 0
},
},
{
"fieldname": "default_price_list",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Price List",
"options": "Price List",
"fieldname": "default_price_list",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Price List",
"options": "Price List",
"permlevel": 0
},
},
{
"fieldname": "default_taxes_and_charges",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Taxes and Charges",
"options": "Sales Taxes and Charges Master",
"fieldname": "default_taxes_and_charges",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Taxes and Charges",
"options": "Sales Taxes and Charges Master",
"permlevel": 0
},
},
{
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"permlevel": 1
},
},
{
"fieldname": "credit_limit",
"fieldtype": "Currency",
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"fieldname": "credit_limit",
"fieldtype": "Currency",
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"permlevel": 1
},
},
{
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"permlevel": 0
},
},
{
"fieldname": "sales_team_section_break",
"fieldtype": "Section Break",
"label": "Sales Team",
"oldfieldtype": "Section Break",
"options": "icon-group",
"fieldname": "sales_team_section_break",
"fieldtype": "Section Break",
"label": "Sales Team",
"oldfieldtype": "Section Break",
"options": "icon-group",
"permlevel": 0
},
},
{
"fieldname": "default_sales_partner",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Sales Partner",
"oldfieldname": "default_sales_partner",
"oldfieldtype": "Link",
"options": "Sales Partner",
"fieldname": "default_sales_partner",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Sales Partner",
"oldfieldname": "default_sales_partner",
"oldfieldtype": "Link",
"options": "Sales Partner",
"permlevel": 0
},
},
{
"fieldname": "default_commission_rate",
"fieldtype": "Float",
"label": "Commission Rate",
"oldfieldname": "default_commission_rate",
"oldfieldtype": "Currency",
"fieldname": "default_commission_rate",
"fieldtype": "Float",
"label": "Commission Rate",
"oldfieldname": "default_commission_rate",
"oldfieldtype": "Currency",
"permlevel": 0
},
},
{
"fieldname": "sales_team",
"fieldtype": "Table",
"label": "Sales Team Details",
"oldfieldname": "sales_team",
"oldfieldtype": "Table",
"options": "Sales Team",
"fieldname": "sales_team",
"fieldtype": "Table",
"label": "Sales Team Details",
"oldfieldname": "sales_team",
"oldfieldtype": "Table",
"options": "Sales Team",
"permlevel": 0
},
},
{
"fieldname": "communications",
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
"options": "Communication",
"permlevel": 0,
"fieldname": "communications",
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
"options": "Communication",
"permlevel": 0,
"print_hide": 1
}
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-10-06 12:26:47.480965",
"modified_by": "Administrator",
"module": "Selling",
"name": "Customer",
"owner": "Administrator",
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-12-24 16:23:11.018042",
"modified_by": "Administrator",
"module": "Selling",
"name": "Customer",
"owner": "Administrator",
"permissions": [
{
"amend": 0,
"apply_user_permissions": 1,
"create": 1,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales User",
"submit": 0,
"amend": 0,
"apply_user_permissions": 1,
"create": 1,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales User",
"submit": 0,
"write": 1
},
},
{
"cancel": 0,
"delete": 0,
"permlevel": 1,
"read": 1,
"cancel": 0,
"delete": 0,
"permlevel": 1,
"read": 1,
"role": "Sales User"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales Manager"
},
},
{
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales Master Manager",
"set_user_permissions": 1,
"submit": 0,
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales Master Manager",
"set_user_permissions": 1,
"submit": 0,
"write": 1
},
},
{
"cancel": 0,
"delete": 0,
"permlevel": 1,
"read": 1,
"role": "Sales Master Manager",
"cancel": 0,
"delete": 0,
"permlevel": 1,
"read": 1,
"role": "Sales Master Manager",
"write": 1
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Material User"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Material Manager"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts User"
},
},
{
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts Manager"
}
],
"search_fields": "customer_name,customer_group,territory",
],
"search_fields": "customer_name,customer_group,territory",
"title_field": "customer_name"
}
}

View File

@ -224,9 +224,9 @@
"permlevel": 0
},
{
"fieldname": "installed_item_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Installation Note Item",
"label": "Items",
"oldfieldname": "installed_item_details",
"oldfieldtype": "Table",
"options": "Installation Note Item",
@ -236,7 +236,7 @@
"icon": "icon-wrench",
"idx": 1,
"is_submittable": 1,
"modified": "2014-07-30 03:37:31.118791",
"modified": "2014-12-24 15:33:52.513813",
"modified_by": "Administrator",
"module": "Selling",
"name": "Installation Note",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Installation Note')
class TestInstallationNote(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Installation Note",
"name": "_Test Installation Note 1"
}
]

View File

@ -116,7 +116,7 @@
"reqd": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -126,9 +126,9 @@
},
{
"description": "Items which do not exist in Item master can also be entered on customer's request",
"fieldname": "enquiry_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Opportunity Items",
"label": "Items",
"oldfieldname": "enquiry_details",
"oldfieldtype": "Table",
"options": "Opportunity Item",
@ -388,7 +388,7 @@
"icon": "icon-info-sign",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-07 18:12:19.104820",
"modified": "2014-12-24 14:22:53.858170",
"modified_by": "Administrator",
"module": "Selling",
"name": "Opportunity",

File diff suppressed because it is too large Load Diff

View File

@ -33,9 +33,9 @@
"permlevel": 0
},
{
"fieldname": "sales_bom_items",
"fieldname": "items",
"fieldtype": "Table",
"label": "Sales BOM Items",
"label": "Items",
"oldfieldname": "sales_bom_items",
"oldfieldtype": "Table",
"options": "Sales BOM Item",
@ -46,7 +46,7 @@
"icon": "icon-sitemap",
"idx": 1,
"is_submittable": 0,
"modified": "2014-05-27 03:49:17.656569",
"modified": "2014-12-24 16:40:11.941046",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales BOM",

File diff suppressed because it is too large Load Diff

View File

@ -108,9 +108,9 @@
"permlevel": 0
},
{
"fieldname": "partner_target_details",
"fieldname": "targets",
"fieldtype": "Table",
"label": "Partner Target Detail",
"label": "Targets",
"oldfieldname": "partner_target_details",
"oldfieldtype": "Table",
"options": "Target Detail",
@ -200,7 +200,7 @@
"icon": "icon-user",
"idx": 1,
"in_create": 0,
"modified": "2014-09-05 14:54:57.014940",
"modified": "2014-12-24 16:45:13.652374",
"modified_by": "Administrator",
"module": "Setup",
"name": "Sales Partner",

View File

@ -111,9 +111,9 @@
"permlevel": 0
},
{
"fieldname": "target_details",
"fieldname": "targets",
"fieldtype": "Table",
"label": "Target Details1",
"label": "Targets",
"oldfieldname": "target_details",
"oldfieldtype": "Table",
"options": "Target Detail",
@ -143,7 +143,7 @@
"icon": "icon-user",
"idx": 1,
"in_create": 1,
"modified": "2014-05-27 03:49:18.900175",
"modified": "2014-12-24 16:46:02.819886",
"modified_by": "Administrator",
"module": "Setup",
"name": "Sales Person",
@ -190,5 +190,5 @@
"write": 1
}
],
"search_fields": "name,parent_sales_person"
"search_fields": "parent_sales_person"
}

View File

@ -2,7 +2,7 @@
"allow_copy": 1,
"allow_email": 1,
"allow_print": 1,
"creation": "2013-01-10 16:34:24.000000",
"creation": "2013-01-10 16:34:24",
"docstatus": 0,
"doctype": "DocType",
"fields": [
@ -16,6 +16,7 @@
"description": "Eg. smsgateway.com/api/send_sms.cgi",
"fieldname": "sms_gateway_url",
"fieldtype": "Data",
"in_list_view": 1,
"label": "SMS Gateway URL",
"permlevel": 0,
"reqd": 1
@ -24,6 +25,7 @@
"description": "Enter url parameter for message",
"fieldname": "message_parameter",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Message Parameter",
"permlevel": 0,
"reqd": 1
@ -32,19 +34,20 @@
"description": "Enter url parameter for receiver nos",
"fieldname": "receiver_parameter",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Receiver Parameter",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "static_parameters",
"fieldname": "static_parameters_section",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
{
"description": "Enter static url parameters here (Eg. sender=ERPNext, username=ERPNext, password=1234 etc.)",
"fieldname": "static_parameter_details",
"fieldname": "static_parameters",
"fieldtype": "Table",
"label": "Static Parameters",
"options": "SMS Parameter",
@ -55,7 +58,7 @@
"idx": 1,
"in_create": 0,
"issingle": 1,
"modified": "2013-09-10 17:20:25.000000",
"modified": "2014-12-24 16:42:57.956544",
"modified_by": "Administrator",
"module": "Setup",
"name": "SMS Settings",

View File

@ -114,9 +114,9 @@
"permlevel": 0
},
{
"fieldname": "target_details",
"fieldname": "targets",
"fieldtype": "Table",
"label": "Target Details",
"label": "Targets",
"oldfieldname": "target_details",
"oldfieldtype": "Table",
"options": "Target Detail",
@ -136,7 +136,7 @@
"icon": "icon-map-marker",
"idx": 1,
"in_create": 1,
"modified": "2014-05-27 03:49:20.981624",
"modified": "2014-12-24 16:46:36.782166",
"modified_by": "Administrator",
"module": "Setup",
"name": "Territory",
@ -197,5 +197,5 @@
}
],
"read_only": 1,
"search_fields": "name,parent_territory,territory_manager"
"search_fields": "parent_territory,territory_manager"
}

View File

@ -66,7 +66,7 @@
{
"fieldname": "price_lists",
"fieldtype": "Table",
"label": "Shopping Cart Price Lists",
"label": "Price Lists",
"options": "Shopping Cart Price List",
"permlevel": 0,
"reqd": 0
@ -74,7 +74,7 @@
{
"fieldname": "shipping_rules",
"fieldtype": "Table",
"label": "Shopping Cart Shipping Rules",
"label": "Shipping Rules",
"options": "Shopping Cart Shipping Rule",
"permlevel": 0,
"reqd": 0
@ -87,7 +87,7 @@
{
"fieldname": "sales_taxes_and_charges_masters",
"fieldtype": "Table",
"label": "Shopping Cart Taxes and Charges Masters",
"label": "Taxes and Charges",
"options": "Shopping Cart Taxes and Charges Master",
"permlevel": 0,
"reqd": 0
@ -96,7 +96,7 @@
"icon": "icon-shopping-cart",
"idx": 1,
"issingle": 1,
"modified": "2014-05-26 03:05:53.747800",
"modified": "2014-12-24 16:42:14.262882",
"modified_by": "Administrator",
"module": "Shopping Cart",
"name": "Shopping Cart Settings",

View File

@ -284,7 +284,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -294,9 +294,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "delivery_note_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Delivery Note Items",
"label": "Items",
"no_copy": 0,
"oldfieldname": "delivery_note_details",
"oldfieldtype": "Table",
@ -317,9 +317,9 @@
"read_only": 0
},
{
"fieldname": "packing_details",
"fieldname": "packed_items",
"fieldtype": "Table",
"label": "Packing Details",
"label": "Packed Items",
"oldfieldname": "packing_details",
"oldfieldtype": "Table",
"options": "Packed Item",
@ -369,7 +369,7 @@
"read_only": 1
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -410,7 +410,7 @@
"permlevel": 0
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Sales Taxes and Charges",
"no_copy": 0,
@ -1013,7 +1013,7 @@
"idx": 1,
"in_create": 0,
"is_submittable": 1,
"modified": "2014-09-09 05:35:30.700911",
"modified": "2014-12-24 14:26:18.627591",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note",

View File

@ -163,7 +163,7 @@
"read_only": 0
},
{
"fieldname": "variants",
"fieldname": "variants_section",
"fieldtype": "Section Break",
"label": "Variants",
"permlevel": 0,
@ -182,9 +182,9 @@
{
"depends_on": "has_variants",
"description": "A new variant (Item) will be created for each attribute value combination",
"fieldname": "item_variants",
"fieldname": "variants",
"fieldtype": "Table",
"label": "Item Variants",
"label": "Variants",
"options": "Item Variant",
"permlevel": 0,
"precision": ""
@ -402,9 +402,9 @@
{
"depends_on": "eval:(doc.is_stock_item==\"Yes\" && doc.apply_warehouse_wise_reorder_level)",
"description": "Will also apply for variants unless overrridden",
"fieldname": "item_reorder",
"fieldname": "reorder_levels",
"fieldtype": "Table",
"label": "Warehouse-wise Item Reorder",
"label": "Warehouse-wise Reorder Levels",
"options": "Item Reorder",
"permlevel": 0,
"read_only": 0
@ -500,9 +500,9 @@
{
"depends_on": "eval:doc.is_purchase_item==\"Yes\"",
"description": "Will also apply for variants",
"fieldname": "uom_conversion_details",
"fieldname": "uoms",
"fieldtype": "Table",
"label": "UOM Conversion Details",
"label": "UOMs",
"no_copy": 1,
"oldfieldname": "uom_conversion_details",
"oldfieldtype": "Table",
@ -528,9 +528,9 @@
},
{
"depends_on": "eval:doc.is_purchase_item==\"Yes\"",
"fieldname": "item_supplier_details",
"fieldname": "suppliers",
"fieldtype": "Table",
"label": "Item Supplier Details",
"label": "Suppliers",
"options": "Item Supplier",
"permlevel": 0,
"read_only": 0
@ -615,7 +615,7 @@
{
"depends_on": "eval:doc.is_sales_item==\"Yes\"",
"description": "For the convenience of customers, these codes can be used in print formats like Invoices and Delivery Notes",
"fieldname": "item_customer_details",
"fieldname": "customer_codes",
"fieldtype": "Table",
"label": "Customer Codes",
"options": "Item Customer Detail",
@ -633,9 +633,9 @@
},
{
"description": "Will also apply for variants",
"fieldname": "item_tax",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Item Tax1",
"label": "Taxes",
"oldfieldname": "item_tax",
"oldfieldtype": "Table",
"options": "Item Tax",
@ -667,9 +667,9 @@
{
"depends_on": "eval:doc.inspection_required==\"Yes\"",
"description": "Will also apply to variants",
"fieldname": "item_specification_details",
"fieldname": "quality_parameters",
"fieldtype": "Table",
"label": "Item Quality Inspection Parameter",
"label": "Quality Parameters",
"oldfieldname": "item_specification_details",
"oldfieldtype": "Table",
"options": "Item Quality Inspection Parameter",
@ -848,9 +848,9 @@
},
{
"depends_on": "show_in_website",
"fieldname": "item_website_specifications",
"fieldname": "website_specifications",
"fieldtype": "Table",
"label": "Item Website Specifications",
"label": "Website Specifications",
"options": "Item Website Specification",
"permlevel": 0,
"read_only": 0
@ -876,7 +876,7 @@
"icon": "icon-tag",
"idx": 1,
"max_attachments": 1,
"modified": "2014-11-26 15:05:38.116026",
"modified": "2014-12-24 15:44:02.266086",
"modified_by": "Administrator",
"module": "Stock",
"name": "Item",

View File

@ -70,7 +70,7 @@
"width": "150px"
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -79,9 +79,9 @@
},
{
"allow_on_submit": 0,
"fieldname": "indent_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Material Request Items",
"label": "Items",
"no_copy": 0,
"oldfieldname": "indent_details",
"oldfieldtype": "Table",
@ -235,7 +235,7 @@
"icon": "icon-ticket",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-27 12:16:38.833386",
"modified": "2014-12-24 14:28:14.548275",
"modified_by": "Administrator",
"module": "Stock",
"name": "Material Request",

View File

@ -102,7 +102,7 @@
"permlevel": 0
},
{
"fieldname": "item_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Items",
"options": "Packing Slip Item",
@ -197,7 +197,7 @@
"icon": "icon-suitcase",
"idx": 1,
"is_submittable": 1,
"modified": "2014-11-13 16:50:50.423299",
"modified": "2014-12-24 16:22:16.446193",
"modified_by": "Administrator",
"module": "Stock",
"name": "Packing Slip",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Packing Slip')
class TestPackingSlip(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Packing Slip",
"name": "_Test Packing Slip 1"
}
]

View File

@ -1,5 +1,5 @@
{
"allow_copy": 0,
"allow_copy": 0,
"allow_email": 1,
"allow_import": 1,
"allow_print": 1,
@ -63,7 +63,7 @@
},
{
"description": "Specify a list of Territories, for which, this Price List is valid",
"fieldname": "valid_for_territories",
"fieldname": "territories",
"fieldtype": "Table",
"label": "Valid for Territories",
"options": "Applicable Territory",
@ -74,7 +74,7 @@
"icon": "icon-tags",
"idx": 1,
"max_attachments": 1,
"modified": "2014-05-27 03:49:14.866933",
"modified": "2014-12-24 14:59:23.413738",
"modified_by": "Administrator",
"module": "Stock",
"name": "Price List",

View File

@ -203,7 +203,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -212,9 +212,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "purchase_receipt_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Purchase Receipt Items",
"label": "Items",
"oldfieldname": "purchase_receipt_details",
"oldfieldtype": "Table",
"options": "Purchase Receipt Item",
@ -269,7 +269,7 @@
},
{
"description": "Add / Edit Taxes and Charges",
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -288,7 +288,7 @@
"print_hide": 1
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_tax_details",
@ -751,9 +751,9 @@
"read_only": 1
},
{
"fieldname": "pr_raw_material_details",
"fieldname": "supplied_items",
"fieldtype": "Table",
"label": "Purchase Receipt Item Supplieds",
"label": "Supplied Items",
"no_copy": 1,
"oldfieldname": "pr_raw_material_details",
"oldfieldtype": "Table",
@ -766,7 +766,7 @@
"icon": "icon-truck",
"idx": 1,
"is_submittable": 1,
"modified": "2014-09-09 05:35:32.971576",
"modified": "2014-12-24 14:31:25.348050",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt",

View File

@ -210,11 +210,11 @@
},
{
"allow_on_submit": 0,
"fieldname": "mtn_details",
"fieldname": "items",
"fieldtype": "Table",
"hidden": 0,
"in_filter": 0,
"label": "MTN Details",
"label": "Items",
"no_copy": 0,
"oldfieldname": "mtn_details",
"oldfieldtype": "Table",
@ -587,7 +587,7 @@
"is_submittable": 1,
"issingle": 0,
"max_attachments": 0,
"modified": "2014-12-23 15:03:42.963697",
"modified": "2014-12-24 16:43:51.886121",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Entry",

View File

@ -59,7 +59,7 @@
"search_index": 0
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -67,9 +67,9 @@
"permlevel": 0
},
{
"fieldname": "item_maintenance_detail",
"fieldname": "items",
"fieldtype": "Table",
"label": "Maintenance Schedule Item",
"label": "Items",
"oldfieldname": "item_maintenance_detail",
"oldfieldtype": "Table",
"options": "Maintenance Schedule Item",
@ -91,9 +91,9 @@
"permlevel": 0
},
{
"fieldname": "maintenance_schedule_detail",
"fieldname": "schedules",
"fieldtype": "Table",
"label": "Maintenance Schedule Detail",
"label": "Schedules",
"oldfieldname": "maintenance_schedule_detail",
"oldfieldtype": "Table",
"options": "Maintenance Schedule Detail",
@ -220,6 +220,7 @@
"label": "Amended From",
"no_copy": 1,
"options": "Maintenance Schedule",
"permlevel": 0,
"print_hide": 1,
"read_only": 1
}
@ -227,7 +228,7 @@
"icon": "icon-calendar",
"idx": 1,
"is_submittable": 1,
"modified": "2014-08-28 11:39:17.152817",
"modified": "2014-12-24 15:51:42.595081",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Schedule",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Maintenance Schedule')
class TestMaintenanceSchedule(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Maintenance Schedule",
"name": "_Test Maintenance Schedule 1"
}
]

View File

@ -145,9 +145,9 @@
"permlevel": 0
},
{
"fieldname": "maintenance_visit_details",
"fieldname": "purposes",
"fieldtype": "Table",
"label": "Maintenance Visit Purpose",
"label": "Purposes",
"oldfieldname": "maintenance_visit_details",
"oldfieldtype": "Table",
"options": "Maintenance Visit Purpose",
@ -279,7 +279,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-09-26 11:37:41.026433",
"modified": "2014-12-24 16:20:49.640483",
"modified_by": "Administrator",
"module": "Support",
"name": "Maintenance Visit",

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Maintenance Visit')
class TestMaintenanceVisit(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Maintenance Visit",
"name": "_Test Maintenance Visit 1"
}
]