[FIX] stock_account: production location with a company

Complete rev 67ea26460f

opw-2027859
This commit is contained in:
Simon Lejeune
2019-07-16 09:27:35 +00:00
parent b426b2f023
commit a2c60263fc
+1 -1
View File
@@ -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