mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +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(),
|
club=cons.club, counter=Counter.objects.filter(name='Foyer').first(),
|
||||||
quantity=qt, seller=User.objects.get(id=0), customer=customer).save(allow_negative=True)
|
quantity=qt, seller=User.objects.get(id=0), customer=customer).save(allow_negative=True)
|
||||||
customer.recorded_products += qt
|
customer.recorded_products += qt
|
||||||
customer.save()
|
customer.save()
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
Loading…
Reference in New Issue
Block a user