[FIX] stock_account: production location with a company
Complete rev 67ea26460f
opw-2027859
This commit is contained in:
@@ -200,7 +200,7 @@ class StockMove(models.Model):
|
||||
'|',
|
||||
('location_dest_id.company_id', '=', False),
|
||||
'&',
|
||||
('location_dest_id.usage', '=', 'inventory'),
|
||||
('location_dest_id.usage', 'in', ['inventory', 'production']),
|
||||
('location_dest_id.company_id', '=', company_id or self.env.user.company_id.id),
|
||||
]
|
||||
return domain
|
||||
|
||||
Reference in New Issue
Block a user