Commit f4a2f224 authored by Patrick's avatar Patrick

RC

parent 4f9bbf13
......@@ -2,10 +2,10 @@
import threading
from django.contrib import messages
from django.db.models import Sum
from django.utils.translation import ugettext_lazy as _
import repanier.apps
from repanier.models import DeliveryBoard
from repanier.email import email_invoice
from repanier.models import BankAccount
from repanier.models import Customer
......
......@@ -753,6 +753,7 @@ def recalculate_order_amount(permanence_id,
id=permanence_id
).update(
total_profit=DECIMAL_ZERO,
total_price_wo_tax=DECIMAL_ZERO
)
for offer_item in models.OfferItem.objects.filter(
permanence_id=permanence_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment