diff options
| author | unknown <it@fixcomart.co.id> | 2025-09-17 14:28:21 +0700 |
|---|---|---|
| committer | unknown <it@fixcomart.co.id> | 2025-09-17 14:28:21 +0700 |
| commit | 83608402d79a4b90d43a377aefbffbd17ae778c9 (patch) | |
| tree | 74275a8e3d589825e8a26b220a77d68ce075aa58 /indoteknik_api/models | |
| parent | 099357ac4b17def99fe161eac3e04fec58814b06 (diff) | |
| parent | 811e9dde8a027276b92a8dd594e11237b0b3b8c5 (diff) | |
(andri) fix merge
Diffstat (limited to 'indoteknik_api/models')
| -rw-r--r-- | indoteknik_api/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/models/sale_order.py b/indoteknik_api/models/sale_order.py index c59dead9..23be358a 100644 --- a/indoteknik_api/models/sale_order.py +++ b/indoteknik_api/models/sale_order.py @@ -75,7 +75,7 @@ class SaleOrder(models.Model): if sale_order.state == 'sale': bu_pickings = [ p for p in sale_order.picking_ids - if p.picking_type_id and p.picking_type_id.id == 29 + if p.picking_type_id and p.picking_type_id.id == 29 and p.state != 'cancel' ] # Hitung status masing-masing picking |
