From 610b0dde2b83d539b153db5f71b68da441217eed Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Sat, 13 Apr 2024 09:26:37 +0700 Subject: feedback sj --- indoteknik_custom/models/purchasing_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models/purchasing_job.py') diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py index d3d95a09..5fba0a95 100644 --- a/indoteknik_custom/models/purchasing_job.py +++ b/indoteknik_custom/models/purchasing_job.py @@ -146,7 +146,7 @@ class PurchasingJob(models.Model): 'product_id': job.product_id.id, 'qty_purchase': qty_purchase, 'qty_available': qty_available, - 'partner_id': vendor_id.id, + 'partner_id': job.vendor_id.id, 'last_price': price, 'taxes_id': taxes, 'subtotal': qty_purchase * price, -- cgit v1.2.3