summaryrefslogtreecommitdiff
path: root/fixco_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-07-01 13:43:00 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-07-01 13:43:00 +0700
commit32e30884a8897bb553be55fae826961af1b970a6 (patch)
treec123ffde12bb882de26707a65c68f0a6cc2d11fe /fixco_custom/models
parentbe3af87277be6d884abbcc9f584f52a3871a6869 (diff)
fix bug price unit so and create xml report print picking list
Diffstat (limited to 'fixco_custom/models')
-rwxr-xr-xfixco_custom/models/detail_order.py2
1 files changed, 1 insertions, 1 deletions
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: