diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-02 09:19:00 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-02 09:19:00 +0700 |
| commit | 9c17104f86f116782f0ed36f82d7c3de7130d363 (patch) | |
| tree | 2dfc7d93ac0df5966403724aa5b1283e70f89ebe /fixco_custom/models/detail_order.py | |
| parent | 32e30884a8897bb553be55fae826961af1b970a6 (diff) | |
preview pdf resi
Diffstat (limited to 'fixco_custom/models/detail_order.py')
| -rwxr-xr-x | fixco_custom/models/detail_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py index f5596d7..74608b4 100755 --- a/fixco_custom/models/detail_order.py +++ b/fixco_custom/models/detail_order.py @@ -226,7 +226,7 @@ class DetailOrder(models.Model): bline.variant_id, price_bundling_bottom, price, - actual_price=combined_item['actualPrice']/combined_item['quantity'] # Use average price + actual_price=combined_item['actualPrice'] ) order_lines.append((0, 0, { 'product_id': bline.variant_id.id if bline.variant_id else product.id, |
