[minor] currency field in list view for item price
diff --git a/erpnext/stock/doctype/item_price/item_price.json b/erpnext/stock/doctype/item_price/item_price.json
index b4e84f1..546723a 100644
--- a/erpnext/stock/doctype/item_price/item_price.json
+++ b/erpnext/stock/doctype/item_price/item_price.json
@@ -1,157 +1,158 @@
{
- "allow_import": 1,
- "autoname": "ITEM-PRICE-.#####",
- "creation": "2013-05-02 16:29:48",
- "description": "Multiple Item prices.",
- "docstatus": 0,
- "doctype": "DocType",
+ "allow_import": 1,
+ "autoname": "ITEM-PRICE-.#####",
+ "creation": "2013-05-02 16:29:48",
+ "description": "Multiple Item prices.",
+ "docstatus": 0,
+ "doctype": "DocType",
"document_type": "Master",
"fields": [
{
- "fieldname": "price_list_details",
- "fieldtype": "Section Break",
- "label": "Price List",
- "options": "icon-tags",
+ "fieldname": "price_list_details",
+ "fieldtype": "Section Break",
+ "label": "Price List",
+ "options": "icon-tags",
"permlevel": 0
- },
+ },
{
- "fieldname": "price_list",
- "fieldtype": "Link",
- "in_filter": 1,
- "in_list_view": 1,
- "label": "Price List",
- "options": "Price List",
- "permlevel": 0,
+ "fieldname": "price_list",
+ "fieldtype": "Link",
+ "in_filter": 1,
+ "in_list_view": 1,
+ "label": "Price List",
+ "options": "Price List",
+ "permlevel": 0,
"reqd": 1
- },
+ },
{
- "fieldname": "buying",
- "fieldtype": "Check",
- "in_list_view": 0,
- "label": "Buying",
- "permlevel": 0,
+ "fieldname": "buying",
+ "fieldtype": "Check",
+ "in_list_view": 0,
+ "label": "Buying",
+ "permlevel": 0,
"read_only": 1
- },
+ },
{
- "fieldname": "selling",
- "fieldtype": "Check",
- "in_list_view": 0,
- "label": "Selling",
- "permlevel": 0,
+ "fieldname": "selling",
+ "fieldtype": "Check",
+ "in_list_view": 0,
+ "label": "Selling",
+ "permlevel": 0,
"read_only": 1
- },
+ },
{
- "fieldname": "item_details",
- "fieldtype": "Section Break",
- "label": "",
- "options": "icon-tag",
+ "fieldname": "item_details",
+ "fieldtype": "Section Break",
+ "label": "",
+ "options": "icon-tag",
"permlevel": 0
- },
+ },
{
- "fieldname": "item_code",
- "fieldtype": "Link",
- "in_filter": 1,
- "in_list_view": 0,
- "label": "Item Code",
- "oldfieldname": "price_list_name",
- "oldfieldtype": "Select",
- "options": "Item",
- "permlevel": 0,
- "reqd": 1,
+ "fieldname": "item_code",
+ "fieldtype": "Link",
+ "in_filter": 1,
+ "in_list_view": 0,
+ "label": "Item Code",
+ "oldfieldname": "price_list_name",
+ "oldfieldtype": "Select",
+ "options": "Item",
+ "permlevel": 0,
+ "reqd": 1,
"search_index": 1
- },
+ },
{
- "fieldname": "price_list_rate",
- "fieldtype": "Currency",
- "in_filter": 1,
- "in_list_view": 1,
- "label": "Rate",
- "oldfieldname": "ref_rate",
- "oldfieldtype": "Currency",
- "options": "currency",
- "permlevel": 0,
- "reqd": 1,
+ "fieldname": "price_list_rate",
+ "fieldtype": "Currency",
+ "in_filter": 1,
+ "in_list_view": 1,
+ "label": "Rate",
+ "oldfieldname": "ref_rate",
+ "oldfieldtype": "Currency",
+ "options": "currency",
+ "permlevel": 0,
+ "reqd": 1,
"search_index": 0
- },
+ },
{
- "fieldname": "currency",
- "fieldtype": "Link",
- "hidden": 0,
- "label": "Currency",
- "options": "Currency",
- "permlevel": 0,
+ "fieldname": "currency",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "in_list_view": 1,
+ "label": "Currency",
+ "options": "Currency",
+ "permlevel": 0,
"read_only": 1
- },
+ },
{
- "fieldname": "col_br_1",
- "fieldtype": "Column Break",
+ "fieldname": "col_br_1",
+ "fieldtype": "Column Break",
"permlevel": 0
- },
+ },
{
- "fieldname": "item_name",
- "fieldtype": "Data",
- "label": "Item Name",
- "permlevel": 0,
+ "fieldname": "item_name",
+ "fieldtype": "Data",
+ "label": "Item Name",
+ "permlevel": 0,
"read_only": 1
- },
+ },
{
- "fieldname": "item_description",
- "fieldtype": "Text",
- "label": "Item Description",
- "permlevel": 0,
+ "fieldname": "item_description",
+ "fieldtype": "Text",
+ "label": "Item Description",
+ "permlevel": 0,
"read_only": 1
- },
+ },
{
- "fieldname": "section_break_12",
- "fieldtype": "Section Break",
- "permlevel": 0,
+ "fieldname": "section_break_12",
+ "fieldtype": "Section Break",
+ "permlevel": 0,
"precision": ""
- },
+ },
{
- "fieldname": "bulk_import_help",
- "fieldtype": "HTML",
- "label": "Bulk Import Help",
- "permlevel": 0,
+ "fieldname": "bulk_import_help",
+ "fieldtype": "HTML",
+ "label": "Bulk Import Help",
+ "permlevel": 0,
"precision": ""
}
- ],
- "icon": "icon-flag",
- "idx": 1,
- "in_create": 0,
- "istable": 0,
- "modified": "2015-05-26 03:15:02.324161",
- "modified_by": "Administrator",
- "module": "Stock",
- "name": "Item Price",
- "owner": "Administrator",
+ ],
+ "icon": "icon-flag",
+ "idx": 1,
+ "in_create": 0,
+ "istable": 0,
+ "modified": "2015-07-29 14:53:58.851413",
+ "modified_by": "Administrator",
+ "module": "Stock",
+ "name": "Item Price",
+ "owner": "Administrator",
"permissions": [
{
- "cancel": 0,
- "create": 1,
- "delete": 1,
- "email": 1,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Sales Master Manager",
- "share": 1,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Sales Master Manager",
+ "share": 1,
"write": 1
- },
+ },
{
- "cancel": 0,
- "create": 1,
- "delete": 1,
- "email": 1,
- "permlevel": 0,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Purchase Master Manager",
- "share": 1,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "Purchase Master Manager",
+ "share": 1,
"write": 1
}
- ],
- "read_only": 0,
+ ],
+ "read_only": 0,
"title_field": "item_code"
-}
\ No newline at end of file
+}