summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-14 11:49:19 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-14 11:49:19 +0700
commit9a039103f64661ebf27d89889e1e3c3a67c017a5 (patch)
tree34b9cc2af19a347c4f361fcc811ac13a2532119b
parent89e664cd76c5687903275e8c1dd4c59da7e83be7 (diff)
<hafid> fix error purchase price
-rw-r--r--indoteknik_custom/models/sourcing_job_order.py4
1 files 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