parent
f25789bbfc
commit
f1274a2a72
|
@ -27,8 +27,8 @@
|
|||
* IMAP / IMAP with SSL
|
||||
* POP / POP with SSL
|
||||
* SMTP / SMTP with TLS
|
||||
* ACL basd access polocy
|
||||
* Queing and History for Emails
|
||||
* ACL based access policy
|
||||
* Queueing and History for Emails
|
||||
* Easy Integration with any Module""",
|
||||
'author': 'Tiny',
|
||||
'website': 'http://www.openerp.com',
|
||||
|
|
|
@ -30,7 +30,7 @@ class one2many_domain(fields.one2many):
|
|||
user=user, context=context)
|
||||
|
||||
def get(self, cr, obj, ids, name, user=None, offset=0, context=None, values=None):
|
||||
if not context:
|
||||
if context is None:
|
||||
context = {}
|
||||
res = {}
|
||||
msg_obj = obj.pool.get('mailgate.message')
|
||||
|
@ -65,7 +65,7 @@ class mailgate_thread(osv.osv):
|
|||
@param email: Email address if any
|
||||
@param details: Details of case history if any
|
||||
@param context: A standard dictionary for contextual values"""
|
||||
if not context:
|
||||
if context is None:
|
||||
context = {}
|
||||
# The mailgate sends the ids of the cases and not the object list
|
||||
if all(isinstance(case_id, (int, long)) for case_id in cases) and context.get('model'):
|
||||
|
|
Loading…
Reference in New Issue