5a5c2dbbf8da82d5882f929fbb2527f23bd99619
According to the orm documentation, the `digits` attribute of float fields must be either a tuple (int, int) or a string. However, people set `digits=0` on a bunch of float fields (some are there for a while now). Historically, the webclient handled this as "there's no digits attribute set", so it fallbacked on 2 digits precision. With the new views, and owl props validation, we assert that the `digits` props, when given, is an array. In the above situations, we have a props validation error. This commit fixes the error by filtering out the `digits` props when it is not an array, s.t. it keeps working as before (i.e. fallbacks on 2 digits). In master, we'll remove the fallback. opw 3083100 closes odoo/odoo#107418 X-original-commit: 36407a9837ba3bf90670ae763751dc631309867b Signed-off-by: Michaël Mattiello <mcm@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%