[FIX] mail_compose_message: keep empty domains

bzr revid: tde@openerp.com-20130726104342-8o5s2k85d7sjuwoy
This commit is contained in:
Thibault Delavallée 2013-07-26 12:43:42 +02:00
parent d83c7aeccc
commit fa7fc1277b
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class mail_compose_message(osv.TransientModel):
res_id = context.get('default_res_id', context.get('active_id'))
message_id = context.get('default_parent_id', context.get('message_id', context.get('active_id')))
active_ids = context.get('active_ids')
if context.get('active_domain'):
if 'active_domain' in context: # not context.get() because we want to keep global [] domains
result['use_active_domain'] = True
result['active_domain'] = '%s' % context.get('active_domain')
else: