-
- Downloads
[FIX] account: fix traceback on opening bank statement
When user changes the default_account_id on a journal and tries to open a
statement line, they will get the traceback.
Note: This is reproduceable by using account_accountant only.
Steps to reproduce:
1) open configuration of bank journal
2) change default_account_id (bank account) from bank to cash
3) open bank statement
4) open any statement line
5) by following these steps, traceback occurs.
This commit will prevent the above traceback.
sentry - 4059226840
closes odoo/odoo#122428
Related: odoo/enterprise#42232
Signed-off-by:
Laurent Smet <las@odoo.com>
Please register or sign in to comment