mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
Valeur par défaut nulle pour le minimum de solde.
This commit is contained in:
parent
17f627c4c4
commit
ab6babd45f
2 changed files with 21 additions and 0 deletions
20
cotisations/migrations/0040_auto_20180705_0822.py
Normal file
20
cotisations/migrations/0040_auto_20180705_0822.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.7 on 2018-07-05 13:22
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cotisations', '0039_auto_20180704_1147'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='balancepayment',
|
||||
name='minimum_balance',
|
||||
field=models.DecimalField(decimal_places=2, default=0, help_text='The minimal amount of money allowed for the balance at the end of a payment. You can specify negative amount.', max_digits=5, verbose_name='Minimum balance'),
|
||||
),
|
||||
]
|
|
@ -27,6 +27,7 @@ class BalancePayment(PaymentMethodMixin, models.Model):
|
|||
),
|
||||
max_digits=5,
|
||||
decimal_places=2,
|
||||
default=0,
|
||||
)
|
||||
maximum_balance = models.DecimalField(
|
||||
verbose_name=_l("Maximum balance"),
|
||||
|
|
Loading…
Reference in a new issue