[feature] Added Section Breaks to Grids for better visual hierarchy
diff --git a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt b/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt
index 867cd7a..dce635b 100755
--- a/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt
+++ b/accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-05-22 12:43:10",
"docstatus": 0,
- "modified": "2013-07-09 12:21:47",
+ "modified": "2013-07-10 11:56:50",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -64,6 +64,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "qty",
"fieldtype": "Float",
"label": "Qty",
@@ -157,6 +163,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "accounting",
+ "fieldtype": "Section Break",
+ "label": "Accounting"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "expense_head",
"fieldtype": "Link",
"label": "Expense Head",
@@ -185,6 +197,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "reference",
+ "fieldtype": "Section Break",
+ "label": "Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "project_name",
"fieldtype": "Link",
"in_filter": 1,
diff --git a/accounts/doctype/sales_invoice_item/sales_invoice_item.txt b/accounts/doctype/sales_invoice_item/sales_invoice_item.txt
index b0fd7c7..5fcddee 100644
--- a/accounts/doctype/sales_invoice_item/sales_invoice_item.txt
+++ b/accounts/doctype/sales_invoice_item/sales_invoice_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-06-04 11:02:19",
"docstatus": 0,
- "modified": "2013-07-09 12:46:12",
+ "modified": "2013-07-10 11:57:15",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -83,6 +83,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "qty",
"fieldtype": "Float",
"label": "Quantity",
@@ -181,15 +187,9 @@
},
{
"doctype": "DocField",
- "fieldname": "warehouse",
- "fieldtype": "Link",
- "hidden": 0,
- "label": "Warehouse",
- "oldfieldname": "warehouse",
- "oldfieldtype": "Link",
- "options": "Warehouse",
- "print_hide": 1,
- "read_only": 0
+ "fieldname": "accounting",
+ "fieldtype": "Section Break",
+ "label": "Accounting"
},
{
"doctype": "DocField",
@@ -236,6 +236,24 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
+ "fieldname": "warehouse",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "label": "Warehouse",
+ "oldfieldname": "warehouse",
+ "oldfieldtype": "Link",
+ "options": "Warehouse",
+ "print_hide": 1,
+ "read_only": 0
+ },
+ {
+ "doctype": "DocField",
"fieldname": "serial_no",
"fieldtype": "Small Text",
"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 dac9a7b..92dde5d 100755
--- a/buying/doctype/purchase_order_item/purchase_order_item.txt
+++ b/buying/doctype/purchase_order_item/purchase_order_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-05-24 19:29:06",
"docstatus": 0,
- "modified": "2013-07-09 11:45:00",
+ "modified": "2013-07-10 11:55:03",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -80,6 +80,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "description",
"fieldtype": "Small Text",
"label": "Description",
@@ -195,6 +201,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"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 d4df404..80c97c9 100644
--- a/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt
+++ b/buying/doctype/supplier_quotation_item/supplier_quotation_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-05-22 12:43:10",
"docstatus": 0,
- "modified": "2013-07-09 12:15:15",
+ "modified": "2013-07-10 11:54:21",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -76,6 +76,12 @@
"width": "300px"
},
{
+ "doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
"default": "0.00",
"doctype": "DocField",
"fieldname": "qty",
@@ -180,6 +186,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"hidden": 0,
diff --git a/selling/doctype/opportunity_item/opportunity_item.txt b/selling/doctype/opportunity_item/opportunity_item.txt
index ba7870e..a5e9353 100644
--- a/selling/doctype/opportunity_item/opportunity_item.txt
+++ b/selling/doctype/opportunity_item/opportunity_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:27:51",
"docstatus": 0,
- "modified": "2013-03-07 07:03:26",
+ "modified": "2013-07-10 11:52:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -80,14 +80,9 @@
},
{
"doctype": "DocField",
- "fieldname": "basic_rate",
- "fieldtype": "Currency",
- "hidden": 1,
- "label": "Basic Rate",
- "oldfieldname": "basic_rate",
- "oldfieldtype": "Currency",
- "options": "Company:company:default_currency",
- "print_hide": 1
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
},
{
"doctype": "DocField",
@@ -99,6 +94,17 @@
},
{
"doctype": "DocField",
+ "fieldname": "basic_rate",
+ "fieldtype": "Currency",
+ "hidden": 1,
+ "label": "Basic Rate",
+ "oldfieldname": "basic_rate",
+ "oldfieldtype": "Currency",
+ "options": "Company:company:default_currency",
+ "print_hide": 1
+ },
+ {
+ "doctype": "DocField",
"fieldname": "uom",
"fieldtype": "Link",
"label": "UOM",
diff --git a/selling/doctype/quotation_item/quotation_item.txt b/selling/doctype/quotation_item/quotation_item.txt
index a15166a..145a4e6 100644
--- a/selling/doctype/quotation_item/quotation_item.txt
+++ b/selling/doctype/quotation_item/quotation_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:42:57",
"docstatus": 0,
- "modified": "2013-07-09 12:24:21",
+ "modified": "2013-07-10 11:52:06",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -80,6 +80,12 @@
"width": "300px"
},
{
+ "doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
"default": "0.00",
"doctype": "DocField",
"fieldname": "qty",
@@ -219,6 +225,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "reference",
+ "fieldtype": "Section Break",
+ "label": "Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "item_group",
"fieldtype": "Link",
"hidden": 1,
diff --git a/selling/doctype/sales_order_item/sales_order_item.txt b/selling/doctype/sales_order_item/sales_order_item.txt
index 0d1ca5b..49f4323 100644
--- a/selling/doctype/sales_order_item/sales_order_item.txt
+++ b/selling/doctype/sales_order_item/sales_order_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:42:58",
"docstatus": 0,
- "modified": "2013-07-09 12:28:31",
+ "modified": "2013-07-10 11:41:52",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -77,6 +77,12 @@
"width": "300px"
},
{
+ "doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
"default": "0.00",
"doctype": "DocField",
"fieldname": "qty",
@@ -205,6 +211,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "reserved_warehouse",
"fieldtype": "Link",
"label": "Reserved Warehouse",
diff --git a/stock/doctype/delivery_note_item/delivery_note_item.txt b/stock/doctype/delivery_note_item/delivery_note_item.txt
index ef5a984..7d5e8e0 100644
--- a/stock/doctype/delivery_note_item/delivery_note_item.txt
+++ b/stock/doctype/delivery_note_item/delivery_note_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-04-22 13:15:44",
"docstatus": 0,
- "modified": "2013-07-09 12:42:09",
+ "modified": "2013-07-10 11:50:59",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -83,6 +83,12 @@
"width": "300px"
},
{
+ "doctype": "DocField",
+ "fieldname": "quantity_and_rate",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Rate"
+ },
+ {
"default": "0.00",
"doctype": "DocField",
"fieldname": "qty",
@@ -209,6 +215,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"label": "Warehouse",
diff --git a/stock/doctype/material_request_item/material_request_item.txt b/stock/doctype/material_request_item/material_request_item.txt
index 992b4cf..799be78 100644
--- a/stock/doctype/material_request_item/material_request_item.txt
+++ b/stock/doctype/material_request_item/material_request_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:28:02",
"docstatus": 0,
- "modified": "2013-07-09 11:37:12",
+ "modified": "2013-07-10 11:53:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -66,6 +66,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "quantity_and_warehouse",
+ "fieldtype": "Section Break",
+ "label": "Quantity and Warehouse"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"label": "Warehouse",
diff --git a/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt b/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt
index 186ab3d..59426c6 100755
--- a/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt
+++ b/stock/doctype/purchase_receipt_item/purchase_receipt_item.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-05-24 19:29:10",
"docstatus": 0,
- "modified": "2013-07-09 12:20:50",
+ "modified": "2013-07-10 11:56:05",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -66,6 +66,12 @@
"width": "300px"
},
{
+ "doctype": "DocField",
+ "fieldname": "received_and_accepted",
+ "fieldtype": "Section Break",
+ "label": "Received and Accepted"
+ },
+ {
"default": "0.00",
"doctype": "DocField",
"fieldname": "received_qty",
@@ -122,6 +128,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "rate_and_amount",
+ "fieldtype": "Section Break",
+ "label": "Rate and Amount"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "import_ref_rate",
"fieldtype": "Currency",
"label": "Price List Rate",
@@ -202,6 +214,12 @@
},
{
"doctype": "DocField",
+ "fieldname": "warehouse_and_reference",
+ "fieldtype": "Section Break",
+ "label": "Warehouse and Reference"
+ },
+ {
+ "doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"hidden": 0,