diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-10 11:17:41 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-10 11:17:41 +0700 |
| commit | e4b191155bf44bfcd58d6ae1b95d4a112bd43547 (patch) | |
| tree | 70d339f1df6a15ba23c034fb045dfe22bd46f206 /indoteknik_custom/models/approval_date_doc.py | |
| parent | 389820dab1629b4e34746e6acc51a6db50825f90 (diff) | |
<Miqdad> balikin driver dep date
Diffstat (limited to 'indoteknik_custom/models/approval_date_doc.py')
| -rw-r--r-- | indoteknik_custom/models/approval_date_doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/approval_date_doc.py b/indoteknik_custom/models/approval_date_doc.py index 3ba3b8dc..638b44d7 100644 --- a/indoteknik_custom/models/approval_date_doc.py +++ b/indoteknik_custom/models/approval_date_doc.py @@ -40,7 +40,7 @@ class ApprovalDateDoc(models.Model): raise UserError("Hanya Accounting Yang Bisa Approve") self.check_invoice_so_picking # Tambahkan context saat mengupdate date_doc_kirim - self.picking_id.with_context(from_button_approve=True, allow_driver_departure_edit=True).write({ + self.picking_id.with_context(from_button_approve=True).write({ 'driver_departure_date': self.driver_departure_date, 'date_doc_kirim': self.driver_departure_date, 'update_date_doc_kirim_add': True |
