41e341177611cf69d1bd61e66a809510c22cc1b7
*: web_editor The table of contents menu entries are generated automatically which poses a problem in translation mode. The menu translation entries are not be editable separately, but the users might be trying to. This commit shows a notification when the user clicks on the menu entries while in translation mode, explaining that they are generated from the title entries. It was initially intended to use a tooltip - but the amount of code needed to display a tooltip without marking the DOM as modified is needlessly complex. To avoid that styles applied on a plain text during translation were also appearing in the navigation menu, an attempt at adding a span around them to make sure that their translation was distinct from the one inside the main content. But this led to the risk of losing existing translations. Because of this, and because that situation seems unlikely, any remaining style in the navigation menu is instead stripped when the table of content is started to maintain consistency with what is shown during translation. An `o_translation_without_style` class has been introduced to indicate to the synchronization mechanism that only the text must be replicated for those elements. For labels that have a different `data-oe-translation-initial-sha` than their related header, that value is temporarily kept in another variable, the value is replaced by the one from the header, which make the synchronization mechanism properly associate them, then on save the initial value is restored so that the translation is saved for the right slot. task-2752391 closes odoo/odoo#116270 X-original-commit: 5776a358e1b42186d2c26c9bc25010a12811f416 Signed-off-by: Outagant Mehdi (mou) <mou@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%