Exception on open-lines #3

Closed
opened 2026-08-25 07:01:50 +00:00 by mdsfred · 0 comments
Owner
Tue Aug 25 06:19:56 2026] ERROR:trytond.protocols.wrappers:<JSONRequest 181@10.1.9.15 'https://erp.mekiteltow.de/kitaabr/' [POST] wizard.cashbook.open_lines.execute>
Traceback (most recent call last):
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 317, in __getattr__
    return self._values[name]
           ~~~~~~~~~~~~^^^^^^
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/wrappers.py", line 200, in wrapper
    return func(request, pool, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 196, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 340, in execute
    result = wizard._execute(state_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 380, in _execute
    result = self._execute(transition())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 375, in _execute
    do_result = do(action)
                ^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/modules/cashbook/wizard_openline.py", line 120, in do_open_
    book = self.askuser.cashbook if self.askuser else None
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 319, in __getattr__
    raise AttributeError("'%s' Model has no attribute '%s': %s"
AttributeError: 'cashbook.open_lines.start' Model has no attribute 'cashbook': None
``` Tue Aug 25 06:19:56 2026] ERROR:trytond.protocols.wrappers:<JSONRequest 181@10.1.9.15 'https://erp.mekiteltow.de/kitaabr/' [POST] wizard.cashbook.open_lines.execute> Traceback (most recent call last): File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 317, in __getattr__ return self._values[name] ~~~~~~~~~~~~^^^^^^ TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/wrappers.py", line 200, in wrapper return func(request, pool, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/protocols/dispatcher.py", line 196, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 340, in execute result = wizard._execute(state_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 380, in _execute result = self._execute(transition()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/wizard/wizard.py", line 375, in _execute do_result = do(action) ^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/modules/cashbook/wizard_openline.py", line 120, in do_open_ book = self.askuser.cashbook if self.askuser else None ^^^^^^^^^^^^^^^^^^^^^ File "/home/tryton/kitaabr/lib/python3.12/site-packages/trytond/model/model.py", line 319, in __getattr__ raise AttributeError("'%s' Model has no attribute '%s': %s" AttributeError: 'cashbook.open_lines.start' Model has no attribute 'cashbook': None ```
mdsfred self-assigned this 2026-08-25 07:01:50 +00:00
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
mdsfred/cashbook#3
No description provided.