Commit 3e950e1d authored by Sli's avatar Sli

Migration fix

parent de4521c1
Pipeline #1123 passed with stage
in 4 minutes and 39 seconds
......@@ -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):
......
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