51 lines
1.9 KiB
YAML
51 lines
1.9 KiB
YAML
-
|
|
I cancel Backlog "Automatic migration system" from draft state.
|
|
-
|
|
!python {model: project.scrum.product.backlog}: |
|
|
self.button_cancel(cr, uid, [ref("scrum_product_backlog_0")])
|
|
-
|
|
I check state of Backlog after canceled.
|
|
-
|
|
!assert {model: project.scrum.product.backlog, id: scrum_product_backlog_0, severity: error, string: backlog should be in cancel state}:
|
|
- state == "cancel"
|
|
-
|
|
I cancel opened Backlog "Editable Trees".
|
|
-
|
|
!python {model: project.scrum.product.backlog}: |
|
|
self.button_cancel(cr, uid, [ref("scrum_product_backlog_7")])
|
|
-
|
|
I check state of Backlog after canceled.
|
|
-
|
|
!assert {model: project.scrum.product.backlog, id: scrum_product_backlog_7, severity: error, string: backlog should be in cancel state}:
|
|
- state == "cancel"
|
|
-
|
|
I put Backlog in pending due to resource unavailability.
|
|
-
|
|
!python {model: project.scrum.product.backlog}: |
|
|
self.button_pending(cr, uid, [ref("scrum_product_backlog_0")])
|
|
-
|
|
I check state of Backlog after put in pending.
|
|
-
|
|
!assert {model: project.scrum.product.backlog, id: scrum_product_backlog_0, severity: error, string: Backlog should be in pending state}:
|
|
- state == "pending"
|
|
-
|
|
I cancel pending Backlog "Automatic migration system".
|
|
-
|
|
!python {model: project.scrum.product.backlog}: |
|
|
self.button_cancel(cr, uid, [ref("scrum_product_backlog_0")])
|
|
-
|
|
I check state of Backlog after canceled.
|
|
-
|
|
!assert {model: project.scrum.product.backlog, id: scrum_product_backlog_0, severity: error, string: backlog should be in cancel state}:
|
|
- state == "cancel"
|
|
-
|
|
I Postpone opened Backlog "Reshape the complete menu".
|
|
-
|
|
!python {model: project.scrum.product.backlog}: |
|
|
self.button_postpone(cr, uid, [ref("scrum_product_backlog_6")])
|
|
-
|
|
I check state of Backlog after Postpone.
|
|
-
|
|
!assert {model: project.scrum.product.backlog, id: scrum_product_backlog_6, severity: error, string: backlog should be in cancel state}:
|
|
- state == "cancel"
|