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)?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
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
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
0
9月 21
|
2155 | ||
|
1
4月 15
|
5747 | ||
|
3
4月 25
|
4419 | ||
|
5
8月 24
|
46305 | ||
|
5
11月 23
|
42761 |