diff options
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: |
