diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-13 09:26:37 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-13 09:26:37 +0700 |
| commit | 610b0dde2b83d539b153db5f71b68da441217eed (patch) | |
| tree | 82ba9554aa2ff0c8002f08d34d5324d5bce92d95 /indoteknik_custom/models/purchasing_job.py | |
| parent | ef05fc18109974354f7a41b2c16381614fc4b1b6 (diff) | |
feedback sj
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
| -rw-r--r-- | indoteknik_custom/models/purchasing_job.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
