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 "read_only": 0
}, },
{ {
"fieldname": "invoice_details", "fieldname": "invoices",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Invoice Details", "label": "Invoices",
"options": "C-Form Invoice Detail", "options": "C-Form Invoice Detail",
"permlevel": 0, "permlevel": 0,
"read_only": 0 "read_only": 0
@ -139,7 +139,7 @@
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"max_attachments": 3, "max_attachments": 3,
"modified": "2014-09-05 12:58:43.333698", "modified": "2014-12-24 15:20:08.627169",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "C-Form", "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.", "description": "Add rows to set annual budgets on Accounts.",
"fieldname": "budget_details", "fieldname": "budgets",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Budget Details", "label": "Budgets",
"oldfieldname": "budget_details", "oldfieldname": "budget_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Budget Detail", "options": "Budget Detail",
@ -145,7 +145,7 @@
"icon": "icon-money", "icon": "icon-money",
"idx": 1, "idx": 1,
"in_create": 0, "in_create": 0,
"modified": "2014-08-26 12:16:11.163750", "modified": "2014-12-24 15:18:16.937207",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Cost Center", "name": "Cost Center",
@ -197,5 +197,5 @@
"role": "Material User" "role": "Material User"
} }
], ],
"search_fields": "name,parent_cost_center" "search_fields": "parent_cost_center"
} }

View File

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

View File

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

View File

@ -17,7 +17,7 @@ frappe.ui.form.on("Payment Tool", "onload", function(frm) {
frm.set_query("payment_account", function() { frm.set_query("payment_account", function() {
return { return {
filters: { filters: {
"account_type": ["in", ["Receivable", "Payable"]], "account_type": ["in", ["Bank", "Cash"]],
"group_or_ledger": "Ledger", "group_or_ledger": "Ledger",
"company": frm.doc.company "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) { erpnext.payment_tool.check_mandatory_to_fetch = function(doc) {
$.each(["Company", "Party Type", "Party", "Received or Paid"], function(i, field) { $.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, "allow_on_submit": 0,
"fieldname": "payment_tool_details", "fieldname": "against_vouchers",
"fieldtype": "Table", "fieldtype": "Table",
"hidden": 0, "hidden": 0,
"ignore_user_permissions": 0, "ignore_user_permissions": 0,
"in_filter": 0, "in_filter": 0,
"in_list_view": 0, "in_list_view": 0,
"label": "Payment Tool Details", "label": "Against Vouchers",
"no_copy": 0, "no_copy": 0,
"options": "Payment Tool Detail", "options": "Payment Tool Detail",
"permlevel": 0, "permlevel": 0,
@ -310,7 +310,7 @@
"is_submittable": 0, "is_submittable": 0,
"issingle": 1, "issingle": 1,
"istable": 0, "istable": 0,
"modified": "2014-09-15 16:01:04.820559", "modified": "2014-12-24 16:33:57.341817",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Tool", "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.", "description": "* Will be calculated in the transaction.",
"fieldname": "other_charges", "fieldname": "taxes",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Sales Taxes and Charges Master", "label": "Sales Taxes and Charges",
"oldfieldname": "other_charges", "oldfieldname": "other_charges",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Sales Taxes and Charges", "options": "Sales Taxes and Charges",
@ -70,7 +70,7 @@
}, },
{ {
"description": "Specify a list of Territories, for which, this Taxes Master is valid", "description": "Specify a list of Territories, for which, this Taxes Master is valid",
"fieldname": "valid_for_territories", "fieldname": "territories",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Valid for Territories", "label": "Valid for Territories",
"options": "Applicable Territory", "options": "Applicable Territory",
@ -80,7 +80,7 @@
], ],
"icon": "icon-money", "icon": "icon-money",
"idx": 1, "idx": 1,
"modified": "2014-10-06 13:11:18.616789", "modified": "2014-12-24 14:57:06.275853",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Taxes and Charges Master", "name": "Sales Taxes and Charges Master",

View File

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

View File

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

View File

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

View File

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

View File

@ -107,9 +107,9 @@
}, },
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"fieldname": "appraisal_details", "fieldname": "goals",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Appraisal Goals", "label": "Goals",
"oldfieldname": "appraisal_details", "oldfieldname": "appraisal_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Appraisal Goal", "options": "Appraisal Goal",
@ -197,7 +197,7 @@
"icon": "icon-thumbs-up", "icon": "icon-thumbs-up",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-06-23 07:55:40.801381", "modified": "2014-12-24 15:00:49.133185",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Appraisal", "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" "width": "300px"
}, },
{ {
"fieldname": "kra_sheet", "fieldname": "goals",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Appraisal Template Goal", "label": "Goals",
"oldfieldname": "kra_sheet", "oldfieldname": "kra_sheet",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Appraisal Template Goal", "options": "Appraisal Template Goal",
@ -46,7 +46,7 @@
], ],
"icon": "icon-file-text", "icon": "icon-file-text",
"idx": 1, "idx": 1,
"modified": "2014-05-27 03:49:07.533203", "modified": "2014-12-24 15:01:34.621450",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Appraisal Template", "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, "allow_on_submit": 0,
"fieldname": "expense_voucher_details", "fieldname": "expenses",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Expense Claim Details", "label": "Expenses",
"oldfieldname": "expense_voucher_details", "oldfieldname": "expense_voucher_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Expense Claim Detail", "options": "Expense Claim Detail",
@ -163,16 +163,6 @@
"fieldtype": "Column Break", "fieldtype": "Column Break",
"permlevel": 0 "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, "allow_on_submit": 0,
"fieldname": "remark", "fieldname": "remark",
@ -212,7 +202,7 @@
"icon": "icon-money", "icon": "icon-money",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-12-09 11:52:32.196383", "modified": "2014-12-24 15:31:39.611197",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Expense Claim", "name": "Expense Claim",

View File

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

View File

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

View File

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

View File

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

View File

@ -192,7 +192,7 @@
}, },
{ {
"depends_on": "", "depends_on": "",
"fieldname": "operations", "fieldname": "operations_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Operations", "label": "Operations",
"options": "icon-wrench", "options": "icon-wrench",
@ -200,9 +200,9 @@
"precision": "" "precision": ""
}, },
{ {
"fieldname": "production_order_operations", "fieldname": "operations",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Production Order Operations", "label": "Operations",
"options": "Production Order Operation", "options": "Production Order Operation",
"permlevel": 0, "permlevel": 0,
"precision": "", "precision": "",
@ -351,7 +351,7 @@
"idx": 1, "idx": 1,
"in_create": 0, "in_create": 0,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-12-23 15:07:26.516227", "modified": "2014-12-24 14:36:25.662920",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "Production Order", "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", "default_print_format": "Standard",
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
@ -20,6 +20,7 @@
{ {
"fieldname": "fg_item", "fieldname": "fg_item",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Filter based on item", "label": "Filter based on item",
"options": "Item", "options": "Item",
"permlevel": 0 "permlevel": 0
@ -27,6 +28,7 @@
{ {
"fieldname": "customer", "fieldname": "customer",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Filter based on customer", "label": "Filter based on customer",
"options": "Customer", "options": "Customer",
"permlevel": 0 "permlevel": 0
@ -34,6 +36,7 @@
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Company", "label": "Company",
"options": "Company", "options": "Company",
"permlevel": 0, "permlevel": 0,
@ -72,9 +75,9 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "pp_so_details", "fieldname": "sales_orders",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Production Plan Sales Orders", "label": "Sales Orders",
"options": "Production Plan Sales Order", "options": "Production Plan Sales Order",
"permlevel": 0 "permlevel": 0
}, },
@ -101,9 +104,9 @@
"reqd": 0 "reqd": 0
}, },
{ {
"fieldname": "pp_details", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Production Plan Items", "label": "Items",
"options": "Production Plan Item", "options": "Production Plan Item",
"permlevel": 0 "permlevel": 0
}, },
@ -155,7 +158,7 @@
"idx": 1, "idx": 1,
"in_create": 1, "in_create": 1,
"issingle": 1, "issingle": 1,
"modified": "2013-12-20 19:23:25.000000", "modified": "2014-12-24 16:36:06.267344",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "Production Planning Tool", "name": "Production Planning Tool",

View File

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

View File

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

View File

@ -5,5 +5,5 @@ from __future__ import unicode_literals
import frappe import frappe
from frappe.model.document import Document from frappe.model.document import Document
class WorkstationOperationHour(Document): class WorkstationWorkingHour(Document):
pass 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_import": 1,
"allow_rename": 1, "allow_rename": 1,
"autoname": "field:project_name", "autoname": "field:project_name",
@ -126,9 +125,9 @@
}, },
{ {
"description": "Milestones will be added as Events in the Calendar", "description": "Milestones will be added as Events in the Calendar",
"fieldname": "project_milestones", "fieldname": "milestones",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Project Milestones", "label": "Milestones",
"no_copy": 0, "no_copy": 0,
"oldfieldname": "project_milestones", "oldfieldname": "project_milestones",
"oldfieldtype": "Table", "oldfieldtype": "Table",
@ -273,7 +272,7 @@
"icon": "icon-puzzle-piece", "icon": "icon-puzzle-piece",
"idx": 1, "idx": 1,
"max_attachments": 4, "max_attachments": 4,
"modified": "2014-08-26 14:59:27.052172", "modified": "2014-12-24 16:36:50.539666",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Projects", "module": "Projects",
"name": "Project", "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 "permlevel": 0
}, },
{ {
"fieldname": "time_log_batch_details", "fieldname": "time_logs",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Time Log Batch Details", "label": "Time Logs",
"options": "Time Log Batch Detail", "options": "Time Log Batch Detail",
"permlevel": 0, "permlevel": 0,
"reqd": 1 "reqd": 1
@ -83,7 +83,7 @@
"icon": "icon-time", "icon": "icon-time",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-05-27 03:49:21.339026", "modified": "2014-12-24 16:48:03.419707",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Projects", "module": "Projects",
"name": "Time Log Batch", "name": "Time Log Batch",

View File

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

View File

@ -224,9 +224,9 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "installed_item_details", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Installation Note Item", "label": "Items",
"oldfieldname": "installed_item_details", "oldfieldname": "installed_item_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Installation Note Item", "options": "Installation Note Item",
@ -236,7 +236,7 @@
"icon": "icon-wrench", "icon": "icon-wrench",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-07-30 03:37:31.118791", "modified": "2014-12-24 15:33:52.513813",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Installation Note", "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 "reqd": 1
}, },
{ {
"fieldname": "items", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Items", "label": "Items",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
@ -126,9 +126,9 @@
}, },
{ {
"description": "Items which do not exist in Item master can also be entered on customer's request", "description": "Items which do not exist in Item master can also be entered on customer's request",
"fieldname": "enquiry_details", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Opportunity Items", "label": "Items",
"oldfieldname": "enquiry_details", "oldfieldname": "enquiry_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Opportunity Item", "options": "Opportunity Item",
@ -388,7 +388,7 @@
"icon": "icon-info-sign", "icon": "icon-info-sign",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-10-07 18:12:19.104820", "modified": "2014-12-24 14:22:53.858170",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Opportunity", "name": "Opportunity",

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

@ -114,9 +114,9 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "target_details", "fieldname": "targets",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Target Details", "label": "Targets",
"oldfieldname": "target_details", "oldfieldname": "target_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Target Detail", "options": "Target Detail",
@ -136,7 +136,7 @@
"icon": "icon-map-marker", "icon": "icon-map-marker",
"idx": 1, "idx": 1,
"in_create": 1, "in_create": 1,
"modified": "2014-05-27 03:49:20.981624", "modified": "2014-12-24 16:46:36.782166",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Territory", "name": "Territory",
@ -197,5 +197,5 @@
} }
], ],
"read_only": 1, "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", "fieldname": "price_lists",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Shopping Cart Price Lists", "label": "Price Lists",
"options": "Shopping Cart Price List", "options": "Shopping Cart Price List",
"permlevel": 0, "permlevel": 0,
"reqd": 0 "reqd": 0
@ -74,7 +74,7 @@
{ {
"fieldname": "shipping_rules", "fieldname": "shipping_rules",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Shopping Cart Shipping Rules", "label": "Shipping Rules",
"options": "Shopping Cart Shipping Rule", "options": "Shopping Cart Shipping Rule",
"permlevel": 0, "permlevel": 0,
"reqd": 0 "reqd": 0
@ -87,7 +87,7 @@
{ {
"fieldname": "sales_taxes_and_charges_masters", "fieldname": "sales_taxes_and_charges_masters",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Shopping Cart Taxes and Charges Masters", "label": "Taxes and Charges",
"options": "Shopping Cart Taxes and Charges Master", "options": "Shopping Cart Taxes and Charges Master",
"permlevel": 0, "permlevel": 0,
"reqd": 0 "reqd": 0
@ -96,7 +96,7 @@
"icon": "icon-shopping-cart", "icon": "icon-shopping-cart",
"idx": 1, "idx": 1,
"issingle": 1, "issingle": 1,
"modified": "2014-05-26 03:05:53.747800", "modified": "2014-12-24 16:42:14.262882",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Shopping Cart", "module": "Shopping Cart",
"name": "Shopping Cart Settings", "name": "Shopping Cart Settings",

View File

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

View File

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

View File

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

View File

@ -102,7 +102,7 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "item_details", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Items", "label": "Items",
"options": "Packing Slip Item", "options": "Packing Slip Item",
@ -197,7 +197,7 @@
"icon": "icon-suitcase", "icon": "icon-suitcase",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-11-13 16:50:50.423299", "modified": "2014-12-24 16:22:16.446193",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Packing Slip", "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_email": 1,
"allow_import": 1, "allow_import": 1,
"allow_print": 1, "allow_print": 1,
@ -63,7 +63,7 @@
}, },
{ {
"description": "Specify a list of Territories, for which, this Price List is valid", "description": "Specify a list of Territories, for which, this Price List is valid",
"fieldname": "valid_for_territories", "fieldname": "territories",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Valid for Territories", "label": "Valid for Territories",
"options": "Applicable Territory", "options": "Applicable Territory",
@ -74,7 +74,7 @@
"icon": "icon-tags", "icon": "icon-tags",
"idx": 1, "idx": 1,
"max_attachments": 1, "max_attachments": 1,
"modified": "2014-05-27 03:49:14.866933", "modified": "2014-12-24 14:59:23.413738",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Price List", "name": "Price List",

View File

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

View File

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

View File

@ -59,7 +59,7 @@
"search_index": 0 "search_index": 0
}, },
{ {
"fieldname": "items", "fieldname": "items_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Items", "label": "Items",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
@ -67,9 +67,9 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "item_maintenance_detail", "fieldname": "items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Maintenance Schedule Item", "label": "Items",
"oldfieldname": "item_maintenance_detail", "oldfieldname": "item_maintenance_detail",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Maintenance Schedule Item", "options": "Maintenance Schedule Item",
@ -91,9 +91,9 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "maintenance_schedule_detail", "fieldname": "schedules",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Maintenance Schedule Detail", "label": "Schedules",
"oldfieldname": "maintenance_schedule_detail", "oldfieldname": "maintenance_schedule_detail",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Maintenance Schedule Detail", "options": "Maintenance Schedule Detail",
@ -220,6 +220,7 @@
"label": "Amended From", "label": "Amended From",
"no_copy": 1, "no_copy": 1,
"options": "Maintenance Schedule", "options": "Maintenance Schedule",
"permlevel": 0,
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
} }
@ -227,7 +228,7 @@
"icon": "icon-calendar", "icon": "icon-calendar",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-08-28 11:39:17.152817", "modified": "2014-12-24 15:51:42.595081",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Support", "module": "Support",
"name": "Maintenance Schedule", "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 "permlevel": 0
}, },
{ {
"fieldname": "maintenance_visit_details", "fieldname": "purposes",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Maintenance Visit Purpose", "label": "Purposes",
"oldfieldname": "maintenance_visit_details", "oldfieldname": "maintenance_visit_details",
"oldfieldtype": "Table", "oldfieldtype": "Table",
"options": "Maintenance Visit Purpose", "options": "Maintenance Visit Purpose",
@ -279,7 +279,7 @@
"icon": "icon-file-text", "icon": "icon-file-text",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-09-26 11:37:41.026433", "modified": "2014-12-24 16:20:49.640483",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Support", "module": "Support",
"name": "Maintenance Visit", "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"
}
]