diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-14 10:23:44 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-14 10:23:44 +0700 |
| commit | 3335015e0539280cc89cefae537282d5b3a4e9bb (patch) | |
| tree | ea48740e99d76fd9ec17c70dba28d12c72d88897 | |
| parent | 90cb7578cac9229ab3e11f7a82bd6ee997333d6d (diff) | |
Update sale_monitoring_detail.py
| -rwxr-xr-x | indoteknik_custom/models/sale_monitoring_detail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_monitoring_detail.py b/indoteknik_custom/models/sale_monitoring_detail.py index ade67b09..d766cecd 100755 --- a/indoteknik_custom/models/sale_monitoring_detail.py +++ b/indoteknik_custom/models/sale_monitoring_detail.py @@ -44,7 +44,7 @@ class SaleMonitoringDetail(models.Model): p.id AS product_id, sol.product_uom_qty AS qty_so, sol.qty_delivered AS qty_so_delivered, - 0 as qty_to_delivered, + get_qty_to_delivered(sol.id) as qty_to_delivered, sol.qty_invoiced AS qty_so_invoiced, so.date_order AS date_order, get_qty_po(so.id, sol.product_id) AS qty_po, |
