summaryrefslogtreecommitdiff
path: root/addons/project_issue/test/issue_process.yml
diff options
context:
space:
mode:
authorvbh-odoo <vbh@odoo.com>2015-08-06 16:29:42 +0530
committerDavid Monjoie <dmo@odoo.com>2016-06-30 14:41:25 +0200
commit42b498dc6f6bfd1d375c854d8b415295fbc84e65 (patch)
treef5593b4a11e0a9d8eb75d2488d638b3b811e84c9 /addons/project_issue/test/issue_process.yml
parentccfea6b2f614e55c14d8dd3c2ade78d5b91906ec (diff)
[MIG] project_issue: converted test cases from yml to python
Diffstat (limited to 'addons/project_issue/test/issue_process.yml')
-rw-r--r--addons/project_issue/test/issue_process.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/addons/project_issue/test/issue_process.yml b/addons/project_issue/test/issue_process.yml
deleted file mode 100644
index 1bc1633688c..00000000000
--- a/addons/project_issue/test/issue_process.yml
+++ /dev/null
@@ -1,12 +0,0 @@
--
- I send mail to get more details. TODO revert mail.mail to mail.compose.message (conversion to customer should be automatic).
--
- !python {model: mail.mail }: |
- 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:
- 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'})
- self.send_mail(cr, uid, [new_id], context=ctx)
- except Exception, e:
- pass