c9ed8aec914409deff7ff8d7d44254b3e9854dff
When you import a record from a XML file, values passed to float fields are not casted as floats. Eg: ``<field name="price">1.0</field>`` is parsed as '1.0' string. The method _update from ir_model.py seems to accept these "fake floats" strings BUT, if you override write() in a module, you can't guess that values meant to be written in a float field are actually strings Eg: The override of write() in sale.order.line expects a float and crash at second install. (try twice `-i sale` in a 9.0 database) In order to fix this, we apply the same reasoning than for integers (two lines above).
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/9.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%