fixes in child perms related to production planning tool

This commit is contained in:
Anand Doshi
2012-12-24 19:40:03 +05:30
parent b9314da054
commit 3382aee301
2 changed files with 23 additions and 27 deletions

View File

@@ -2,9 +2,9 @@
{ {
"owner": "Administrator", "owner": "Administrator",
"docstatus": 0, "docstatus": 0,
"creation": "2012-07-03 13:30:04", "creation": "2012-12-20 18:14:55",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-12-10 18:30:00" "modified": "2012-12-24 19:37:34"
}, },
{ {
"istable": 1, "istable": 1,
@@ -18,6 +18,7 @@
"parent": "Production Plan Item", "parent": "Production Plan Item",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields" "parentfield": "fields"
}, },
{ {
@@ -25,14 +26,11 @@
"doctype": "DocType" "doctype": "DocType"
}, },
{ {
"permlevel": 0,
"oldfieldtype": "Link", "oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Item Code", "label": "Item Code",
"oldfieldname": "item_code", "oldfieldname": "item_code",
"width": "150px", "width": "150px",
"trigger": "Client",
"fieldname": "item_code", "fieldname": "item_code",
"fieldtype": "Link", "fieldtype": "Link",
"reqd": 1, "reqd": 1,
@@ -44,11 +42,10 @@
"label": "BOM No", "label": "BOM No",
"oldfieldname": "bom_no", "oldfieldname": "bom_no",
"width": "100px", "width": "100px",
"options": "BOM",
"fieldname": "bom_no", "fieldname": "bom_no",
"fieldtype": "Link", "fieldtype": "Link",
"reqd": 1, "reqd": 1,
"permlevel": 0 "options": "BOM"
}, },
{ {
"default": "0.00", "default": "0.00",
@@ -59,20 +56,20 @@
"width": "100px", "width": "100px",
"fieldname": "planned_qty", "fieldname": "planned_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"reqd": 1, "reqd": 1
"permlevel": 0
}, },
{ {
"read_only": 1,
"oldfieldtype": "Data", "oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Sales Order", "label": "Sales Order",
"oldfieldname": "source_docname", "oldfieldname": "source_docname",
"options": "Sales Order",
"fieldname": "sales_order", "fieldname": "sales_order",
"fieldtype": "Link", "fieldtype": "Link",
"permlevel": 1 "options": "Sales Order"
}, },
{ {
"read_only": 1,
"default": "0.00", "default": "0.00",
"oldfieldtype": "Currency", "oldfieldtype": "Currency",
"doctype": "DocField", "doctype": "DocField",
@@ -81,10 +78,10 @@
"width": "100px", "width": "100px",
"fieldname": "so_pending_qty", "fieldname": "so_pending_qty",
"fieldtype": "Currency", "fieldtype": "Currency",
"reqd": 0, "reqd": 0
"permlevel": 1
}, },
{ {
"read_only": 1,
"oldfieldtype": "Data", "oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "UOM", "label": "UOM",
@@ -92,17 +89,16 @@
"width": "80px", "width": "80px",
"fieldname": "stock_uom", "fieldname": "stock_uom",
"fieldtype": "Data", "fieldtype": "Data",
"reqd": 1, "reqd": 1
"permlevel": 1
}, },
{ {
"read_only": 1,
"oldfieldtype": "Text", "oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"label": "Description", "label": "Description",
"oldfieldname": "description", "oldfieldname": "description",
"width": "200px", "width": "200px",
"fieldname": "description", "fieldname": "description",
"fieldtype": "Text", "fieldtype": "Text"
"permlevel": 1
} }
] ]

View File

@@ -2,9 +2,9 @@
{ {
"owner": "Administrator", "owner": "Administrator",
"docstatus": 0, "docstatus": 0,
"creation": "2012-07-03 13:30:04", "creation": "2012-12-20 18:14:56",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-12-10 18:30:00" "modified": "2012-12-24 19:38:10"
}, },
{ {
"istable": 1, "istable": 1,
@@ -18,6 +18,7 @@
"parent": "Production Plan Sales Order", "parent": "Production Plan Sales Order",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields" "parentfield": "fields"
}, },
{ {
@@ -39,37 +40,36 @@
"label": "Sales Order", "label": "Sales Order",
"oldfieldname": "prevdoc_docname", "oldfieldname": "prevdoc_docname",
"width": "150px", "width": "150px",
"options": "Sales Order",
"fieldname": "sales_order", "fieldname": "sales_order",
"fieldtype": "Link", "fieldtype": "Link",
"permlevel": 0 "options": "Sales Order"
}, },
{ {
"read_only": 1,
"oldfieldtype": "Date", "oldfieldtype": "Date",
"doctype": "DocField", "doctype": "DocField",
"label": "SO Date", "label": "SO Date",
"oldfieldname": "document_date", "oldfieldname": "document_date",
"width": "120px", "width": "120px",
"fieldname": "sales_order_date", "fieldname": "sales_order_date",
"fieldtype": "Date", "fieldtype": "Date"
"permlevel": 1
}, },
{ {
"read_only": 1,
"doctype": "DocField", "doctype": "DocField",
"label": "Customer", "label": "Customer",
"width": "150px", "width": "150px",
"options": "Customer",
"fieldname": "customer", "fieldname": "customer",
"fieldtype": "Link", "fieldtype": "Link",
"permlevel": 1 "options": "Customer"
}, },
{ {
"read_only": 1,
"doctype": "DocField", "doctype": "DocField",
"label": "Grand Total", "label": "Grand Total",
"width": "120px", "width": "120px",
"fieldname": "grand_total", "fieldname": "grand_total",
"fieldtype": "Currency", "fieldtype": "Currency"
"permlevel": 1
}, },
{ {
"write": 1, "write": 1,