My odoo database migrated from 15 to 16 recently. As the 16 version of aged receivable and payable doesn't seem to be found, the version 15 is used instead. However, this error pop up after it has been running for a while. Is this some runtime error or data error and where can this be changed. Thanks.
File "/home/odoo/src/enterprise/16.0/account_reports/models/account_aged_partner_balance.py", line 366, in _custom_options_initializer options['account_type'] = [account_type for account_type in options['account_type'] if account_type['id'] not in ('trade_payable', 'non_trade_payable')] KeyError: 'account_type'
The above server error caused the following client error: null
This issue was fixed in the (private) Odoo's enterprise repository with this commit
Edit: Also, updating the module
account_reportshould also solves the issue.