mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_cycle_count: add rec company_id to domain
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user