@@ -54,7 +54,7 @@ def test_check_pending_order(self):
54
54
result = self .order1 ._check_pending_order ()
55
55
self .assertIsNone (result , "Result should be None" )
56
56
order2 = self ._get_and_create_purchase_order ()
57
- result = order2 .with_context (skip_rfq_confirmation = True )._check_pending_order ()
57
+ result = order2 .with_context (skip_confirm_message = True )._check_pending_order ()
58
58
self .assertIsNone (result , "Result should be None" )
59
59
result = order2 ._check_pending_order ()
60
60
self .assertIsInstance (result , dict , "Result should be dict" )
@@ -68,7 +68,7 @@ def test_button_confirm(self):
68
68
order2 = self ._get_and_create_purchase_order ()
69
69
order3 = self ._get_and_create_purchase_order ()
70
70
71
- order3 .with_context (skip_rfq_confirmation = True ).button_confirm ()
71
+ order3 .with_context (skip_confirm_message = True ).button_confirm ()
72
72
73
73
self .assertEqual (order2 .state , "draft" , "Order should be draft" )
74
74
line1 , line2 = order2 .order_line
@@ -93,7 +93,7 @@ def test_button_confirm(self):
93
93
"Callback method must be 'nutton_confirm'" ,
94
94
)
95
95
96
- result = wizard .with_context (skip_rfq_confirmation = True ).action_confirm ()
96
+ result = wizard .with_context (skip_confirm_message = True ).action_confirm ()
97
97
self .assertTrue (result , "Result should be True" )
98
98
self .assertEqual (order2 .state , "purchase" , "Order state must be 'purchase'" )
99
99
activity = order2 .activity_ids
0 commit comments