diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-03-12 13:19:43 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-03-12 13:19:43 +0700 |
| commit | fe9a66f077ba378adb35e6610b829f69b86c73a2 (patch) | |
| tree | 0ab459905a04412c660109ff02e0a230914fff3c /indoteknik_custom/models/sale_order.py | |
| parent | 76b0e9b235dbbf91f8e86067396ea320e89e5431 (diff) | |
push
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 0eb0aa6b..22e4460c 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -597,9 +597,9 @@ class SaleOrder(models.Model): late = '⚠️' if l['is_late'] else '' # ==== SUPPLY STATUS LOGIC ==== - if l['document_in_id']: + if l['purchase_order_id']: supply_html = f""" - <a href="/web#id={l['document_in_id']}&model={l['document_in_model']}&view_type=form" + <a href="/web#id={l['purchase_order_id']}&model={l['document_in_model']}&view_type=form" class="font-weight-bold"> {l['document_in_name']} </a> |
