Good afternoon, how could I make the return wizard show all products? I may have 73 items, but it only shows around 40 or 42, and it doesn’t go beyond that. When I try to process returns for the remaining products, it doesn’t allow me to do so.
odoo version 18
This question has been flagged
2
Replies
463
Views
Hello Felipe Cepeda,
I hope you are doing well
Because Odoo's One2many list paginates at 40 records by default
Fix: Inherit the wizard view and raise the limit:
I hope you are doing well
Because Odoo's One2many list paginates at 40 records by default
Fix: Inherit the wizard view and raise the limit:
<record id="view_stock_return_picking_inherit" model="ir.ui.view"> <field name="model">stock.return.picking</field> <field name="inherit_id" ref="stock.view_stock_return_picking_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='product_return_moves']" position="attributes"> <attribute name="limit">200</attribute> </xpath> </field> </record>
I hope this information helps to you
Thanks & Regards,
Kunjan Patel
Thanks & Regards,
Kunjan Patel
If your colleague’s XPath doesn’t work, try this one:
<xpath expr="//field[@name='product_return_moves']/list" position="attributes"> <attribute name="limit">200</attribute> </xpath>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Jun 26
|
1 | ||
|
|
2
May 26
|
120 | ||
|
|
1
Apr 26
|
37 | ||
|
|
0
Apr 26
|
9 | ||
|
|
0
Mar 26
|
34 |