mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
Migration fix
This commit is contained in:
parent
de4521c192
commit
3e950e1dd1
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user