Commit 3748eae8 authored by Patrick's avatar Patrick
Browse files

Do not recalculate twice permanences having a status < CLOSE

parent 5a3fbcd9
......@@ -49,6 +49,7 @@ class Command(BaseCommand):
# if customer_invoice.is_order_confirm_send:
# confirm_customer_invoice(, customer_invoice.customer_id)
for permanence in Permanence.objects.filter(
print ("%s %s" % (permanence.permanence_date, permanence.get_status_display()))
Supports Markdown
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