Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5102 Lượt xem

Per default, list/tree views in various modules show only 80 items. I know that one can manually change this amount, but this change is reset each time a module is accessed anew. Is there some way to modify this default behavior for specific views (e.g. to show 200 items instead of 80)? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello philjun,

<field name="limit">200</field>

in your action (XML file).

Try Following,

for example,

<record id="action_your_object_form" model="ir.actions.act_window">

<field name="name">Your Object Name</field>

<field name="type">ir.actions.act_window</field>

<field name="res_model">your.object</field>

<field name="view_type">form</field>

<field name="limit">200</field>

<field name="view_mode">tree,form</field>

</record>

Hope this work for you.

if you find this answer helpful, please give me a thumbs up vote    

Regards,

Ankit H Gandhi

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 21
2488
1
thg 4 15
5986
3
thg 4 25
5000
5
thg 8 24
47095
5
thg 11 23
43352