From 32e30884a8897bb553be55fae826961af1b970a6 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 1 Jul 2025 13:43:00 +0700 Subject: fix bug price unit so and create xml report print picking list --- fixco_custom/models/detail_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fixco_custom/models') diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py index f0c0760..f5596d7 100755 --- a/fixco_custom/models/detail_order.py +++ b/fixco_custom/models/detail_order.py @@ -247,7 +247,7 @@ class DetailOrder(models.Model): line_data = { 'product_id': product.id if product else 5792, 'product_uom_qty': combined_item['quantity'], - 'price_unit': combined_item['actualPrice'] / combined_item['quantity'], # Average price + 'price_unit': combined_item['actualPrice'], } if not product: -- cgit v1.2.3