mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Fix: skip workflow title migration for empty titles (#11136)
This commit is contained in:
parent
bf9e3fca48
commit
8d0e07e931
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ def convert_from_format_to_template(apps, schema_editor):
|
|||
|
||||
with transaction.atomic():
|
||||
for WorkflowAction in WorkflowActions.objects.all():
|
||||
if not WorkflowAction.assign_title:
|
||||
continue
|
||||
WorkflowAction.assign_title = convert_format_str_to_template_format(
|
||||
WorkflowAction.assign_title,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue