Studio: How to modify the number of records seen in a list view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
Without Studio (see "change limit without studio) :
Go to the list view you want to modify
Click on "the scarab" in Debug mode and then "edit action"
Change the field called "limit"
Add the text in bold at the end of the first line of code <kanban default_group_by="stage_id" class="o_kanban_small_column o_kanban_helpdesk_ticket" limit="number of records">
You are not allowed to change the limit on some model by this way (by example; SO lines in Sales Order).
For those model, you have to use Studio (see "change limit with studio") :
Go to the list view you want to modify
Open Studio in Debug mode
Do a small change on the view to create automatically an inherit view (by example; flagg in "Required")
Click on the "</>XML" icon
Select the inherit view called "Odoo Studio: customization" and add:
<xpath expr="//tree" position="attributes">
<attribute name="limit">56</attribute>
</xpath>
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
7月 24
|
4129 | ||
|
1
6月 21
|
2072 | ||
|
1
5月 21
|
2554 | ||
|
1
4月 21
|
8 | ||
|
1
4月 21
|
3931 |