diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-01-03 09:35:07 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-01-03 09:35:07 +0700 |
| commit | fbea3ab095059a101d32c2f5e4f5b0f309705d28 (patch) | |
| tree | c1c08330c77a2e3f9ddbb0fb0e21ae51b94e4134 | |
| parent | ddaef3895870403548d032a892a3365de38c016c (diff) | |
fix typo calculate status so
| -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 7f25f946..f0792114 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -87,7 +87,7 @@ class SaleOrder(models.Model): sum_qty_ship = sum_qty_so = 0 have_outstanding_pick = False - for pick in sale.pciking_ids: + for pick in sale.picking_ids: if pick.state == 'draft' or pick.state == 'assigned' or pick.state == 'confirmed' or pick.state == 'waiting': have_outstanding_pick = True |
