999277cafba7bbdb3e874529e4dc29f3f0ff6d37
Currently, a chat window is folded when hidden and the server is notified. This is incorrect and leads to useless rpc calls/undesirable fold state. A chat window is only hidden when space is lacking to display them all. Only a user interaction should be able to fold a chat window. Since folding the chat window when hidden is an implementation detail only used to show the chat window header in the hidden windows dropdown, this PR removes this behavior and adapt the hidden windows menu to achieve the same result. Steps to reproduce the issue: - Go to Odoo, resize your browser so that it can only fit 2 chat windows. - Open two chat windows, server is notified twice: so far so good. - Open another chat window: server is notified twice: this is not correct, the server should only be notified of the newly opened chat window. - Reload the page: the server is notified once for each window not fitting in the screen, this is incorrect as well. task-3600480 closes odoo/odoo#143438 X-original-commit: 27f09bfc5049b1350b7e940a7beef92f63799771 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com> Signed-off-by: Matthieu Stockbauer (tsm) <tsm@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%