mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
[form] [usability] change z-index only if in form
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-01-28 17:07:01",
|
"creation": "2013-01-28 17:07:01",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-03-26 13:07:11",
|
"modified": "2013-03-26 14:05:01",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@@ -117,6 +117,18 @@
|
|||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"search_index": 0
|
"search_index": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"depends_on": "eval:doc.source == 'Customer'",
|
||||||
|
"description": "Source of th",
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "customer",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "From Customer",
|
||||||
|
"oldfieldname": "customer",
|
||||||
|
"oldfieldtype": "Link",
|
||||||
|
"options": "Customer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval:doc.source == 'Campaign'",
|
"depends_on": "eval:doc.source == 'Campaign'",
|
||||||
"description": "Enter campaign name if the source of lead is campaign.",
|
"description": "Enter campaign name if the source of lead is campaign.",
|
||||||
@@ -145,37 +157,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "sb8",
|
"fieldname": "contact_info",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
"label": "Lead Details"
|
"label": "Contact Info",
|
||||||
},
|
"oldfieldtype": "Column Break"
|
||||||
{
|
|
||||||
"depends_on": "eval:doc.source == 'Existing Customer'",
|
|
||||||
"description": "Source of th",
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "customer",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"hidden": 0,
|
|
||||||
"label": "From Customer",
|
|
||||||
"oldfieldname": "customer",
|
|
||||||
"oldfieldtype": "Link",
|
|
||||||
"options": "Customer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "column_break1",
|
|
||||||
"fieldtype": "Column Break",
|
|
||||||
"width": "50%"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "type",
|
|
||||||
"fieldtype": "Select",
|
|
||||||
"in_filter": 1,
|
|
||||||
"label": "Lead Type",
|
|
||||||
"oldfieldname": "type",
|
|
||||||
"oldfieldtype": "Select",
|
|
||||||
"options": "\nClient\nChannel Partner\nConsultant"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
@@ -185,13 +170,6 @@
|
|||||||
"oldfieldname": "remark",
|
"oldfieldname": "remark",
|
||||||
"oldfieldtype": "Text"
|
"oldfieldtype": "Text"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "contact_info",
|
|
||||||
"fieldtype": "Section Break",
|
|
||||||
"label": "Contact Info",
|
|
||||||
"oldfieldtype": "Column Break"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "phone",
|
"fieldname": "phone",
|
||||||
@@ -307,6 +285,16 @@
|
|||||||
"label": "More Info",
|
"label": "More Info",
|
||||||
"oldfieldtype": "Section Break"
|
"oldfieldtype": "Section Break"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "type",
|
||||||
|
"fieldtype": "Select",
|
||||||
|
"in_filter": 1,
|
||||||
|
"label": "Lead Type",
|
||||||
|
"oldfieldname": "type",
|
||||||
|
"oldfieldtype": "Select",
|
||||||
|
"options": "\nClient\nChannel Partner\nConsultant"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"default": "__user",
|
"default": "__user",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
|
|||||||
Reference in New Issue
Block a user