Good Day All,
I am trying to remove the 'search more' option from one of my many2one form views.
What I currently tried are the following:
Installed web_m2x_options
Within the specific module, I went ahead in debug mode, and in the form view, I added an item within the inherited views sections using the following expression:
attribute name ="options">{'search_more': false}
Edited: For some reason I can not copy and paste my whole expression. But I have tested the expression with other fields and it works. I think the field linked to the button plays a factor as to why it does not work. I hope I make sense
Yet, it still does not work. I can still clearly see the search more option within this field.
Is something wrong with my expression? Or is something else preventing this from applying?
I may add that the field I want to manipulate, does not reside within the parent view, but only becomes visible after I action a button. I do not know if that makes any difference.
Thank you in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
3949
ビュー
Hi,
Adding widget="selection" in xml against many2one field should solve your problem.
Regards