rename stock verbose

This commit is contained in:
Qwann 2018-08-09 14:36:12 +02:00
parent b063d18cf0
commit 174e62b316
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-08-09 12:11
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('equipment', '0009_auto_20180809_1200'),
]
operations = [
migrations.AlterField(
model_name='equipment',
name='stock',
field=models.PositiveSmallIntegerField(verbose_name='quantité totale'),
),
]

View file

@ -36,7 +36,7 @@ class Equipment(EventSpecificMixin, models.Model):
_("nom du matériel"),
max_length=200,
)
stock = models.PositiveSmallIntegerField(_("quantité disponible"))
stock = models.PositiveSmallIntegerField(_("quantité totale"))
description = models.TextField(_("description"))
activities = models.ManyToManyField(
Activity,