diff --git a/apps/note/views.py b/apps/note/views.py
index 01fa9048264da53411b1eee43c608bfeb82cff6f..50358128456507c7bf053f41ae603ca9ed649a09 100644
--- a/apps/note/views.py
+++ b/apps/note/views.py
@@ -121,6 +121,9 @@ class TransactionTemplateUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, Up
             for log in update_logs.all():
                 old_dict = json.loads(log.previous)
                 new_dict = json.loads(log.data)
+                if not "amount" in old_price:
+                    # The amount price of the button was not modified in this changelog
+                    continue
                 old_price = old_dict["amount"]
                 new_price = new_dict["amount"]
                 if old_price != new_price: