32a37003c9a01ff46297b05e3c62ef00fa2654b1
Before this commit, it was possible to make the JS crash due to maximum call stack reached due to some recursion between 2 field visibility. It was then preventing the page to even be accessed as it is the 000.js (public file) which is failing. The only way to fix that is then to go through the backend. Step to reproduce: - Enter edit mode and drag & drop a form snippet on the page - Select a field, let's call it field_a - Set its visibility option in the right panel to "Visible only if" and select another field as value, let's call it field_b - Now select field_b and do the same operation and set field_a as value - Save After save, the 000.js file will be executed and the traceback will occur, preventing the page to work at all. Note that the illustrated example is about direct and obvious circular dependency, but it could also be about indirect circular dependency like field_a depends of field_b, field_b depends of field_c and field_c depends of field_a. opw-2889860 closes odoo/odoo#97652 X-original-commit: 90ecfab61f0c71850c1f3bc3ab2644883d18f9a5 Signed-off-by: Quentin Smetz (qsm) <qsm@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%