Hi there,
Does anybody know a clean way to change the default 1-40 limit in a tree view for only one specific view?
In the default Odoo sale order view the sale order lines are shown as a one2many like this:
<page string="Order Lines" name="order_lines"> <tree string="Sales Order Lines" editable="bottom" decoration-info="(not display_type and invoice_status == 'to invoice')"> <field name="sequence" widget="handle"/> <!-- Loads of other code --> </tree> </page>
The Odoo JS framework by default only shows the first 40 records in list views but what if we want to show the first 100 lines for example? I don't want to override the framework JavaScript and enable this for all one2many trees but only for the tree view in this specific form.
This should only be done on one inline one2many field in a form view and nowhere else.
Any ideas?
Regards,
Yenthe