Here are the steps to reproduce the bug:
- On Odoo CE 16.0, create a new DB
- Install the module account_reconcile_oca from OCA/account-reconcile
- Enable analytic accounting
- In the bank reconcile interface, select an unreconciled statement line. Select the counterpart line, click on the "Manual operation" tab, set an account and set an analytic distribution (for example : on the 'Projects' plan, set 100% for 'Deco Addict')
- click on the button "Validate" : it works
- install the module account_analytic_distribution_manual from OCA/account-analytic
- Re-run steps 4 and 5 on a new unreconciled statement line. When you click on the button "Validate", you get a JS crash:
UncaughtPromiseError > TypeError
Uncaught Promise > can't access property "type", this.fields[fieldName] is undefined
The bug happens on 16.0, but not on 17.0 nor 18.0.
I really love the module account_analytic_distribution_manual... but we can't keep it if it triggers crashes in the OCA bank reconcile interface.
Here are the steps to reproduce the bug:
The bug happens on 16.0, but not on 17.0 nor 18.0.
I really love the module account_analytic_distribution_manual... but we can't keep it if it triggers crashes in the OCA bank reconcile interface.