Skip to content

Commit 48a5225

Browse files
committed
Merge PR #986 into 16.0
Signed-off-by etobella
2 parents 67ded10 + d2708c4 commit 48a5225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

report_py3o/tests/test_report_py3o.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_py3o_report_availability(self):
234234
self.env["ir.config_parameter"].set_param(
235235
PY3O_CONVERSION_COMMAND_PARAMETER, "/wrong_path"
236236
)
237-
self.report.refresh()
237+
self.report.invalidate_recordset()
238238
# no bin path available but the report is still available since
239239
# the output is into native format
240240
self.assertFalse(self.report.lo_bin_path)
@@ -255,7 +255,7 @@ def test_py3o_report_availability(self):
255255
self.env["ir.config_parameter"].set_param(
256256
PY3O_CONVERSION_COMMAND_PARAMETER, "libreoffice"
257257
)
258-
self.report.refresh()
258+
self.report.invalidate_recordset()
259259
self.assertTrue(self.report.lo_bin_path)
260260
self.assertFalse(self.report.is_py3o_native_format)
261261
self.assertFalse(self.report.is_py3o_report_not_available)

0 commit comments

Comments
 (0)