Skip to Content
Menu
This question has been flagged
664 Views

In  Depreciation Schedule reporting, I have an error when i click on one asset an choose "open asset".

  File "/usr/lib/python3/dist-packages/odoo/addons/account_asset/report/account_assets_report.py", line 391, in open_asset
    return asset.open_asset(['form'])
  File "/usr/lib/python3/dist-packages/odoo/addons/account_asset/models/account_asset.py", line 824, in open_asset
    ctx.pop('default_move_type')
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception
    raise exception.with_traceback(None) from new_cause
KeyError: 'default_move_type'



I don't understand what cause this error. I have no line number 824 in the file account_asset.py

Help needed.

regards

Avatar
Discard