mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_cycle_count: Remove useless filtered
This commit is contained in:
@@ -31,10 +31,6 @@ class StockQuant(models.Model):
|
||||
("location_dest_id", "=", rec.location_id.id),
|
||||
],
|
||||
order="create_date asc",
|
||||
).filtered(
|
||||
lambda x: not x.company_id.id
|
||||
or not rec.company_id.id
|
||||
or rec.company_id.id == x.company_id.id
|
||||
)
|
||||
move = moves[len(moves) - 1]
|
||||
move.write(
|
||||
|
||||
Reference in New Issue
Block a user