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
Pertanyaan ini telah diberikan tanda
2
Replies
218
Tampilan
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>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Apr 26
|
37 | ||
|
|
0
Apr 26
|
9 | ||
|
|
0
Mar 26
|
34 | ||
|
|
2
Okt 25
|
1922 | ||
|
|
1
Jun 25
|
2710 |