6859c8dacb4adeb24fdeab619a8f6e4fd48481a0
The do_search method still had a race condition because the read_slice method of datasets alter ids. So, what could happen is this: a long search is started, then a shorter search is started and ended before the first search is completed. The ui is rendered properly, but then the long search ends and alter the dataset. As a result, the Kanban view is broken (cannot open a record anymore because the dataset has the wrong ids). This commit fixes the issue by doing basically what the read_slice method did, except the ids altering part. However, it introduced a new problem for x2many kanban views: these kanban view don't have the same dataset, they have a datasetstatic. The naive substitution does not work, so I had to reintroduce the old method in X2ManyKanbanView.
…
…
…
…
…
…
…
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%