6b74a84e44a44119ca9b0945cd5abe71f1b1ef2d
Impacted versions: 16.3+ How to reproduce: - open CRM > Forecast - drag&drop a lead from a column to another - click on "add next month" button Current Behavior: - the progressbars revert back to their state before the drag&drop Expected Behavior: - the progressbars keep their updated value after the drag&drop Technical explanation: After [1], the split of the progress bar logic from the relational model, only notifying the model of a reload is not enough to correctly update the progress bar values. It is therefore required to manually do it in the CRM Forecast view after adding a column. Master update: Furthermore, after [2], the adaptation of the codebase to the new relational model, the domain modification of the `forecast_kanban_model` was not transcripted correctly: the domain modification for the fillTemporalPeriod should be added by replacing the previous one if present, not simply added (because then we have a constantly growing domain with contradictory leaves). Also, since the new `RelationalModel` makes it mandatory to render the view after a `DynamicGroupList.load` because `DynamicGroupList` is `Reactive`, to avoid `progressBars` flickering when adding a forecast kanban column, the `ProgressBarHook._updateProgressBar` should store the result of its `read_progress_bar` call in `_pbCounts`. This makes it so that when the `DynamicGroupList.load` is done, already computed progressBars will keep their value and not switch back and forth between the previous state of `_pbCounts` computed in `loadProgressBar`. [1]: https://github.com/odoo/odoo/commit/58ca40b03215ef4c6c575267494dc8bccc30a033 [2]: https://github.com/odoo/odoo/commit/218ad8456a06503dd508e7216edcffdc90b35cac task-3497579 closes odoo/odoo#135149 X-original-commit: b53b46ec36818615b7beb1d24fd44c9f8d69063a Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Damien Abeloos (abd) <abd@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%