[IMP] stock_cycle_count: add rec company_id to domain

This commit is contained in:
ArnauCForgeFlow
2024-11-28 10:08:26 +01:00
parent 490c19abe7
commit 4e1b9c0296

View File

@@ -29,7 +29,8 @@ class StockQuant(models.Model):
"|",
("location_id", "=", rec.location_id.id),
("location_dest_id", "=", rec.location_id.id),
],
]
+ ([("company_id", "=", rec.company_id.id)] if rec.company_id else []),
order="create_date asc",
)
move = moves[len(moves) - 1]