diff --git a/sapl/protocoloadm/forms.py b/sapl/protocoloadm/forms.py index 375229710..3ee1599fa 100644 --- a/sapl/protocoloadm/forms.py +++ b/sapl/protocoloadm/forms.py @@ -287,7 +287,7 @@ class ProtocoloDocumentForm(ModelForm): interessado = forms.CharField(required=True, label='Interessado') - observacao = forms.CharField(required=True, + observacao = forms.CharField(required=False, widget=forms.Textarea, label='Observação') class Meta: diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index f3d0a56c2..5ae92f498 100644 --- a/sapl/protocoloadm/models.py +++ b/sapl/protocoloadm/models.py @@ -66,7 +66,7 @@ class DocumentoAdministrativo(models.Model): choices=YES_NO_CHOICES) assunto = models.TextField(verbose_name=_('Assunto')) observacao = models.TextField( - blank=True, verbose_name=_('Observação')) + blank=True, null=True, verbose_name=_('Observação')) texto_integral = models.FileField( blank=True, null=True,