[FIX] stock_move_location: _get_locations_domain()

Before this commit, the wrong company could be used in the domain.
This commit is contained in:
Yoshi Tashiro
2023-12-23 08:43:30 +00:00
parent 499b333811
commit 64c7900ebd

View File

@@ -157,7 +157,7 @@ class StockMoveLocationWizard(models.TransientModel):
def _get_locations_domain(self):
return [
"|",
("company_id", "=", self.env.user.company_id.id),
("company_id", "=", self.env.company.id),
("company_id", "=", False),
]