02174099e2d8b6727751a06527e9ac6c057a0b2f
When attempting to define a goal using a model that does not have any `inherits` - which happens most the time-, it was not possible to choose the `Field to Sum` and the `Date Field`, due to the domain set in the view which is no longer working in 9.0. The domain is no longer working because: - The onchange result for a one2many for which the value is set to `[(6, 0, [])]` is now `[]`, while, in 8.0, the tuple with the command `6` and the empty list was preserved - the empty list `model_inherited_model_ids` is considered as `True` by py.js, and therefore it fallbacks to `model_inherited_model_ids[0]`, but as this is an empty list, it crashes. The solution proposed in this revision solves the issue, while making the domain applied on these fields less fragile. opw-658892
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/master/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%