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
Diese Frage wurde gekennzeichnet
2
Antworten
467
Ansichten
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>
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
0
Juni 26
|
1 | ||
|
|
2
Mai 26
|
120 | ||
|
|
1
Apr. 26
|
37 | ||
|
|
0
Apr. 26
|
9 | ||
|
|
0
März 26
|
34 |