422ab51460682ba409aebb46d5eddf5dd2e442e3
Steps to reproduce the issue: - Have the modules `hr_expense` and `account` installed (not `account_accountant`) - Create a new expense - Change the category - Click on analytic distribution field => Traceback The issue comes from the fact that the account field is present but empty (we don't have accounting). For the old and new account field, we have 2 undefined values. We then do a shallowEqual of these, where it will compare length attributes, so traceback. To solve it, we just give it a value false to the field instead of being undefined for the comparison. closes odoo/odoo#105593 X-original-commit: face5b8f9134fc052ea09742667a610b508a4886 Signed-off-by: John Laterre (jol) <jol@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%