Skip to content

Commit 60c01af

Browse files
[FIX] purchase_allowed_product: use correct field name
1 parent 3bfd420 commit 60c01af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

purchase_allowed_product/models/product_supplierinfo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
class ProductSupplierinfo(models.Model):
88
_inherit = "product.supplierinfo"
99

10-
name = fields.Many2one("res.partner", index=True)
10+
# Index partner_id
11+
partner_id = fields.Many2one(index=True)

0 commit comments

Comments
 (0)