Hi folks,
So, within a form view I have an embedded tree view (one2many field). This embedded view, by default, shows 80 results before it starts paging. As this is an embedded view, the number of results is simply too much to be useful. Ideally, I want to limit the number of results to 10.
Now, I have found how to change the number of results system wide but that is not what I want. I only want to change the number of results on this one single view whilst leaving the other views unaffected. Is this functionality possible? If it is not possible out of the box, has anyone written any code to update the web client to make it possible?
Code in question:
<field name="activitylog" colspan="3" nolabel="1" >
<tree string="Activity Log Entries">
<field name="entry_date" />
<field name="activity_type" />
<field name="name" />
<field name="state" />
<field name="contact_id" />
<field name="user_id" />
<button type="object" string="Open Activity" name="button_view_activity" icon="gtk-open" />
</tree>
</field>
I want that tree view to be limited by results. Many thanks
can you please tell me how you fetch all the 80 records in the tree view..............?
please help me
Similar ask here.
if changed \addons\web\static\src\js\view_list.js, like add 'limit': 18, on odoo 8.0, the all tree views will change to limited number of 18, even you've setup limited number on action view.
I would ask question again: I only want to change the number of results on this one single view whilst leaving the other views unaffected. Is this functionality possible?
Hello,
I have the same issu. did you find a solution.
Thanks to informe me if is there any solution.
Regards.