From 8158321141bd3d28a110319f73cf86d457da1823 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 3 Jan 2013 18:22:51 +0530 Subject: [PATCH 1/4] serial no warranty expiry report --- .../serial_no_warranty_expiry/__init__.py | 0 .../serial_no_warranty_expiry.txt | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 support/report/serial_no_warranty_expiry/__init__.py create mode 100644 support/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt diff --git a/support/report/serial_no_warranty_expiry/__init__.py b/support/report/serial_no_warranty_expiry/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/support/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt b/support/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt new file mode 100644 index 00000000000..4b6c4be1751 --- /dev/null +++ b/support/report/serial_no_warranty_expiry/serial_no_warranty_expiry.txt @@ -0,0 +1,19 @@ +[ + { + "owner": "Administrator", + "docstatus": 0, + "creation": "2013-01-03 17:24:01", + "modified_by": "Administrator", + "modified": "2013-01-03 17:35:42" + }, + { + "name": "__common__", + "ref_doctype": "Serial No", + "doctype": "Report", + "json": "{\"filters\":[[\"Serial No\",\"status\",\"=\",\"Delivered\"]],\"columns\":[[\"name\",\"Serial No\"],[\"item_code\",\"Serial No\"],[\"warranty_expiry_date\",\"Serial No\"],[\"maintenance_status\",\"Serial No\"],[\"delivery_document_no\",\"Serial No\"],[\"customer\",\"Serial No\"],[\"customer_name\",\"Serial No\"],[\"item_name\",\"Serial No\"],[\"description\",\"Serial No\"],[\"item_group\",\"Serial No\"],[\"brand\",\"Serial No\"]],\"sort_by\":\"Serial No.warranty_expiry_date\",\"sort_order\":\"asc\",\"sort_by_next\":\"\",\"sort_order_next\":\"asc\"}" + }, + { + "name": "Serial No Warranty Expiry", + "doctype": "Report" + } +] \ No newline at end of file From 92641dc39876fbdcb70822f117cc08bc61132ade Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 3 Jan 2013 18:23:22 +0530 Subject: [PATCH 2/4] serial no service contract expiry --- support/report/__init__.py | 0 .../__init__.py | 0 .../serial_no_service_contract_expiry.txt | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 support/report/__init__.py create mode 100644 support/report/serial_no_service_contract_expiry/__init__.py create mode 100644 support/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt diff --git a/support/report/__init__.py b/support/report/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/support/report/serial_no_service_contract_expiry/__init__.py b/support/report/serial_no_service_contract_expiry/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/support/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt b/support/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt new file mode 100644 index 00000000000..45e01b993c7 --- /dev/null +++ b/support/report/serial_no_service_contract_expiry/serial_no_service_contract_expiry.txt @@ -0,0 +1,19 @@ +[ + { + "owner": "Administrator", + "docstatus": 0, + "creation": "2013-01-03 18:11:00", + "modified_by": "Administrator", + "modified": "2013-01-03 18:12:28" + }, + { + "name": "__common__", + "ref_doctype": "Serial No", + "doctype": "Report", + "json": "{\"filters\":[[\"Serial No\",\"status\",\"=\",\"Delivered\"]],\"columns\":[[\"name\",\"Serial No\"],[\"item_code\",\"Serial No\"],[\"amc_expiry_date\",\"Serial No\"],[\"maintenance_status\",\"Serial No\"],[\"delivery_document_no\",\"Serial No\"],[\"customer\",\"Serial No\"],[\"customer_name\",\"Serial No\"],[\"item_name\",\"Serial No\"],[\"description\",\"Serial No\"],[\"item_group\",\"Serial No\"],[\"brand\",\"Serial No\"]],\"sort_by\":\"Serial No.amc_expiry_date\",\"sort_order\":\"asc\",\"sort_by_next\":\"\",\"sort_order_next\":\"desc\"}" + }, + { + "name": "Serial No Service Contract Expiry", + "doctype": "Report" + } +] \ No newline at end of file From 0b65700ef838d28d72e3978c3a503728fb35aa21 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 4 Jan 2013 12:06:54 +0530 Subject: [PATCH 3/4] serial No Status report --- .../remove_support_search_criteria.py | 4 ++++ patches/patch_list.py | 4 ++++ stock/report/serial_no_status/__init__.py | 0 .../serial_no_status/serial_no_status.txt | 19 +++++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 patches/january_2013/remove_support_search_criteria.py create mode 100644 stock/report/serial_no_status/__init__.py create mode 100644 stock/report/serial_no_status/serial_no_status.txt diff --git a/patches/january_2013/remove_support_search_criteria.py b/patches/january_2013/remove_support_search_criteria.py new file mode 100644 index 00000000000..0443afeeda1 --- /dev/null +++ b/patches/january_2013/remove_support_search_criteria.py @@ -0,0 +1,4 @@ +import webnotes +def execute(): + for sc in ["warranty-amc_expiry_details", "warranty-amc_summary"]: + webnotes.delete_doc("Search Criteria", sc) \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 08f0253985c..2dd37ecad8a 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -574,4 +574,8 @@ patch_list = [ 'patch_module': 'patches.january_2013', 'patch_file': 'deprecate_stock_search_criteria', }, + { + 'patch_module': 'patches.january_2013', + 'patch_file': 'remove_support_search_criteria', + }, ] \ No newline at end of file diff --git a/stock/report/serial_no_status/__init__.py b/stock/report/serial_no_status/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/stock/report/serial_no_status/serial_no_status.txt b/stock/report/serial_no_status/serial_no_status.txt new file mode 100644 index 00000000000..19db65e8996 --- /dev/null +++ b/stock/report/serial_no_status/serial_no_status.txt @@ -0,0 +1,19 @@ +[ + { + "owner": "Administrator", + "docstatus": 0, + "creation": "2013-01-04 12:00:54", + "modified_by": "Administrator", + "modified": "2013-01-04 12:02:29" + }, + { + "name": "__common__", + "ref_doctype": "Serial No", + "doctype": "Report", + "json": "{\"filters\":[],\"columns\":[[\"name\",\"Serial No\"],[\"item_code\",\"Serial No\"],[\"warehouse\",\"Serial No\"],[\"status\",\"Serial No\"],[\"item_name\",\"Serial No\"],[\"description\",\"Serial No\"],[\"item_group\",\"Serial No\"],[\"brand\",\"Serial No\"],[\"purchase_document_no\",\"Serial No\"],[\"purchase_date\",\"Serial No\"],[\"customer\",\"Serial No\"],[\"customer_name\",\"Serial No\"],[\"purchase_rate\",\"Serial No\"],[\"delivery_document_no\",\"Serial No\"],[\"delivery_date\",\"Serial No\"],[\"supplier\",\"Serial No\"],[\"supplier_name\",\"Serial No\"]],\"sort_by\":\"Serial No.name\",\"sort_order\":\"desc\",\"sort_by_next\":\"\",\"sort_order_next\":\"desc\"}" + }, + { + "name": "Serial No Status", + "doctype": "Report" + } +] \ No newline at end of file From 62299260dcdc909287a11149a08949cf838fe3dd Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 4 Jan 2013 13:16:34 +0530 Subject: [PATCH 4/4] shifted UOM field to after qty field in purchase cycle --- .../purchase_invoice_item.txt | 41 +++++---- .../purchase_order_item.txt | 44 +++++---- .../supplier_quotation_item.txt | 41 +++++---- .../purchase_receipt_item.txt | 90 +++++++++---------- 4 files changed, 113 insertions(+), 103 deletions(-) diff --git a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt b/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt index db1ebb68787..93668b61868 100755 --- a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt +++ b/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-07-03 13:29:48", + "creation": "2012-12-19 22:38:53", "modified_by": "Administrator", - "modified": "2012-12-19 11:57:47" + "modified": "2013-01-04 13:15:09" }, { "istable": 1, @@ -40,17 +40,18 @@ }, { "oldfieldtype": "Data", - "search_index": 0, "doctype": "DocField", "label": "Item Name", "oldfieldname": "item_name", "fieldname": "item_name", "fieldtype": "Data", + "search_index": 0, "reqd": 1, "permlevel": 0, "in_filter": 0 }, { + "print_width": "300px", "oldfieldtype": "Text", "doctype": "DocField", "label": "Description", @@ -71,6 +72,15 @@ "reqd": 1, "permlevel": 0 }, + { + "print_hide": 1, + "doctype": "DocField", + "label": "UOM", + "options": "UOM", + "fieldname": "uom", + "fieldtype": "Link", + "permlevel": 0 + }, { "print_hide": 1, "doctype": "DocField", @@ -140,19 +150,21 @@ }, { "print_hide": 1, + "print_width": "120px", "permlevel": 0, "oldfieldtype": "Link", "doctype": "DocField", "label": "Expense Head", "oldfieldname": "expense_head", "width": "120px", - "options": "Account", "fieldname": "expense_head", "fieldtype": "Link", - "reqd": 1 + "reqd": 1, + "options": "Account" }, { "print_hide": 1, + "print_width": "120px", "oldfieldtype": "Link", "doctype": "DocField", "label": "Cost Center", @@ -173,15 +185,6 @@ "permlevel": 0, "in_filter": 1 }, - { - "print_hide": 1, - "doctype": "DocField", - "label": "UOM", - "options": "UOM", - "fieldname": "uom", - "fieldtype": "Link", - "permlevel": 0 - }, { "print_hide": 1, "oldfieldtype": "Data", @@ -200,35 +203,35 @@ "label": "Item Group", "oldfieldname": "item_group", "permlevel": 1, - "options": "Item Group", "fieldname": "item_group", "fieldtype": "Link", "search_index": 1, "hidden": 1, + "options": "Item Group", "in_filter": 1 }, { "print_hide": 1, "oldfieldtype": "Link", - "search_index": 1, "doctype": "DocField", "label": "Pur Order", "oldfieldname": "purchase_order", "options": "Purchase Order", "fieldname": "purchase_order", "fieldtype": "Link", + "search_index": 1, "permlevel": 1, "in_filter": 1 }, { "print_hide": 1, "oldfieldtype": "Data", - "search_index": 1, "doctype": "DocField", "label": "Purchase Order Item", "oldfieldname": "po_detail", "fieldname": "po_detail", "fieldtype": "Data", + "search_index": 1, "hidden": 1, "permlevel": 1, "in_filter": 1 @@ -236,25 +239,25 @@ { "print_hide": 1, "oldfieldtype": "Link", - "search_index": 1, "doctype": "DocField", "label": "Pur Receipt", "oldfieldname": "purchase_receipt", "options": "Purchase Receipt", "fieldname": "purchase_receipt", "fieldtype": "Link", + "search_index": 1, "permlevel": 1, "in_filter": 1 }, { "print_hide": 1, "oldfieldtype": "Data", - "search_index": 1, "doctype": "DocField", "label": "PR Detail", "oldfieldname": "pr_detail", "fieldname": "pr_detail", "fieldtype": "Data", + "search_index": 1, "hidden": 1, "permlevel": 1, "in_filter": 1 diff --git a/buying/doctype/purchase_order_item/purchase_order_item.txt b/buying/doctype/purchase_order_item/purchase_order_item.txt index 9f8151df0d8..cbe2cde7245 100755 --- a/buying/doctype/purchase_order_item/purchase_order_item.txt +++ b/buying/doctype/purchase_order_item/purchase_order_item.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-08-06 20:00:38", + "creation": "2012-12-19 22:38:55", "modified_by": "Administrator", - "modified": "2012-12-19 11:57:28" + "modified": "2013-01-04 13:13:47" }, { "istable": 1, @@ -78,6 +78,7 @@ "in_filter": 1 }, { + "print_width": "300px", "oldfieldtype": "Small Text", "doctype": "DocField", "label": "Description", @@ -89,6 +90,7 @@ "permlevel": 0 }, { + "print_width": "60px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", @@ -100,6 +102,20 @@ "reqd": 1, "permlevel": 0 }, + { + "print_hide": 0, + "print_width": "100px", + "permlevel": 0, + "oldfieldtype": "Link", + "doctype": "DocField", + "label": "UOM", + "oldfieldname": "uom", + "width": "100px", + "fieldname": "uom", + "fieldtype": "Link", + "reqd": 1, + "options": "UOM" + }, { "print_hide": 1, "doctype": "DocField", @@ -146,6 +162,7 @@ }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", @@ -193,21 +210,9 @@ "report_hide": 0, "in_filter": 1 }, - { - "print_hide": 0, - "oldfieldtype": "Link", - "doctype": "DocField", - "label": "UOM", - "oldfieldname": "uom", - "width": "100px", - "options": "UOM", - "fieldname": "uom", - "fieldtype": "Link", - "reqd": 1, - "permlevel": 0 - }, { "print_hide": 1, + "print_width": "100px", "oldfieldtype": "Currency", "doctype": "DocField", "label": "UOM Conversion Factor", @@ -221,6 +226,7 @@ }, { "print_hide": 1, + "print_width": "100px", "oldfieldtype": "Data", "doctype": "DocField", "label": "Stock UOM", @@ -247,6 +253,7 @@ { "print_hide": 1, "permlevel": 1, + "print_width": "120px", "no_copy": 0, "oldfieldtype": "Link", "doctype": "DocField", @@ -263,12 +270,12 @@ { "print_hide": 1, "oldfieldtype": "Date", - "search_index": 0, "doctype": "DocField", "label": "Purchase Request Date", "oldfieldname": "prevdoc_date", "fieldname": "prevdoc_date", "fieldtype": "Date", + "search_index": 0, "hidden": 1, "permlevel": 1, "in_filter": 1 @@ -326,15 +333,16 @@ "label": "Item Group", "oldfieldname": "item_group", "permlevel": 1, - "options": "Item Group", "fieldname": "item_group", "fieldtype": "Link", "search_index": 0, "hidden": 1, + "options": "Item Group", "in_filter": 1 }, { "print_hide": 1, + "print_width": "100px", "no_copy": 1, "oldfieldtype": "Currency", "doctype": "DocField", @@ -361,11 +369,11 @@ { "print_hide": 1, "default": "0.00", - "no_copy": 1, "oldfieldtype": "Currency", "doctype": "DocField", "label": "Billed Quantity", "oldfieldname": "billed_qty", + "no_copy": 1, "fieldname": "billed_qty", "fieldtype": "Currency", "hidden": 0, diff --git a/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt b/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt index 97cddf7a4a9..40d5607a9bf 100644 --- a/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt +++ b/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-08-06 20:00:36", + "creation": "2012-12-19 22:38:54", "modified_by": "Administrator", - "modified": "2012-12-19 11:56:59" + "modified": "2013-01-04 13:14:13" }, { "istable": 1, @@ -63,6 +63,7 @@ "in_filter": 1 }, { + "print_width": "300px", "oldfieldtype": "Small Text", "doctype": "DocField", "label": "Description", @@ -74,6 +75,7 @@ "permlevel": 0 }, { + "print_width": "60px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", @@ -85,6 +87,20 @@ "reqd": 1, "permlevel": 0 }, + { + "print_hide": 0, + "print_width": "100px", + "permlevel": 0, + "oldfieldtype": "Link", + "doctype": "DocField", + "label": "UOM", + "oldfieldname": "uom", + "width": "100px", + "fieldname": "uom", + "fieldtype": "Link", + "reqd": 1, + "options": "UOM" + }, { "print_hide": 1, "doctype": "DocField", @@ -131,6 +147,7 @@ }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", @@ -160,11 +177,11 @@ "doctype": "DocField", "label": "Warehouse", "oldfieldname": "warehouse", + "options": "Warehouse", "fieldname": "warehouse", "fieldtype": "Link", "reqd": 0, "hidden": 0, - "options": "Warehouse", "permlevel": 0 }, { @@ -178,19 +195,6 @@ "report_hide": 0, "in_filter": 1 }, - { - "print_hide": 0, - "oldfieldtype": "Link", - "doctype": "DocField", - "label": "UOM", - "oldfieldname": "uom", - "width": "100px", - "options": "UOM", - "fieldname": "uom", - "fieldtype": "Link", - "reqd": 1, - "permlevel": 0 - }, { "print_hide": 1, "no_copy": 0, @@ -206,6 +210,7 @@ { "print_hide": 1, "permlevel": 1, + "print_width": "120px", "no_copy": 0, "oldfieldtype": "Link", "doctype": "DocField", @@ -222,12 +227,12 @@ { "print_hide": 1, "oldfieldtype": "Date", - "search_index": 0, "doctype": "DocField", "label": "Purchase Request Date", "oldfieldname": "prevdoc_date", "fieldname": "prevdoc_date", "fieldtype": "Date", + "search_index": 0, "hidden": 1, "permlevel": 1, "in_filter": 1 @@ -265,11 +270,11 @@ "label": "Item Group", "oldfieldname": "item_group", "permlevel": 1, - "options": "Item Group", "fieldname": "item_group", "fieldtype": "Link", "search_index": 0, "hidden": 1, + "options": "Item Group", "in_filter": 1 }, { diff --git a/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt b/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt index d49dfa96447..6d085f1896a 100755 --- a/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt +++ b/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-07-03 13:30:42", + "creation": "2012-12-03 10:25:00", "modified_by": "Administrator", - "modified": "2012-12-03 10:20:11" + "modified": "2013-01-04 13:14:40" }, { "istable": 1, @@ -25,13 +25,13 @@ "doctype": "DocType" }, { + "print_width": "100px", "permlevel": 0, "oldfieldtype": "Link", "doctype": "DocField", "label": "Item Code", "oldfieldname": "item_code", "width": "100px", - "trigger": "Client", "fieldname": "item_code", "fieldtype": "Link", "search_index": 1, @@ -53,6 +53,7 @@ "in_filter": 0 }, { + "print_width": "300px", "oldfieldtype": "Text", "doctype": "DocField", "label": "Description", @@ -65,45 +66,59 @@ }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Recd Quantity", "oldfieldname": "received_qty", "width": "100px", - "trigger": "Client", "fieldname": "received_qty", "fieldtype": "Currency", "reqd": 1, "permlevel": 0 }, { + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Accepted Quantity", "oldfieldname": "qty", "width": "100px", - "trigger": "Client", "fieldname": "qty", "fieldtype": "Currency", "permlevel": 0 }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Rejected Quantity", "oldfieldname": "rejected_qty", "width": "100px", - "trigger": "Client", "fieldname": "rejected_qty", "fieldtype": "Currency", "search_index": 0, "permlevel": 0, "in_filter": 0 }, + { + "print_hide": 1, + "print_width": "100px", + "permlevel": 0, + "oldfieldtype": "Link", + "doctype": "DocField", + "label": "UOM", + "oldfieldname": "uom", + "width": "100px", + "fieldname": "uom", + "fieldtype": "Link", + "reqd": 1, + "options": "UOM" + }, { "print_hide": 1, "doctype": "DocField", @@ -122,14 +137,13 @@ }, { "print_hide": 0, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", - "colour": "White:FFF", "doctype": "DocField", "label": "Rate", "oldfieldname": "import_rate", "width": "100px", - "trigger": "Client", "fieldname": "import_rate", "fieldtype": "Currency", "permlevel": 0 @@ -153,14 +167,13 @@ }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", - "colour": "White:FFF", "doctype": "DocField", "label": "Rate *(Default Curr.)", "oldfieldname": "purchase_rate", "width": "100px", - "trigger": "Client", "fieldname": "purchase_rate", "fieldtype": "Currency", "reqd": 1, @@ -168,13 +181,13 @@ }, { "print_hide": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Amount (Default Curr.)", "oldfieldname": "amount", "width": "100px", - "trigger": "Client", "fieldname": "amount", "fieldtype": "Currency", "reqd": 0, @@ -182,40 +195,26 @@ }, { "print_hide": 1, + "print_width": "100px", + "permlevel": 0, "oldfieldtype": "Link", "doctype": "DocField", "label": "Accepted Warehouse", "oldfieldname": "warehouse", "width": "100px", - "options": "Warehouse", "fieldname": "warehouse", "fieldtype": "Link", "hidden": 0, - "permlevel": 0 - }, - { - "print_hide": 1, - "permlevel": 0, - "oldfieldtype": "Link", - "colour": "White:FFF", - "doctype": "DocField", - "label": "UOM", - "oldfieldname": "uom", - "width": "100px", - "trigger": "Client", - "fieldname": "uom", - "fieldtype": "Link", - "reqd": 1, - "options": "UOM" + "options": "Warehouse" }, { "print_hide": 1, + "print_width": "100px", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Conversion Factor", "oldfieldname": "conversion_factor", "width": "100px", - "trigger": "Client", "fieldname": "conversion_factor", "fieldtype": "Currency", "reqd": 1, @@ -223,6 +222,7 @@ }, { "print_hide": 1, + "print_width": "100px", "oldfieldtype": "Data", "doctype": "DocField", "label": "Stock UOM", @@ -237,7 +237,6 @@ "print_hide": 0, "no_copy": 1, "oldfieldtype": "Text", - "colour": "White:FFF", "doctype": "DocField", "label": "Serial No", "oldfieldname": "serial_no", @@ -258,22 +257,20 @@ { "print_hide": 1, "oldfieldtype": "Link", - "colour": "White:FFF", "doctype": "DocField", "label": "Batch No", "oldfieldname": "batch_no", - "trigger": "Client", + "options": "Batch", "fieldname": "batch_no", "fieldtype": "Link", - "options": "Batch", "permlevel": 0 }, { "print_hide": 1, "permlevel": 1, + "print_width": "100px", "no_copy": 1, "oldfieldtype": "Link", - "colour": "White:FFF", "doctype": "DocField", "label": "Rejected Warehouse", "oldfieldname": "rejected_warehouse", @@ -287,7 +284,6 @@ "print_hide": 1, "no_copy": 1, "oldfieldtype": "Date", - "colour": "White:FFF", "doctype": "DocField", "label": "Required By", "oldfieldname": "schedule_date", @@ -299,7 +295,6 @@ }, { "print_hide": 1, - "colour": "White:FFF", "doctype": "DocField", "label": "Project Name", "options": "Project", @@ -312,7 +307,6 @@ "print_hide": 1, "no_copy": 1, "oldfieldtype": "Link", - "colour": "White:FFF", "doctype": "DocField", "label": "QA No", "oldfieldname": "qa_no", @@ -349,12 +343,12 @@ }, { "print_hide": 1, + "print_width": "100px", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Stock Qty", "oldfieldname": "stock_qty", "width": "100px", - "trigger": "Client", "fieldname": "stock_qty", "fieldtype": "Currency", "permlevel": 0 @@ -362,7 +356,6 @@ { "print_hide": 1, "oldfieldtype": "Data", - "colour": "White:FFF", "doctype": "DocField", "label": "Prevdoc Doctype", "oldfieldname": "prevdoc_doctype", @@ -374,9 +367,9 @@ { "print_hide": 1, "permlevel": 1, + "print_width": "150px", "no_copy": 0, "oldfieldtype": "Link", - "colour": "White:FFF", "doctype": "DocField", "label": "PO No", "oldfieldname": "prevdoc_docname", @@ -403,6 +396,7 @@ }, { "print_hide": 1, + "print_width": "150px", "oldfieldtype": "Currency", "doctype": "DocField", "label": "Raw Materials Supplied Cost", @@ -416,9 +410,9 @@ }, { "print_hide": 1, + "print_width": "150px", "no_copy": 1, "oldfieldtype": "Currency", - "colour": "White:FFF", "doctype": "DocField", "label": "Item Tax Amount", "oldfieldname": "item_tax_amount", @@ -432,9 +426,9 @@ }, { "print_hide": 1, + "print_width": "150px", "no_copy": 0, "oldfieldtype": "Data", - "colour": "White:FFF", "doctype": "DocField", "label": "Purchase Order Item No", "oldfieldname": "prevdoc_detail_docname", @@ -448,22 +442,23 @@ }, { "print_hide": 1, + "permlevel": 1, + "print_width": "100px", "default": "0.00", "oldfieldtype": "Currency", "doctype": "DocField", - "no_copy": 1, "label": "Billed Quantity", "oldfieldname": "billed_qty", - "width": "100px", + "no_copy": 1, "fieldname": "billed_qty", "fieldtype": "Currency", - "permlevel": 1 + "width": "100px" }, { "print_hide": 1, + "print_width": "80px", "no_copy": 1, "oldfieldtype": "Currency", - "colour": "White:FFF", "doctype": "DocField", "label": "Valuation Rate", "oldfieldname": "valuation_rate", @@ -478,7 +473,6 @@ "print_hide": 1, "description": "Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges", "oldfieldtype": "Small Text", - "colour": "White:FFF", "doctype": "DocField", "label": "Item Tax Rate", "oldfieldname": "item_tax_rate", @@ -491,8 +485,8 @@ }, { "print_hide": 1, - "oldfieldtype": "Check", "allow_on_submit": 1, + "oldfieldtype": "Check", "doctype": "DocField", "label": "Page Break", "oldfieldname": "page_break",