mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_move_location: _get_locations_domain()
Before this commit, the wrong company could be used in the domain.
This commit is contained in:
@@ -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),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user