stock uom mandatory for item
This commit is contained in:
		
							parent
							
								
									f2785c9e61
								
							
						
					
					
						commit
						81c6a3beef
					
				| @ -1,8 +1,8 @@ | ||||
| [ | ||||
|  { | ||||
|   "creation": "2013-03-07 15:53:11",  | ||||
|   "creation": "2013-03-28 15:56:38",  | ||||
|   "docstatus": 0,  | ||||
|   "modified": "2013-03-20 15:10:12",  | ||||
|   "modified": "2013-04-23 11:39:22",  | ||||
|   "modified_by": "Administrator",  | ||||
|   "owner": "Administrator" | ||||
|  },  | ||||
| @ -33,6 +33,7 @@ | ||||
|   "parent": "Item",  | ||||
|   "parentfield": "permissions",  | ||||
|   "parenttype": "DocType",  | ||||
|   "permlevel": 0,  | ||||
|   "read": 1,  | ||||
|   "report": 1,  | ||||
|   "submit": 0 | ||||
| @ -47,7 +48,8 @@ | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Item",  | ||||
|   "no_copy": 0,  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "description": "Item will be saved by this name in the data base.",  | ||||
| @ -58,6 +60,7 @@ | ||||
|   "label": "Item Code",  | ||||
|   "oldfieldname": "item_code",  | ||||
|   "oldfieldtype": "Data",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1,  | ||||
|   "search_index": 0 | ||||
|  },  | ||||
| @ -70,6 +73,7 @@ | ||||
|   "label": "Item Name",  | ||||
|   "oldfieldname": "item_name",  | ||||
|   "oldfieldtype": "Data",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1,  | ||||
|   "search_index": 1 | ||||
|  },  | ||||
| @ -83,6 +87,7 @@ | ||||
|   "oldfieldname": "item_group",  | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "Item Group",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -94,7 +99,8 @@ | ||||
|   "oldfieldname": "stock_uom",  | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "UOM",  | ||||
|   "reqd": 0 | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
| @ -106,25 +112,29 @@ | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "Brand",  | ||||
|   "print_hide": 1,  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "barcode",  | ||||
|   "fieldtype": "Data",  | ||||
|   "label": "Barcode" | ||||
|   "label": "Barcode",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "column_break0",  | ||||
|   "fieldtype": "Column Break" | ||||
|   "fieldtype": "Column Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "image",  | ||||
|   "fieldtype": "Select",  | ||||
|   "label": "Image",  | ||||
|   "options": "attach_files:" | ||||
|   "options": "attach_files:",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
| @ -132,7 +142,8 @@ | ||||
|   "fieldtype": "Image",  | ||||
|   "in_list_view": 1,  | ||||
|   "label": "Image View",  | ||||
|   "options": "image" | ||||
|   "options": "image",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
| @ -143,6 +154,7 @@ | ||||
|   "label": "Description",  | ||||
|   "oldfieldname": "description",  | ||||
|   "oldfieldtype": "Text",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1,  | ||||
|   "search_index": 0 | ||||
|  },  | ||||
| @ -150,21 +162,24 @@ | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "description_html",  | ||||
|   "fieldtype": "Small Text",  | ||||
|   "label": "Description HTML" | ||||
|   "label": "Description HTML",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "description": "Generates HTML to include selected image in the description",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "add_image",  | ||||
|   "fieldtype": "Button",  | ||||
|   "label": "Generate Description HTML" | ||||
|   "label": "Generate Description HTML",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "inventory",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Inventory",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "Yes",  | ||||
| @ -176,6 +191,7 @@ | ||||
|   "oldfieldname": "is_stock_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -187,7 +203,8 @@ | ||||
|   "label": "Default Reserved Warehouse",  | ||||
|   "oldfieldname": "default_warehouse",  | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "Warehouse" | ||||
|   "options": "Warehouse",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -197,7 +214,8 @@ | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Allowance Percent",  | ||||
|   "oldfieldname": "tolerance",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -205,7 +223,8 @@ | ||||
|   "fieldname": "valuation_method",  | ||||
|   "fieldtype": "Select",  | ||||
|   "label": "Valuation Method",  | ||||
|   "options": "\nFIFO\nMoving Average" | ||||
|   "options": "\nFIFO\nMoving Average",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "0.00",  | ||||
| @ -217,7 +236,8 @@ | ||||
|   "hidden": 0,  | ||||
|   "label": "Minimum Order Qty",  | ||||
|   "oldfieldname": "min_order_qty",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -225,6 +245,7 @@ | ||||
|   "fieldname": "column_break1",  | ||||
|   "fieldtype": "Column Break",  | ||||
|   "oldfieldtype": "Column Break",  | ||||
|   "read_only": 0,  | ||||
|   "width": "50%" | ||||
|  },  | ||||
|  { | ||||
| @ -238,6 +259,7 @@ | ||||
|   "oldfieldname": "is_asset_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -250,6 +272,7 @@ | ||||
|   "oldfieldname": "has_batch_no",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -264,6 +287,7 @@ | ||||
|   "oldfieldname": "has_serial_no",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -273,7 +297,8 @@ | ||||
|   "fieldtype": "Data",  | ||||
|   "label": "Warranty Period (in days)",  | ||||
|   "oldfieldname": "warranty_period",  | ||||
|   "oldfieldtype": "Data" | ||||
|   "oldfieldtype": "Data",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -282,7 +307,8 @@ | ||||
|   "fieldtype": "Date",  | ||||
|   "label": "End of Life",  | ||||
|   "oldfieldname": "end_of_life",  | ||||
|   "oldfieldtype": "Date" | ||||
|   "oldfieldtype": "Date",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -290,7 +316,8 @@ | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "net_weight",  | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Net Weight" | ||||
|   "label": "Net Weight",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -298,14 +325,16 @@ | ||||
|   "fieldname": "weight_uom",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Weight UOM",  | ||||
|   "options": "UOM" | ||||
|   "options": "UOM",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "description": "Auto-raise Material Request if quantity goes below re-order level in a warehouse",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "reorder_section",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Re-order" | ||||
|   "label": "Re-order",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -314,19 +343,22 @@ | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Re-Order Level",  | ||||
|   "oldfieldname": "re_order_level",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "re_order_qty",  | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Re-Order Qty" | ||||
|   "label": "Re-Order Qty",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "column_break_31",  | ||||
|   "fieldtype": "Column Break" | ||||
|   "fieldtype": "Column Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_stock_item==\"Yes\"",  | ||||
| @ -334,27 +366,31 @@ | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "email_notify",  | ||||
|   "fieldtype": "Check",  | ||||
|   "label": "Notify by Email on Re-order" | ||||
|   "label": "Notify by Email on Re-order",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "section_break_31",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "options": "Simple" | ||||
|   "options": "Simple",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "item_reorder",  | ||||
|   "fieldtype": "Table",  | ||||
|   "label": "Warehouse-wise Item Reorder",  | ||||
|   "options": "Item Reorder" | ||||
|   "options": "Item Reorder",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "purchase_details",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Purchase Details",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "Yes",  | ||||
| @ -366,6 +402,7 @@ | ||||
|   "oldfieldname": "is_purchase_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -377,7 +414,8 @@ | ||||
|   "label": "Lead Time Days",  | ||||
|   "no_copy": 1,  | ||||
|   "oldfieldname": "lead_time_days",  | ||||
|   "oldfieldtype": "Int" | ||||
|   "oldfieldtype": "Int",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
| @ -388,7 +426,8 @@ | ||||
|   "label": "Default Expense Account",  | ||||
|   "oldfieldname": "purchase_account",  | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "Account" | ||||
|   "options": "Account",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
| @ -399,7 +438,8 @@ | ||||
|   "label": "Default Cost Center",  | ||||
|   "oldfieldname": "cost_center",  | ||||
|   "oldfieldtype": "Link",  | ||||
|   "options": "Cost Center" | ||||
|   "options": "Cost Center",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
| @ -419,7 +459,8 @@ | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Standard Rate",  | ||||
|   "oldfieldname": "standard_rate",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
| @ -427,6 +468,7 @@ | ||||
|   "fieldname": "column_break2",  | ||||
|   "fieldtype": "Column Break",  | ||||
|   "oldfieldtype": "Column Break",  | ||||
|   "read_only": 0,  | ||||
|   "width": "50%" | ||||
|  },  | ||||
|  { | ||||
| @ -438,21 +480,24 @@ | ||||
|   "no_copy": 1,  | ||||
|   "oldfieldname": "uom_conversion_details",  | ||||
|   "oldfieldtype": "Table",  | ||||
|   "options": "UOM Conversion Detail" | ||||
|   "options": "UOM Conversion Detail",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "manufacturer",  | ||||
|   "fieldtype": "Data",  | ||||
|   "label": "Manufacturer" | ||||
|   "label": "Manufacturer",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "manufacturer_part_no",  | ||||
|   "fieldtype": "Data",  | ||||
|   "label": "Manufacturer Part Number" | ||||
|   "label": "Manufacturer Part Number",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_purchase_item==\"Yes\"",  | ||||
| @ -460,14 +505,16 @@ | ||||
|   "fieldname": "item_supplier_details",  | ||||
|   "fieldtype": "Table",  | ||||
|   "label": "Item Supplier Details",  | ||||
|   "options": "Item Supplier" | ||||
|   "options": "Item Supplier",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "sales_details",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Sales Details",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "Yes",  | ||||
| @ -480,6 +527,7 @@ | ||||
|   "oldfieldname": "is_sales_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -494,6 +542,7 @@ | ||||
|   "oldfieldname": "is_service_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -507,6 +556,7 @@ | ||||
|   "oldfieldname": "is_sample_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -516,7 +566,8 @@ | ||||
|   "fieldtype": "Float",  | ||||
|   "label": "Max Discount (%)",  | ||||
|   "oldfieldname": "max_discount",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_sales_item==\"Yes\"",  | ||||
| @ -524,7 +575,8 @@ | ||||
|   "fieldname": "default_income_account",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Default Income Account",  | ||||
|   "options": "Account" | ||||
|   "options": "Account",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_sales_item==\"Yes\"",  | ||||
| @ -532,7 +584,8 @@ | ||||
|   "fieldname": "default_sales_cost_center",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Cost Center",  | ||||
|   "options": "Cost Center" | ||||
|   "options": "Cost Center",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_sales_item==\"Yes\"",  | ||||
| @ -542,7 +595,8 @@ | ||||
|   "hidden": 1,  | ||||
|   "label": "Sales Rate",  | ||||
|   "oldfieldname": "sales_rate",  | ||||
|   "oldfieldtype": "Currency" | ||||
|   "oldfieldtype": "Currency",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "eval:doc.is_sales_item==\"Yes\"",  | ||||
| @ -550,6 +604,7 @@ | ||||
|   "fieldname": "column_break3",  | ||||
|   "fieldtype": "Column Break",  | ||||
|   "oldfieldtype": "Column Break",  | ||||
|   "read_only": 0,  | ||||
|   "width": "50%" | ||||
|  },  | ||||
|  { | ||||
| @ -559,14 +614,16 @@ | ||||
|   "fieldname": "item_customer_details",  | ||||
|   "fieldtype": "Table",  | ||||
|   "label": "Customer Codes",  | ||||
|   "options": "Item Customer Detail" | ||||
|   "options": "Item Customer Detail",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "item_tax_section_break",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Item Tax",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
| @ -575,13 +632,15 @@ | ||||
|   "label": "Item Tax1",  | ||||
|   "oldfieldname": "item_tax",  | ||||
|   "oldfieldtype": "Table",  | ||||
|   "options": "Item Tax" | ||||
|   "options": "Item Tax",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "price_list_section",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Price Lists and Rates" | ||||
|   "label": "Price Lists and Rates",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "description": "Create a price list from Price List master and enter standard ref rates against each of them. On selection of a price list in Quotation, Sales Order or Delivery Note, corresponding ref rate will be fetched for this item.",  | ||||
| @ -591,14 +650,16 @@ | ||||
|   "label": "Item Prices",  | ||||
|   "oldfieldname": "ref_rate_details",  | ||||
|   "oldfieldtype": "Table",  | ||||
|   "options": "Item Price" | ||||
|   "options": "Item Price",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "inspection_criteria",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Inspection Criteria",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "No",  | ||||
| @ -610,6 +671,7 @@ | ||||
|   "oldfieldname": "inspection_required",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -621,14 +683,16 @@ | ||||
|   "label": "Item Quality Inspection Parameter",  | ||||
|   "oldfieldname": "item_specification_details",  | ||||
|   "oldfieldtype": "Table",  | ||||
|   "options": "Item Quality Inspection Parameter" | ||||
|   "options": "Item Quality Inspection Parameter",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "manufacturing",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Manufacturing",  | ||||
|   "oldfieldtype": "Section Break" | ||||
|   "oldfieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "default": "No",  | ||||
| @ -640,6 +704,7 @@ | ||||
|   "oldfieldname": "is_manufactured_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -665,6 +730,7 @@ | ||||
|   "oldfieldname": "is_pro_applicable",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -677,6 +743,7 @@ | ||||
|   "oldfieldname": "is_sub_contracted_item",  | ||||
|   "oldfieldtype": "Select",  | ||||
|   "options": "\nYes\nNo",  | ||||
|   "read_only": 0,  | ||||
|   "reqd": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -686,7 +753,8 @@ | ||||
|   "hidden": 1,  | ||||
|   "label": "File List",  | ||||
|   "no_copy": 1,  | ||||
|   "print_hide": 1 | ||||
|   "print_hide": 1,  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
| @ -696,19 +764,22 @@ | ||||
|   "in_filter": 1,  | ||||
|   "label": "Customer Code",  | ||||
|   "no_copy": 1,  | ||||
|   "print_hide": 1 | ||||
|   "print_hide": 1,  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "website_section",  | ||||
|   "fieldtype": "Section Break",  | ||||
|   "label": "Website" | ||||
|   "label": "Website",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "show_in_website",  | ||||
|   "fieldtype": "Check",  | ||||
|   "label": "Show in Website" | ||||
|   "label": "Show in Website",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -726,6 +797,7 @@ | ||||
|   "fieldname": "weightage",  | ||||
|   "fieldtype": "Int",  | ||||
|   "label": "Weightage",  | ||||
|   "read_only": 0,  | ||||
|   "search_index": 1 | ||||
|  },  | ||||
|  { | ||||
| @ -735,7 +807,8 @@ | ||||
|   "fieldname": "slideshow",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Slideshow",  | ||||
|   "options": "Website Slideshow" | ||||
|   "options": "Website Slideshow",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -744,12 +817,14 @@ | ||||
|   "fieldname": "website_image",  | ||||
|   "fieldtype": "Select",  | ||||
|   "label": "Image",  | ||||
|   "options": "attach_files:" | ||||
|   "options": "attach_files:",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "cb72",  | ||||
|   "fieldtype": "Column Break" | ||||
|   "fieldtype": "Column Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -758,7 +833,8 @@ | ||||
|   "fieldname": "website_price_list",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Website Price List",  | ||||
|   "options": "Price List" | ||||
|   "options": "Price List",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -767,7 +843,8 @@ | ||||
|   "fieldname": "website_warehouse",  | ||||
|   "fieldtype": "Link",  | ||||
|   "label": "Website Warehouse",  | ||||
|   "options": "Warehouse" | ||||
|   "options": "Warehouse",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -776,19 +853,22 @@ | ||||
|   "fieldname": "website_item_groups",  | ||||
|   "fieldtype": "Table",  | ||||
|   "label": "Website Item Groups",  | ||||
|   "options": "Website Item Group" | ||||
|   "options": "Website Item Group",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "sb72",  | ||||
|   "fieldtype": "Section Break" | ||||
|   "fieldtype": "Section Break",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "copy_from_item_group",  | ||||
|   "fieldtype": "Button",  | ||||
|   "label": "Copy From Item Group" | ||||
|   "label": "Copy From Item Group",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
| @ -796,37 +876,21 @@ | ||||
|   "fieldname": "item_website_specifications",  | ||||
|   "fieldtype": "Table",  | ||||
|   "label": "Item Website Specifications",  | ||||
|   "options": "Item Website Specification" | ||||
|   "options": "Item Website Specification",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "depends_on": "show_in_website",  | ||||
|   "doctype": "DocField",  | ||||
|   "fieldname": "web_long_description",  | ||||
|   "fieldtype": "Text Editor",  | ||||
|   "label": "Website Description" | ||||
|   "label": "Website Description",  | ||||
|   "read_only": 0 | ||||
|  },  | ||||
|  { | ||||
|   "cancel": 1,  | ||||
|   "create": 1,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 0,  | ||||
|   "role": "System Manager",  | ||||
|   "write": 1 | ||||
|  },  | ||||
|  { | ||||
|   "amend": 0,  | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 1,  | ||||
|   "role": "Material Master Manager",  | ||||
|   "write": 0 | ||||
|  },  | ||||
|  { | ||||
|   "cancel": 1,  | ||||
|   "create": 1,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 0,  | ||||
|   "role": "Material Master Manager",  | ||||
|   "write": 1 | ||||
|  },  | ||||
| @ -835,15 +899,6 @@ | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 1,  | ||||
|   "role": "System Manager" | ||||
|  },  | ||||
|  { | ||||
|   "amend": 0,  | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 1,  | ||||
|   "role": "Material Manager",  | ||||
|   "write": 0 | ||||
|  },  | ||||
| @ -852,25 +907,6 @@ | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 0,  | ||||
|   "role": "Material Manager",  | ||||
|   "write": 0 | ||||
|  },  | ||||
|  { | ||||
|   "amend": 0,  | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 1,  | ||||
|   "role": "Material User",  | ||||
|   "write": 0 | ||||
|  },  | ||||
|  { | ||||
|   "amend": 0,  | ||||
|   "cancel": 0,  | ||||
|   "create": 0,  | ||||
|   "doctype": "DocPerm",  | ||||
|   "permlevel": 0,  | ||||
|   "role": "Material User",  | ||||
|   "write": 0 | ||||
|  } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user