From cfd881887deb5cf7be35c1e379d9ae8f082ac73f Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Sat, 22 Feb 2020 16:31:01 +0100 Subject: [PATCH] add description field to transactionTemplates --- apps/note/models/transactions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/note/models/transactions.py b/apps/note/models/transactions.py index 4ce23311..7a058607 100644 --- a/apps/note/models/transactions.py +++ b/apps/note/models/transactions.py @@ -40,6 +40,11 @@ class TransactionTemplate(models.Model): max_length=31 ) + description = models.CharField( + verbose_name=_('description'), + max_length=255, + ) + class Meta: verbose_name = _("transaction template") verbose_name_plural = _("transaction templates")