Skip to Content
Menu
This question has been flagged
1 Reply
5645 Views

Our sales orders often have as many as 100 lines. At the moment, in the SO form view, the Order Lines tab, the default lines to show is 1-40, then users need to use next to see more lines.


How do I increase this 40 limit to 100 for the sales order lines?

Avatar
Discard

Hi, am using Odoo CE 12, seems like 40 is the default number of lines to be shown in one2many tree view. I'm glad if anyone could answer

This question is not well formulated, because reading it, it seems that you want to increase the number of lines in a sales order.

Best Answer

You must search this line in the "sale.order.form" view and add the "limit" attribute with the number of lines you want to display.

<tree string="Sales Order Lines" editable="bottom" decoration-info="(not display_type and invoice_status == 'to invoice')"  limit="100">

Needless to say, it is better to inherit the view and make changes to the inherited view.

---

Another thing that the users can do is to click on the number of rows in the top of the list and change the range of rows to display. Users have to repeat this action every time they need it. 



Avatar
Discard
Author

Thank you. It works for me.

Related Posts Replies Views Activity
1
Nov 24
1482
1
Nov 24
1187
2
Sep 24
1046
1
Aug 24
2450
3
Aug 24
2682