diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-03-12 12:01:57 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-03-12 12:01:57 +0700 |
| commit | 76b0e9b235dbbf91f8e86067396ea320e89e5431 (patch) | |
| tree | 70c9347d5d1b1dbcd16fdbe1d507e2d4b0f72eea /indoteknik_custom/models | |
| parent | bdd80a44d2a69e35f0de3e20c378e17179679498 (diff) | |
push
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 722dc37a..0eb0aa6b 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -573,7 +573,7 @@ class SaleOrder(models.Model): 'delivery_date': l.get('delivery_date'), 'document_in_name': doc_in.display_name if doc_in else '', 'document_in_model': doc_in._name if doc_in else '', - 'purchase_order_id': doc_in.id if doc_in else False, + 'purchase_order_id': doc_in.id if doc_in else '', 'document_out_exists': bool(doc_out), 'reservation': bool(l.get('reservation')), 'is_late': bool(l.get('is_late')), |
