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

@ -102,9 +102,9 @@
"permlevel": 0
},
{
"fieldname": "payment_reconciliation_payments",
"fieldname": "payments",
"fieldtype": "Table",
"label": "Payment Reconciliation Payments",
"label": "Payments",
"options": "Payment Reconciliation Payment",
"permlevel": 0
},
@ -121,9 +121,9 @@
"permlevel": 0
},
{
"fieldname": "payment_reconciliation_invoices",
"fieldname": "invoices",
"fieldtype": "Table",
"label": "Payment Reconciliation Invoices",
"label": "Invoices",
"options": "Payment Reconciliation Invoice",
"permlevel": 0,
"read_only": 1
@ -132,7 +132,7 @@
"hide_toolbar": 1,
"icon": "icon-resize-horizontal",
"issingle": 1,
"modified": "2014-10-16 17:51:44.367107",
"modified": "2014-12-24 14:49:48.714639",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Reconciliation",

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",

View File

@ -239,7 +239,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -249,9 +249,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "entries",
"fieldname": "items",
"fieldtype": "Table",
"label": "Entries",
"label": "Items",
"oldfieldname": "entries",
"oldfieldtype": "Table",
"options": "Purchase Invoice Item",
@ -292,7 +292,7 @@
"read_only": 1
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -312,7 +312,7 @@
"read_only": 0
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_tax_details",
@ -538,7 +538,7 @@
"permlevel": 0
},
{
"fieldname": "advances",
"fieldname": "advances_section",
"fieldtype": "Section Break",
"label": "Advances",
"oldfieldtype": "Section Break",
@ -558,9 +558,9 @@
"read_only": 0
},
{
"fieldname": "advance_allocation_details",
"fieldname": "advances",
"fieldtype": "Table",
"label": "Purchase Invoice Advances",
"label": "Advances",
"no_copy": 1,
"oldfieldname": "advance_allocation_details",
"oldfieldtype": "Table",
@ -878,7 +878,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-08 14:23:20.234176",
"modified": "2014-12-24 14:32:24.551641",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice",

View File

@ -270,7 +270,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -290,9 +290,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "entries",
"fieldname": "items",
"fieldtype": "Table",
"label": "Sales Invoice Items",
"label": "Items",
"oldfieldname": "entries",
"oldfieldtype": "Table",
"options": "Sales Invoice Item",
@ -310,9 +310,9 @@
"read_only": 0
},
{
"fieldname": "packing_details",
"fieldname": "packed_items",
"fieldtype": "Table",
"label": "Packing Details",
"label": "Packed Items",
"options": "Packed Item",
"permlevel": 0,
"print_hide": 1,
@ -358,7 +358,7 @@
"read_only": 1
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -399,7 +399,7 @@
},
{
"allow_on_submit": 1,
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges",
@ -590,7 +590,7 @@
"read_only": 1
},
{
"fieldname": "advances",
"fieldname": "advances_section",
"fieldtype": "Section Break",
"label": "Advances",
"oldfieldtype": "Section Break",
@ -610,9 +610,9 @@
"read_only": 0
},
{
"fieldname": "advance_adjustment_details",
"fieldname": "advances",
"fieldtype": "Table",
"label": "Sales Invoice Advance",
"label": "Advances",
"oldfieldname": "advance_adjustment_details",
"oldfieldtype": "Table",
"options": "Sales Invoice Advance",
@ -1213,7 +1213,7 @@
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"modified": "2014-10-22 16:54:22.284284",
"modified": "2014-12-24 14:27:52.461964",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",

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

@ -90,9 +90,9 @@
"permlevel": 0
},
{
"fieldname": "party_accounts",
"fieldname": "accounts",
"fieldtype": "Table",
"label": "Party Accounts",
"label": "Accounts",
"options": "Party Account",
"permlevel": 0
},
@ -183,7 +183,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-09-11 17:53:09.286715",
"modified": "2014-12-24 16:23:47.943887",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier",

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"
}
]

View File

@ -356,7 +356,7 @@
},
{
"description": "The first Leave Approver in the list will be set as the default Leave Approver",
"fieldname": "employee_leave_approvers",
"fieldname": "leave_approvers",
"fieldtype": "Table",
"label": "Leave Approvers",
"options": "Employee Leave Approver",
@ -539,9 +539,9 @@
"permlevel": 0
},
{
"fieldname": "educational_qualification_details",
"fieldname": "educational_qualifications",
"fieldtype": "Table",
"label": "Educational Qualification Details",
"label": "Educational Qualifications",
"options": "Employee Education",
"permlevel": 0
},
@ -553,9 +553,9 @@
"permlevel": 0
},
{
"fieldname": "previous_experience_details",
"fieldname": "external_work_experiences",
"fieldtype": "Table",
"label": "Employee External Work History",
"label": "External Work Experiences",
"options": "Employee External Work History",
"permlevel": 0
},
@ -567,9 +567,9 @@
"permlevel": 0
},
{
"fieldname": "experience_in_company_details",
"fieldname": "internal_work_experiences",
"fieldtype": "Table",
"label": "Employee Internal Work Historys",
"label": "Internal Work Experiences",
"options": "Employee Internal Work History",
"permlevel": 0
},
@ -673,7 +673,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-09-15 05:55:00.514660",
"modified": "2014-12-24 15:28:06.576523",
"modified_by": "Administrator",
"module": "HR",
"name": "Employee",

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

@ -136,9 +136,9 @@
"permlevel": 0
},
{
"fieldname": "party_accounts",
"fieldname": "accounts",
"fieldtype": "Table",
"label": "Party Accounts",
"label": "Accounts",
"options": "Party Account",
"permlevel": 0
},
@ -266,7 +266,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-10-06 12:26:47.480965",
"modified": "2014-12-24 16:23:11.018042",
"modified_by": "Administrator",
"module": "Selling",
"name": "Customer",

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",

View File

@ -283,7 +283,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -295,9 +295,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "quotation_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Quotation Items",
"label": "Items",
"oldfieldname": "quotation_details",
"oldfieldtype": "Table",
"options": "Quotation Item",
@ -340,7 +340,7 @@
"read_only": 1
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -382,7 +382,7 @@
"permlevel": 0
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges",
@ -800,7 +800,7 @@
"idx": 1,
"is_submittable": 1,
"max_attachments": 1,
"modified": "2014-09-11 18:53:08.594908",
"modified": "2014-12-24 14:24:12.930936",
"modified_by": "Administrator",
"module": "Selling",
"name": "Quotation",

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",

View File

@ -295,7 +295,7 @@
"print_hide": 1
},
{
"fieldname": "items",
"fieldname": "items_section",
"fieldtype": "Section Break",
"label": "Items",
"oldfieldtype": "Section Break",
@ -304,9 +304,9 @@
},
{
"allow_on_submit": 1,
"fieldname": "sales_order_details",
"fieldname": "items",
"fieldtype": "Table",
"label": "Sales Order Items",
"label": "Items",
"oldfieldname": "sales_order_details",
"oldfieldtype": "Table",
"options": "Sales Order Item",
@ -351,7 +351,7 @@
"width": "150px"
},
{
"fieldname": "taxes",
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
@ -389,7 +389,7 @@
"permlevel": 0
},
{
"fieldname": "other_charges",
"fieldname": "taxes",
"fieldtype": "Table",
"label": "Sales Taxes and Charges",
"oldfieldname": "other_charges",
@ -559,9 +559,9 @@
"print_hide": 1
},
{
"fieldname": "packing_details",
"fieldname": "packed_items",
"fieldtype": "Table",
"label": "Packing Details",
"label": "Packed Items",
"oldfieldname": "packing_details",
"oldfieldtype": "Table",
"options": "Packed Item",
@ -1020,7 +1020,7 @@
"idx": 1,
"is_submittable": 1,
"issingle": 0,
"modified": "2014-10-08 14:22:44.717108",
"modified": "2014-12-24 14:25:16.633280",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order",

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

@ -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"
}
]