File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ def test_py3o_report_availability(self):
234
234
self .env ["ir.config_parameter" ].set_param (
235
235
PY3O_CONVERSION_COMMAND_PARAMETER , "/wrong_path"
236
236
)
237
- self .report .refresh ()
237
+ self .report .invalidate_recordset ()
238
238
# no bin path available but the report is still available since
239
239
# the output is into native format
240
240
self .assertFalse (self .report .lo_bin_path )
@@ -255,7 +255,7 @@ def test_py3o_report_availability(self):
255
255
self .env ["ir.config_parameter" ].set_param (
256
256
PY3O_CONVERSION_COMMAND_PARAMETER , "libreoffice"
257
257
)
258
- self .report .refresh ()
258
+ self .report .invalidate_recordset ()
259
259
self .assertTrue (self .report .lo_bin_path )
260
260
self .assertFalse (self .report .is_py3o_native_format )
261
261
self .assertFalse (self .report .is_py3o_report_not_available )
You can’t perform that action at this time.
0 commit comments