d3372e4f8eace7ee8dfc37900f74198318662980
When executing an act_window action, the ActionManager has to determine whether or not the first view of the action is a form view (typically, when this happens, this is also the only view of the action, and most of the time, it is displayed in a dialog, i.e. the action's target is 'new'). This ensures that the control panel is correctly shown/hidden, that form buttons are correctly rendered and displayed at the right place, and so on. Before this rev., it uses the view_mode to do that, but there is no guarantee that the view_mode is even defined (for instance, actions returned from python methods don't have to define it), so from now on, we use the 'views' attribute instead, which must always be set.
…
…
…
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%