FieldError at /django/app/tezor/invoices/my/ #43

Open
opened 2026-04-07 11:23:13 +02:00 by tteichler · 0 comments
Owner

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/contextlib.py", line 85, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/contextlib.py", line 85, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 105, in view
    return self.dispatch(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/contrib/auth/mixins.py", line 109, in dispatch
    return super().dispatch(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 144, in dispatch
    return handler(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/views/generic/list.py", line 178, in get
    context = self.get_context_data()
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django_tables2/views.py", line 151, in get_context_data
    table = self.get_table(**self.get_table_kwargs())
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django_tables2/views.py", line 118, in get_table
    return RequestConfig(self.request, paginate=self.get_table_pagination(table)).configure(
          
  File "/usr/local/lib/python3.13/dist-packages/django_tables2/config.py", line 44, in configure
    table.order_by = order_by
    ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django_tables2/tables.py", line 532, in order_by
    self.data.order_by(self._order_by)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django_tables2/data.py", line 214, in order_by
    self.data = self.data.order_by(*order_by_accessors)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/db/models/query.py", line 1727, in order_by
    obj.query.add_ordering(*field_names)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 2312, in add_ordering
    self.names_to_path(item.split(LOOKUP_SEP), self.model._meta)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 1813, in names_to_path
    raise FieldError(
    ^

Exception Type: FieldError at /django/app/tezor/invoices/my/
Exception Value: Cannot resolve keyword 'print_action' into field. Choices are: billing_address_1, billing_address_2, billing_city, billing_country_area, billing_country_code, billing_email, billing_first_name, billing_last_name, billing_phone, billing_postcode, captured_amount, created, currency, customer_ip_address, delivery, description, due_date, extra_data, for_content_type, for_content_type_id, for_object, for_object_id, fraud_message, fraud_status, group, group_id, id, items, message, modified, number, person, person_id, sepa_mandate, status, tax, token, total, transaction_id, variant
Raised during: aleksis.apps.tezor.views.MyInvoicesListView
``` Traceback (most recent call last): File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/contextlib.py", line 85, in inner return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/contextlib.py", line 85, in inner return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 105, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/contrib/auth/mixins.py", line 109, in dispatch return super().dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/views/generic/base.py", line 144, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/views/generic/list.py", line 178, in get context = self.get_context_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django_tables2/views.py", line 151, in get_context_data table = self.get_table(**self.get_table_kwargs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django_tables2/views.py", line 118, in get_table return RequestConfig(self.request, paginate=self.get_table_pagination(table)).configure( File "/usr/local/lib/python3.13/dist-packages/django_tables2/config.py", line 44, in configure table.order_by = order_by ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django_tables2/tables.py", line 532, in order_by self.data.order_by(self._order_by) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django_tables2/data.py", line 214, in order_by self.data = self.data.order_by(*order_by_accessors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/query.py", line 1727, in order_by obj.query.add_ordering(*field_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 2312, in add_ordering self.names_to_path(item.split(LOOKUP_SEP), self.model._meta) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/dist-packages/django/db/models/sql/query.py", line 1813, in names_to_path raise FieldError( ^ Exception Type: FieldError at /django/app/tezor/invoices/my/ Exception Value: Cannot resolve keyword 'print_action' into field. Choices are: billing_address_1, billing_address_2, billing_city, billing_country_area, billing_country_code, billing_email, billing_first_name, billing_last_name, billing_phone, billing_postcode, captured_amount, created, currency, customer_ip_address, delivery, description, due_date, extra_data, for_content_type, for_content_type_id, for_object, for_object_id, fraud_message, fraud_status, group, group_id, id, items, message, modified, number, person, person_id, sepa_mandate, status, tax, token, total, transaction_id, variant Raised during: aleksis.apps.tezor.views.MyInvoicesListView ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-Tezor#43
No description provided.