d80f45792d46b921d6def1bcd9e26d729172aac6
This commit improves the Notebook component to support the ability to disable some tabs. Once the page is disabled, the tab is greyed out and set as inactive. Also, an icon can be placed in the tab, before the label. This change is used since the Notebook component is used as the sidebar element during the web_studio refactor. The sidebar needed to disable a tab depending certain conditions. Now, the component has this behavior by default once a page has the isDisabled attribute. To display an icon before the label, you can use the icons props, as an object, which keys are page names, and values are font awesome classnames. A test has been added for each new feature introduced. Part-of: odoo/odoo#115799
…
…
…
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%