diff --git a/account_edi_simple_pdf/tests/test_invoice_import.py b/account_edi_simple_pdf/tests/test_invoice_import.py index 3e590105f6..87880ffaf8 100644 --- a/account_edi_simple_pdf/tests/test_invoice_import.py +++ b/account_edi_simple_pdf/tests/test_invoice_import.py @@ -553,5 +553,10 @@ def test_test_run(self): Test the test run code on the partner form """ self.partner_ak.simple_pdf_test_file = self.ak_pdf_file_b64 + self.partner_ak.simple_pdf_product_id = self.env["product.product"].search( + [ + ("purchase_ok", "=", True), + ] + ) self.partner_ak.pdf_simple_test_run() self.assertIn("Current partner found", self.partner_ak.simple_pdf_test_results)