Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6999 Представления

each different tree view has a number of items per page (usually 80)


Where do we change this standard set up ?


so that instead of n pages of 80 items I get one made of 4 x 80 for instance

Аватар
Отменить
Лучший ответ

Hi,

You can activate developer mode and go to Settings> Technical> Actions - Window Actions ans select the corresponding window action of the list view.

In the form view under the 'General Settings' tab , in the section 'Filters' you can find the field 'Limit' . Edit this field and change the value from 80 to required number.

Or you can define the value of the field 'limit' while defining or overriding the window action in XML as:

< field name="limit">your_required_limit

Regards.

Аватар
Отменить

It works ineed, but once you apply a grouping, it does not take into account that value anymore. How can we do it in that case?

Thank you!
I was able to export all the Window Actions, then import just the id and limit columns with limit value changed to 100. After running click everywhere I can see that all of the lists are now in lots of 100 not 80. Much better. Thank you.

Лучший ответ

In odoo 17, you can just click on the page range field in upper right corner of screen "1 - 80" and change 80 to any  number you want like "1 - 100". When you press enter, the page will reload. However if you make it too large (like 1,000) then the performance hit is pretty significant.

Аватар
Отменить