061ff011df43e602d06e0c680840e1e61cc648a1
Things to know about specific views: Since the introduction of website specific views, we can have multiple views that are related to a website (specific views). These views have no xml_id as it is only set on the original view (generic view). We rely on the view's key to identify related views as it is the same for all specific views of a generic view. Also the key is equals to the xml_id. When a generic view is updated, we will check if the specific views have the same values as the generic view. If it is the case, the value that are the same are considered updatable and are updated on both the generic and specific view. Else these are considered as noupdate. When a generic view is created we will check if the potential parent generic view has specific views. If it is the case we will create a copy of the created view for each specific view. The issue: The method that checks if a created/updated view has specific views is located in website. When we update a module, each modules are initialized and updated in a specific order. If a generic view that has specific views located in a module loaded before website this view's specific views will not be updated/created as the method does not exist. This issue is mainly affecting portal views at the moment. The solution: For write: We now COW(copy on write) the views in base module, meaning this will apply to all qweb views that are duplicated and not only the website specific ones. For create: We will create the generic view as before but wait until we have updated all the modules to gather all generic views that are supposed to have a specific view but don't and create the specific views. This will result in a change of behavior being that if a specific view that have a parent is deleted it will be recreated on update (same behavior as a generic view). closes odoo/odoo#52629 X-original-commit: b1a90ee2bb441aa52e3cf4607c43fb464b55b1d7 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> Signed-off-by: fja-odoo <fja-odoo@users.noreply.github.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%