Enzo Yair

filtros modelo edicto

# Generated by Django 4.1.9 on 2023-09-27 13:06
# Generated by Django 4.1.9 on 2023-09-27 13:27
from django.conf import settings
from django.db import migrations, models
... ... @@ -14,11 +14,6 @@ class Migration(migrations.Migration):
operations = [
migrations.AlterField(
model_name='comprobantepago',
name='monto',
field=models.FloatField(editable=False, null=True),
),
migrations.AlterField(
model_name='edicto',
name='creado_por',
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
... ...
... ... @@ -58,7 +58,7 @@ class ComprobantePago(models.Model):
verbose_name = 'ComprobantePago'
verbose_name_plural = 'ComprobantesPagos'
monto = models.FloatField(editable=False, null=True)
monto = models.FloatField()
numero_comprobante = models.CharField(max_length=300, blank=True, null=True)
fecha_pago = models.DateTimeField(blank=True, null=True)
edicto = models.OneToOneField(Edicto, on_delete=models.CASCADE)
... ...