crm message_update check for priority
bzr revid: al@openerp.com-20100826153121-krc4wfmbefhyvnp1
This commit is contained in:
parent
0886361cc3
commit
7f53a6c8d5
|
@ -344,7 +344,7 @@ class crm_lead(crm_case, osv.osv):
|
|||
if isinstance(ids, (str, int, long)):
|
||||
ids = [ids]
|
||||
|
||||
if msg.get('priority'):
|
||||
if msg.get('priority') in dict(crm.AVAILABLE_PRIORITIES):
|
||||
vals['priority'] = msg.get('priority')
|
||||
|
||||
maps = {
|
||||
|
|
Loading…
Reference in New Issue