Denis Ledoux f693e50476 [IMP] base: move back load_filters from get_view to get_views
It was moved during the refactoring of `fields_view_get`:
https://github.com/odoo/odoo/commit/b03c227e885efa4ccdcad43ccb56ee10371b9284#diff-7144f88ea32f36feb17ce1b8dda7dee1631f5ada34075414587df3948c6b3d1bL1637

But with the current refactoring to cache the back-end views,
its place is better in `get_views` as before.

For instance, one reason is that the checking of the condition
`options.get('load_filters') and view_type == 'search'`
will be checked multiple times when calling `get_views` with multiple
views.
If `get_views` get called for kanban, list and form, the above
condition will be checked 3 times,
while it will be only once in `get_views`.

closes odoo/odoo#99417

Related: odoo/enterprise#30974
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2022-09-05 16:54:02 +02:00
…
2022-09-05 16:54:01 +02:00
2022-08-30 08:18:53 +02:00
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%