Skip to content

Commit

Permalink
[IMP] stock_cycle_count: add rec company_id to domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnauCForgeFlow committed Dec 5, 2024
1 parent 490c19a commit 4e1b9c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stock_cycle_count/models/stock_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def _apply_inventory(self):
"|",
("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]
Expand Down

0 comments on commit 4e1b9c0

Please sign in to comment.