Merge pull request #1677 from rmehta/develop

Added title_field and added ignore_permission while creating Event from Lead
This commit is contained in:
Rushabh Mehta 2014-05-22 11:23:03 +05:30
commit 0f5601dad4
4 changed files with 10 additions and 7 deletions

View File

@ -672,7 +672,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-05-09 02:16:47.217445",
"modified": "2014-05-21 07:49:56.180832",
"modified_by": "Administrator",
"module": "HR",
"name": "Employee",
@ -732,5 +732,6 @@
],
"search_fields": "employee_name",
"sort_field": "modified",
"sort_order": "DESC"
"sort_order": "DESC",
"title_field": "employee_name"
}

View File

@ -362,7 +362,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-05-09 02:16:40.769432",
"modified": "2014-05-21 06:25:53.613765",
"modified_by": "Administrator",
"module": "Selling",
"name": "Lead",
@ -399,5 +399,6 @@
],
"search_fields": "lead_name,lead_owner,status",
"sort_field": "modified",
"sort_order": "DESC"
"sort_order": "DESC",
"title_field": "lead_name"
}

View File

@ -237,7 +237,7 @@
],
"icon": "icon-ticket",
"idx": 1,
"modified": "2014-05-06 08:20:28.842404",
"modified": "2014-05-21 06:15:26.988620",
"modified_by": "Administrator",
"module": "Support",
"name": "Support Ticket",
@ -286,5 +286,6 @@
"write": 1
}
],
"search_fields": "status,customer,allocated_to,subject,raised_by"
"search_fields": "status,customer,allocated_to,subject,raised_by",
"title_field": "subject"
}

View File

@ -53,7 +53,7 @@ class TransactionBase(StatusUpdater):
"person": self.contact_by
})
event_doclist.insert()
event_doclist.insert(ignore_permissions=True)
def validate_uom_is_integer(self, uom_field, qty_fields):
validate_uom_is_integer(self, uom_field, qty_fields)