fix for purchase_customer_requisition
This commit is contained in:
parent
558313211c
commit
bd6aec9bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class PurchaseOrderLine(models.Model):
|
||||||
@api.depends("order_id.requisition_id", "product_id")
|
@api.depends("order_id.requisition_id", "product_id")
|
||||||
def _compute_requisition_id(self):
|
def _compute_requisition_id(self):
|
||||||
for line in self:
|
for line in self:
|
||||||
customer = self._get_customer()
|
customer = line._get_customer()
|
||||||
domain = [
|
domain = [
|
||||||
"|",
|
"|",
|
||||||
("requisition_id.vendor_id", "=", line.order_id.partner_id.id),
|
("requisition_id.vendor_id", "=", line.order_id.partner_id.id),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue