Skip to content

Commit

Permalink
[FIX] purchase_request_cancel_confirm: Add missing ir.config_paramete…
Browse files Browse the repository at this point in the history
…r on tests
  • Loading branch information
HviorForgeFlow committed Dec 13, 2022
1 parent d982d26 commit 9e16c60
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ class TestPurchaseRequestCancelConfirm(TransactionCase):
def setUp(self):
super(TestPurchaseRequestCancelConfirm, self).setUp()
self.purchase_request_obj = self.env["purchase.request"]
self.env["ir.config_parameter"].sudo().set_param(
"purchase.request.cancel_confirm_disable", "False"
)
self.purchase_request_line_obj = self.env["purchase.request.line"]
vals = {
"picking_type_id": self.env.ref("stock.picking_type_in").id,
Expand Down

0 comments on commit 9e16c60

Please sign in to comment.