diff options
| author | Martin Trigaux <mat@openerp.com> | 2013-09-11 13:07:55 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2013-09-11 13:07:55 +0200 |
| commit | c48504fdba1ef68033c5e6c3b7929ea4e153d4b7 (patch) | |
| tree | 471c4c37f5b76a4f034b5de805655d5fc5dcf867 /addons/project_issue/test/issue_process.yml | |
| parent | 9349ba848497b9c5b7ded809a4db6b1e3b26b6a6 (diff) | |
| parent | 3fa90321e11d28df4e2b874ddfa450dc73e8e0af (diff) | |
[MERGE] sync with trunk (state -> stage removed some test)
bzr revid: mat@openerp.com-20130911110755-zf3ytf9m27im6x9k
Diffstat (limited to 'addons/project_issue/test/issue_process.yml')
| -rw-r--r-- | addons/project_issue/test/issue_process.yml | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/addons/project_issue/test/issue_process.yml b/addons/project_issue/test/issue_process.yml index b5fe763fb43..08e576d86dd 100644 --- a/addons/project_issue/test/issue_process.yml +++ b/addons/project_issue/test/issue_process.yml @@ -1,4 +1,5 @@ - +<<<<<<< TREE Project user can subscribe issue, so let's check data with giving the access rights of user. - !context @@ -24,6 +25,8 @@ !assert {model: project.issue, id: crm_case_buginaccountsmodule0, severity: error, string: Issue should be in pending state}: - state == 'pending' - +======= +>>>>>>> MERGE-SOURCE 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 }: | @@ -34,17 +37,7 @@ 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 -- - After getting sufficient details, I re-open Issue from pending state. -- - !python {model: project.issue}: | - self.case_open(cr, uid, [ref("crm_case_buginaccountsmodule0")]) -- - I check state of Issue after re-opened. -- - !assert {model: project.issue, id: crm_case_buginaccountsmodule0, severity: error, string: Issue should be in open state}: - - state == 'open' + pass - Only project manager can create Task for Issue, so let's check data with giving the access rights of manager. - @@ -55,6 +48,7 @@ - !python {model: project.issue}: | self.convert_issue_task(cr, uid, [ref("crm_case_buginaccountsmodule0")]) +<<<<<<< TREE - After resolving Issue Project user can close issue, so let's check data with giving the access rights of user. - @@ -70,3 +64,5 @@ - !assert {model: project.issue, id: crm_case_buginaccountsmodule0, severity: error, string: Issue should be in done state}: - state == 'done' +======= +>>>>>>> MERGE-SOURCE |
