orders: fix is made apig
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from decimal import Decimal
|
||||
# django
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.db.models import Sum, Q, F
|
||||
@@ -168,7 +169,7 @@ class PartyChangeStatusToIsMadeApiView(generics.GenericAPIView):
|
||||
order.quantity,
|
||||
order.product.id,
|
||||
order.unity.id,
|
||||
order.unit_amount * order.quantity,
|
||||
order.unit_amount * Decimal(order.quantity),
|
||||
order.project_folder.id if order.project_folder else None,
|
||||
order.project.id if order.project else None,
|
||||
order.unit_amount,
|
||||
|
||||
Reference in New Issue
Block a user