How to hide create and edit ,hyper link  and quick create on many2one field 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
Try this in your .xml file
<field name="many2onefield" options="{'no_create': True, 'no_create_edit':True}" />
or 
< field name="many2onefield" widget='selection'/>
Yes.It worked for me. But I need to use 'web_m2x_options' module for that
Try widget="selection". I edited answer.
If we use widget="selection" then name_get won't call on that field and it will return all the data at a time Now issue reolved by installing the web_m2x_options thanks
Njoy
Please use below code.
<attribute name="options">{'no_create_edit': True, 'no_create':True, 'no_open':True}</attribute>
or
<attribute name="widget">selection</attribute>
I hope this help you.
Best Thanks,
Ankit H Gandhi.
Try this one,
<field name="your_field_name" options="{'no_quick_create':True,'no_create_edit':True,'no_open': True,}"/>Read more: https://www.youtube.com/watch?v=X_sdiKGQgJo
<should work on any type of field options="{'no_create': True, 'no_quick_create': True, 'no_create_edit':True}"/>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация| Related Posts | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|  | 0 янв. 25  | 1802 | ||
|  | 1 мар. 25  | 652 | ||
|  | 2 мар. 24  | 2214 | ||
|  | 1 сент. 23  | 3280 | ||
|  | 1 мар. 23  | 2863 | 
 
                        
See: https://www.youtube.com/watch?v=AEc2C3WZc54