f8a53d3a11912875cc243ed9def9d644bd5da38b
This commit fixes an issue caused by the way we use onInput props in Knowledge to fetch articles depending the current search value. Since we start from an empty string in the input again, it make no sense to display the choices previously fetched with a search value no longer displayed in the UI. The only way to display the correct items is to update the input value, then put an empty search to fetch accordingly. This is clearly an issue, when the onInput props is used to fetch the content of the SelectMenu, depending of the search value. The UI obviously display an empty search, and filter accordingly, but without fetching the items corresponding to the empty search value. A test was added as well to assert SelectMenu can be used for this purpose without forgetting to call onInput again when clearing the search value in beforeOpen. closes odoo/odoo#153072 X-original-commit: ca417f171b1bd2dd567beed7bc0e1fcaba6c8a4c Signed-off-by: Bastien Fafchamps (bafa) <bafa@odoo.com> Signed-off-by: Luca Vitali (luvi) <luvi@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%