how can I hide the create button when I press search more of many2one fields?
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
6
Replies
6138
Views
Hello,
This is working perfectly. you can try. tested in v10, v11, v12 of odoo.
<field name="partner_id" options="{'no_create':True}"
Thanks!
Add options in xml :
<field name="user_id" options="{'no_show':True,'no_create':True,'no_open':True}"/>
Use'widget' option.
Ex.
<field name="company_id" widget="selection"/>
Thanks, but I still want the search button here
Try this,
<field name="field_name" options="{'no_quick_create':True, 'no_create_edit':True}" />
Thank you @Dipak Shah, It's fully working.
+1