[FIX] stock_location_orderpoint_source_relocate: Use recordset for trap_jobs evaluation

Due to 299cf4d82a
This commit is contained in:
Denis Roussel
2023-06-09 15:07:10 +02:00
parent 3f1f61d763
commit aa401a2762

View File

@@ -51,7 +51,7 @@ class TestLocationOrderpoint(TestLocationOrderpointCommon, SourceRelocateCommon)
self.assertEqual(move.location_id, internal_location)
trap.assert_jobs_count(1, only=job_func)
trap.assert_enqueued_job(
orderpoint.run_auto_replenishment,
job_func,
args=(move.product_id, internal_location, "location_id"),
kwargs={},
properties=dict(