Skip to content
Snippets Groups Projects
Verified Commit 7e649222 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Drop duplicated property filename on AutomaticPlan model

parent 94ef78b7
No related branches found
No related tags found
1 merge request!191Resolve "Automatically create a PDF file of the substitution plan"
Pipeline #25564 failed
......@@ -1204,11 +1204,6 @@ class AutomaticPlan(LiveDocument):
self.current_file.save(self.filename, file_object.file.file)
self.save()
@property
def filename(self) -> str:
"""Get filename (without path) of the PDF file."""
return f"{self.slug}.pdf"
class Meta:
verbose_name = _("Automatic plan")
verbose_name_plural = _("Automatic plans")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment