Exception on open-lines #3
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
```
bug
label
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?