Skip to content

Action buttons (+ menu) not working #348

Description

@bedge27

I've finally got WYGIWYH up and running after some very amateur errors, and was excited to start using it but now have an issue that I don't think is caused by my incompetence.

The 'date' and 'date reference' field is missing whenever I try adding a quick transaction.

Image

I'm able to fill in other details and press 'add', however the transaction doesn't appear in any accounts/transaction overviews etc. This is a copy of the error from the logs:

[2025-08-27 18:58:41] - WARNING - root - Could not resolve form field 'date'.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/django/forms/forms.py", line 183, in __getitem__
    field = self.fields[name]
            ~~~~~~~~~~~^^^^^^
KeyError: 'date'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/crispy_forms/utils.py", line 69, in render_field
    bound_field = form[field]
                  ~~~~^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/forms/forms.py", line 185, in __getitem__
    raise KeyError(
KeyError: "Key 'date' not found in 'QuickTransactionForm'. Choices are: account, amount, category, description, entities, is_paid, mute, name, notes, tags, type."
[2025-08-27 18:58:41] - WARNING - root - Could not resolve form field 'reference_date'.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/django/forms/forms.py", line 183, in __getitem__
    field = self.fields[name]
            ~~~~~~~~~~~^^^^^^
KeyError: 'reference_date'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/crispy_forms/utils.py", line 69, in render_field
    bound_field = form[field]
                  ~~~~^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/forms/forms.py", line 185, in __getitem__
    raise KeyError(
KeyError: "Key 'reference_date' not found in 'QuickTransactionForm'. Choices are: account, amount, category, description, entities, is_paid, mute, name, notes, tags, type."

I've tried various different images, I also removed the volume and recreated the database with the same result. On the off chance it would work, I even tried accessing it on different operating systems (Ubuntu 22.04 and Windows 11) and browsers (Firefox and Chromium) which made no difference.

The curious thing is that I logged into the demo instance to see what adding a quick transaction should look like, and I encountered the same error there (no date/date ref field), and I'm sure I tried it before without any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions