We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db4b8a4 commit 72940e5Copy full SHA for 72940e5
1 file changed
pos_safe_box/tests/test_pos_safe_box.py
@@ -100,7 +100,9 @@ def test_pos_safe_box(self):
100
session.set_cashbox_pos(0, None)
101
wizard_context = session.button_show_wizard_pay_out_invoice()["context"]
102
cash_in = self.env["cash.pay.invoice"].with_context(**wizard_context)
103
- with Form(cash_in) as form:
+ with Form(
104
+ cash_in, view="pos_session_pay_invoice.view_cash_pay_invoice_form"
105
+ ) as form:
106
form.pos_payment_method_id = self.pos_config.payment_method_ids.filtered(
107
lambda r: r.is_cash_count
108
)[:1]
0 commit comments