[FIX]base:fix the issue convert to quote is not working via Scheduled Calls
lp bug: https://launchpad.net/bugs/1017353 fixed bzr revid: mma@tinyerp.com-20120625065109-5ciy82syodgtbcg9
This commit is contained in:
parent
0a22debf5f
commit
4a8e00cac7
|
@ -64,6 +64,8 @@ class crm_make_sale(osv.osv_memory):
|
|||
"""
|
||||
if context is None:
|
||||
context = {}
|
||||
# update context: if come from phonecall, default state values can make the quote crash lp:1017353
|
||||
context.pop('default_state', False)
|
||||
|
||||
case_obj = self.pool.get('crm.lead')
|
||||
sale_obj = self.pool.get('sale.order')
|
||||
|
|
Loading…
Reference in New Issue