diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-01 13:43:00 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-01 13:43:00 +0700 |
| commit | 32e30884a8897bb553be55fae826961af1b970a6 (patch) | |
| tree | c123ffde12bb882de26707a65c68f0a6cc2d11fe /fixco_custom/models | |
| parent | be3af87277be6d884abbcc9f584f52a3871a6869 (diff) | |
fix bug price unit so and create xml report print picking list
Diffstat (limited to 'fixco_custom/models')
| -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 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: |
