Skip to content
Snippets Groups Projects
Commit de9654de authored by Jonathan Nemry's avatar Jonathan Nemry Committed by Martin Trigaux
Browse files

[FIX] website_mail: default could be None

parent ddaac15f
No related branches found
No related tags found
No related merge requests found
......@@ -37,5 +37,7 @@ class MailThread(osv.AbstractModel):
}
def copy(self, cr, uid, id, default=None, context=None):
if default is None:
default = {}
default['website_message_ids'] = []
return super(MailThread, self).copy(cr, uid, id, default=default, context=context)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment