diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-01 10:03:29 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-01 10:03:29 +0700 |
| commit | 15377b23022440d88c40c656a513b3397ba43e9a (patch) | |
| tree | b6ae76c8eb15e54a5c3a1eb1ca4106044f9dc11e /fixco_custom/models/purchase_order.py | |
| parent | 9c3a7bba06bba9db22d84286f96739ef37e49ace (diff) | |
push revisi hari sabtu tanggal 29/11/25
Diffstat (limited to 'fixco_custom/models/purchase_order.py')
| -rw-r--r-- | fixco_custom/models/purchase_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/purchase_order.py b/fixco_custom/models/purchase_order.py index 2393618..61c4ef8 100644 --- a/fixco_custom/models/purchase_order.py +++ b/fixco_custom/models/purchase_order.py @@ -287,7 +287,7 @@ class PurchaseOrder(models.Model): desc = l.get("description") or "" # Flag: row error kalau description tidak mulai dengan SOO/ - is_error = not desc.startswith("SOO/") + is_error = desc and not desc.startswith("SOO/") # Style row merah row_style = "color:red; font-weight:bold;" if is_error else "" |
