2013-03-14 09:41:01 +00:00
-
2012-09-14 14:01:48 +00:00
I send mail to get more details. TODO revert mail.mail to mail.compose.message (conversion to customer should be automatic).
2011-12-02 07:04:58 +00:00
-
2012-09-07 10:19:07 +00:00
!python {model: mail.mail }: |
2011-12-02 07:04:58 +00:00
ctx = context.copy()
ctx.update({'active_model': 'project.issue', 'active_id': ref("crm_case_buginaccountsmodule0"), 'active_ids': [ref("crm_case_buginaccountsmodule0")]})
vals = self.default_get(cr, uid , [], context=ctx)
try :
2011-12-14 12:55:43 +00:00
new_id = self.create(cr, uid, {'email_from': 'support@mycompany.com','email_to': 'Robert_Adersen@yahoo.com', 'subject': 'Regarding error in account module we nees more details'})
2011-12-02 07:04:58 +00:00
self.send_mail(cr, uid, [new_id], context=ctx)
except Exception, e :
2013-06-27 11:07:33 +00:00
pass