Enhancement: support assigning custom fields via consumption templates (#4727)

This commit is contained in:
shamoon authored and GitHub committed 2023-12-03 15:35:30 -08:00
1 parent 285a4b5aef
commit f27f25aa03
14 files changed
+260 -136

No files matched your search

@@ -0,0 +1,23 @@
# Generated by Django 4.2.7 on 2023-11-30 17:44
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
("documents", "1041_alter_consumptiontemplate_sources"),
]
operations = [
migrations.AddField(
model_name="consumptiontemplate",
name="assign_custom_fields",
field=models.ManyToManyField(
blank=True,
related_name="+",
to="documents.customfield",
verbose_name="assign these custom fields",
),
),
]