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
신고된 질문입니다
2
답글
478
화면
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>
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
0
6월 26
|
1 | ||
|
|
2
5월 26
|
120 | ||
|
|
1
4월 26
|
37 | ||
|
|
0
4월 26
|
9 | ||
|
|
0
3월 26
|
34 |