summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-12 10:50:30 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-12 10:50:30 +0700
commit8996a5b127f4bb3bf8926d23b3e79d25de8ddc76 (patch)
tree49dc6439faeed290e83de90ccb1509a80e1b0b08
parent14027be3f4e607b149b4c449365ef2305f7946de (diff)
<Miqdad> rev ccm
-rw-r--r--indoteknik_custom/models/tukar_guling.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/tukar_guling.py b/indoteknik_custom/models/tukar_guling.py
index 388d83f7..9bcb0988 100644
--- a/indoteknik_custom/models/tukar_guling.py
+++ b/indoteknik_custom/models/tukar_guling.py
@@ -961,6 +961,9 @@ class TukarGuling(models.Model):
'tukar_guling_id': record.id,
'sale_order': record.origin,
'note': record.notes,
+ 'sj_return_date': bu_out.sj_return_date if record.rev_tukar_guling else False,
+ 'driver_arrival_date': bu_out.driver_arrival_date if record.rev_tukar_guling else False,
+ 'delivery_date': bu_out.delivery_date if record.rev_tukar_guling else False,
})
created_returns.append(new_out)
_logger.info(f"✅ BU/OUT Baru dari SRT created: {new_out.name}")