Merge pull request #3619 from neilLasrado/contact

Allowed same contact to be Linked to Customer AND Supplier AND Sales …
This commit is contained in:
Nabin Hait 2015-07-09 18:52:22 +05:30
commit 03b42a7934

View File

@ -75,7 +75,7 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"depends_on": "eval:!doc.supplier && !doc.sales_partner", "depends_on": "",
"fieldname": "customer", "fieldname": "customer",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Customer", "label": "Customer",
@ -86,7 +86,7 @@
"print_hide": 0 "print_hide": 0
}, },
{ {
"depends_on": "eval:!doc.supplier && !doc.sales_partner", "depends_on": "",
"fieldname": "customer_name", "fieldname": "customer_name",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 0, "in_list_view": 0,
@ -102,7 +102,7 @@
"width": "50%" "width": "50%"
}, },
{ {
"depends_on": "eval:!doc.customer && !doc.sales_partner", "depends_on": "",
"fieldname": "supplier", "fieldname": "supplier",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Supplier", "label": "Supplier",
@ -111,7 +111,7 @@
}, },
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"depends_on": "eval:!doc.customer && !doc.sales_partner", "depends_on": "",
"fieldname": "supplier_name", "fieldname": "supplier_name",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 0, "in_list_view": 0,
@ -120,7 +120,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.customer && !doc.supplier", "depends_on": "",
"fieldname": "sales_partner", "fieldname": "sales_partner",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Sales Partner", "label": "Sales Partner",
@ -177,7 +177,7 @@
"idx": 1, "idx": 1,
"in_create": 0, "in_create": 0,
"in_dialog": 0, "in_dialog": 0,
"modified": "2015-03-18 07:06:43.906702", "modified": "2015-07-09 08:15:29.026935",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Utilities", "module": "Utilities",
"name": "Contact", "name": "Contact",