mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_pull_list: send company recordset to _get_rule
This commit is contained in:
committed by
Lois Rilo
parent
19b165dff1
commit
aedd45fd63
@@ -122,7 +122,7 @@ class PullListWizard(models.TransientModel):
|
||||
def _get_stock_rule_id(self, product_id, location_id):
|
||||
values = {
|
||||
"warehouse_id": self.warehouse_id,
|
||||
"company_id": self.env.user.company_id.id,
|
||||
"company_id": self.env.user.company_id,
|
||||
}
|
||||
stock_rule_id = self.env["procurement.group"]._get_rule(
|
||||
product_id, location_id, values)
|
||||
|
||||
Reference in New Issue
Block a user