diff options
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> |
