95938118c751c3e0010e6008c5391fce8c7124e4
- `start` and `stop` fields are not computed anymore. Indeed, it was not normal to have required stored computed field. Normally we shouldn't write on these fields, but since client calendar api need them, we keep them as normal datetime fields - `start_date` and `stop_date` become stored computed date fields depending of `start`,`stop` and `allday`. An inverse method allow to write on these fields, since it can be the case from the form view - `start_datetime` and `stop_datetime` follow the same logic - `onchange_allday` code is mostly moved in `_inverse_dates` of new computed fields - `_set_date` method (called in create/write) is now removed, since it does the same thing as old onchanges - `_onchange_duration` is kept to adapt `stop_datetime` when changing `start_datetime` or `duration` on form view - Duration is now 'zero' in database for allday meeting. Before, it was not changed. Setting it to zero is less falsy. `duration` can not (yet) be a computed field since it depends on others computed fields. After migration, we manage to keep old behavior but the code was crap. Switching stored computed fields make it cleaner, and respecting new API standarts. This changes avoid multiple methods doing almost the same thing, and is less 'buggy'.
…
…
…
…
…
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, 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%