Migration fix

This commit is contained in:
Antoine Bartuccio 2017-08-15 17:37:25 +02:00
parent de4521c192
commit 3e950e1dd1

View File

@ -24,7 +24,7 @@ def balance_ecocups(apps, schema_editor):
club=cons.club, counter=Counter.objects.filter(name='Foyer').first(),
quantity=qt, seller=User.objects.get(id=0), customer=customer).save(allow_negative=True)
customer.recorded_products += qt
customer.save()
customer.save()
class Migration(migrations.Migration):