From 9a039103f64661ebf27d89889e1e3c3a67c017a5 Mon Sep 17 00:00:00 2001 From: HafidBuroiroh Date: Sat, 14 Mar 2026 11:49:19 +0700 Subject: fix error purchase price --- indoteknik_custom/models/sourcing_job_order.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indoteknik_custom/models/sourcing_job_order.py b/indoteknik_custom/models/sourcing_job_order.py index 03e7d2e4..9729fc45 100644 --- a/indoteknik_custom/models/sourcing_job_order.py +++ b/indoteknik_custom/models/sourcing_job_order.py @@ -1075,8 +1075,8 @@ class SourcingJobOrderLine(models.Model): price = 0 taxes = 24 vendor_id = False - human_last_update = purchase_price.human_last_update or datetime.min - system_last_update = purchase_price.system_last_update or datetime.min + human_last_update = purchase_price.human_last_update or False + system_last_update = purchase_price.system_last_update or False # if purchase_price.taxes_product_id.type_tax_use == 'purchase': price = purchase_price.product_price -- cgit v1.2.3