The size of the document type label field has been increased from 32 to 96 characters.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -155,6 +155,8 @@
|
||||
ModelAttribute for executable model attributes and ModelField
|
||||
for actual ORM fields.
|
||||
- Expose more document fields for use in smart links.
|
||||
- The size of the document type label field has been increased
|
||||
from 32 to 96 characters.
|
||||
|
||||
3.0.3 (2018-08-17)
|
||||
==================
|
||||
|
||||
@@ -371,7 +371,8 @@ classes beyond the provide line chart.
|
||||
ModelAttribute for executable model attributes and ModelField
|
||||
for actual ORM fields.
|
||||
- Expose more document fields for use in smart links.
|
||||
|
||||
- The size of the document type label field has been increased
|
||||
from 32 to 96 characters.
|
||||
|
||||
Removals
|
||||
--------
|
||||
|
||||
20
mayan/apps/documents/migrations/0046_auto_20180917_0713.py
Normal file
20
mayan/apps/documents/migrations/0046_auto_20180917_0713.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.11 on 2018-09-17 07:13
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('documents', '0045_auto_20180917_0645'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='documenttype',
|
||||
name='label',
|
||||
field=models.CharField(help_text='The name of the document type.', max_length=96, unique=True, verbose_name='Label'),
|
||||
),
|
||||
]
|
||||
@@ -70,7 +70,7 @@ class DocumentType(models.Model):
|
||||
properties can be attached
|
||||
"""
|
||||
label = models.CharField(
|
||||
help_text=_('The name of the document type.'), max_length=32,
|
||||
help_text=_('The name of the document type.'), max_length=96,
|
||||
unique=True, verbose_name=_('Label')
|
||||
)
|
||||
trash_time_period = models.PositiveIntegerField(
|
||||
|
||||
Reference in New Issue
Block a user