more fixes to perms, floats and default enabled / disabled in search

This commit is contained in:
Rushabh Mehta
2013-01-23 10:09:28 +05:30
parent efe8102351
commit 6382a42dbe
25 changed files with 330 additions and 290 deletions

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-01-10 16:34:25",
"docstatus": 0,
"modified": "2013-01-22 14:56:00",
"modified": "2013-01-22 16:54:48",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -328,9 +328,9 @@
"description": "Select the currency in which price list is maintained",
"doctype": "DocField",
"fieldname": "price_list_currency",
"fieldtype": "Select",
"fieldtype": "Link",
"label": "Price List Currency",
"options": "link:Currency",
"options": "Currency",
"print_hide": 1,
"read_only": 0,
"reqd": 1
@@ -357,11 +357,11 @@
"description": "Customer's Currency",
"doctype": "DocField",
"fieldname": "currency",
"fieldtype": "Select",
"fieldtype": "Link",
"label": "Currency",
"oldfieldname": "currency",
"oldfieldtype": "Select",
"options": "link:Currency",
"options": "Currency",
"print_hide": 1,
"read_only": 0,
"reqd": 1

View File

@@ -1,79 +1,79 @@
[
{
"owner": "Administrator",
"creation": "2013-01-21 18:19:14",
"docstatus": 0,
"creation": "2013-01-15 18:43:18",
"modified": "2013-01-22 16:54:49",
"modified_by": "Administrator",
"modified": "2013-01-17 17:53:42"
"owner": "Administrator"
},
{
"read_only": 0,
"istable": 1,
"autoname": "RFD/.#####",
"in_create": 1,
"doctype": "DocType",
"in_create": 1,
"istable": 1,
"module": "Stock",
"name": "__common__"
"name": "__common__",
"read_only": 0
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Item Price",
"doctype": "DocField",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
"permlevel": 0
},
{
"name": "Item Price",
"doctype": "DocType"
"doctype": "DocType",
"name": "Item Price"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Price List Name",
"oldfieldname": "price_list_name",
"fieldname": "price_list_name",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"label": "Price List Name",
"oldfieldname": "price_list_name",
"oldfieldtype": "Select",
"options": "Price List",
"in_filter": 1
"reqd": 1,
"search_index": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Ref Rate",
"oldfieldname": "ref_rate",
"fieldname": "ref_rate",
"fieldtype": "Currency",
"search_index": 0,
"in_filter": 1,
"label": "Ref Rate",
"oldfieldname": "ref_rate",
"oldfieldtype": "Currency",
"reqd": 0,
"in_filter": 1
"search_index": 0
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"fieldname": "ref_currency",
"fieldtype": "Link",
"in_filter": 1,
"label": "Currency",
"oldfieldname": "ref_currency",
"fieldname": "ref_currency",
"fieldtype": "Select",
"search_index": 1,
"oldfieldtype": "Select",
"options": "Currency",
"reqd": 1,
"options": "link:Currency",
"in_filter": 1
"search_index": 1
},
{
"description": "Allow this price in sales related forms",
"doctype": "DocField",
"label": "For Selling",
"fieldname": "selling",
"fieldtype": "Check"
"fieldtype": "Check",
"label": "For Selling"
},
{
"description": "Allow this price in purchase related forms",
"doctype": "DocField",
"label": "For Buying",
"fieldname": "buying",
"fieldtype": "Check"
"fieldtype": "Check",
"label": "For Buying"
}
]

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-01-10 16:34:28",
"docstatus": 0,
"modified": "2013-01-22 14:56:03",
"modified": "2013-01-22 16:54:49",
"modified_by": "Administrator",
"owner": "wasim@webnotestech.com"
},
@@ -67,9 +67,9 @@
{
"doctype": "DocField",
"fieldname": "currency",
"fieldtype": "Select",
"fieldtype": "Link",
"label": "Currency",
"options": "link:Currency",
"options": "Currency",
"reqd": 1
},
{

View File

@@ -1,8 +1,8 @@
[
{
"creation": "2013-01-21 18:19:24",
"creation": "2013-01-22 15:24:18",
"docstatus": 0,
"modified": "2013-01-22 14:56:43",
"modified": "2013-01-22 16:55:22",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -267,11 +267,11 @@
"description": "Supplier's currency",
"doctype": "DocField",
"fieldname": "currency",
"fieldtype": "Select",
"fieldtype": "Link",
"label": "Currency",
"oldfieldname": "currency",
"oldfieldtype": "Select",
"options": "link:Currency",
"options": "Currency",
"print_hide": 1,
"reqd": 1
},