0187c8a4666c58c9bdb654c31186a4b04515cd56
Steps to reproduce: - Install Dashboard, Inventory apps - Go to Inventory > Products - Add a custom filter "Quantity on hand > 0.00001" - Favorites > Add to my dashboard > Add - Go to dashboard app Issue: JS Traceback is raised: `Expected "]", got "(name)"` When executing the rpc call to `/board/add_to_dashboard`, the number `0.00001`, which is passed as argument, is decoded as `1e-05` in the python code and stored in the custom view. When parsing the same view in the frontend, the tokenizer fails to detect `1e-05` as a floating number and an error is thrown while parsing. Solution: Add regex for floating point numbers in scientific notation in `py.js`. The regex accepts numbers such as: - 1.2 - 12. - .1 - 1e-02 - 1.2E-2 - 12.e+2 - .1E3 opw-3038707 closes odoo/odoo#111664 X-original-commit: d2d23e517fb81ab3779f6f0dbf0d035544c863d8 Signed-off-by: Samuel Degueldre <sad@odoo.com> Signed-off-by: Stefan-Calin Crainiciuc (stcc) <stcc@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%