Hello all, I'm preparing a custom module that has a many2many field, but I'd like to customize some details in it when it comes up for search, and I'm not getting it. Below is my xml
<record model="ir.ui.view" id="print_services_sheet_finish_search">
<field name="name">print.services.sheet.finish.search</field>
<field name="model">print.services.sheet.finish</field>
<field name="arch" type="xml">
<search >
<field name="finishing"/>
<field name="sides"/>
</search>
</field>
</record> And here is the image of the place I want to customize, this table ..
Where am I going wrong?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1495
Views
it really simple :/.
to change this you need a <tree> so the code go just as
<record model="ir.ui.view" id="print_services_sheet_finish_search">
<field name="name">print.services.sheet.finish.search</field>
<field name="model">print.services.sheet.finish</field>
<field name="arch" type="xml">
<tree >
<field name="finishing"/>
<field name="sides"/>
</tree>
</field>
</record>
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
Check this out: https://goo.gl/8HgnCF