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
Deze vraag is gerapporteerd
2
Antwoorden
228
Weergaven
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>
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
|
1
apr. 26
|
37 | ||
|
|
0
apr. 26
|
9 | ||
|
|
0
mrt. 26
|
34 | ||
|
|
2
okt. 25
|
1930 | ||
|
|
1
jun. 25
|
2712 |