Skip to content

Conversation

@baimont
Copy link
Contributor

@baimont baimont commented Oct 30, 2025

  File "/odoo/lib/python3.12/site-packages/odoo/addons/account_check_deposit/models/account_check_deposit.py", line 301, in validate_deposit
    move = am_obj.create(deposit._prepare_move_vals())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/odoo/lib/python3.12/site-packages/odoo/addons/account_check_deposit/models/account_check_deposit.py", line 257, in _prepare_move_vals
    ).id
      ^^
AttributeError: 'NoneType' object has no attribute 'id'

We get this stacktrace in account_check_deposit. Couldn't reproduce but I believe this code should fix the stacktrace and let us fallback on company_id.transfer_account_id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant