mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_location_orderpoint_source_relocate: Use recordset for trap_jobs evaluation
Due to 299cf4d82a
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user