When the product is selected from the products list, the option to create and edit appears at the end of the list. How can I restrict this option for certain users?
Thanks for the support
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
 - e-Commerce
 - Účetnictví
 - Sklad
 - PoS
 - Project
 - MRP
 
This question has been flagged
Change the view and add option no_create and no_edit  on product_id field  like
<field name="product_id" options="{'no_create': True, 'no_edit': True}" ...
Dear Hugo Jaramillo,
You can use below code.
name="product_id" position="attributes">
    name="options">{'no_create':True,'no_open':True}
Regards
      
You can use this on Odoo13:
https://apps.odoo.com/apps/modules/browse?author=Lima Bersaudara
You can use <field name="product_id" options="{'no_create': True, 'no_edit': True}" />
'no create': True and 'no_edit': True will not allow you to create product from one2many
Maybe you can create an inherited view for these users, as per the answer from Yannick Vaucher to this question: https://www.odoo.com/forum/help-1/question/how-to-hide-the-create-button-dynamical-tree-view-in-openerp-42661
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
| 
             | 
        
            
                
                1
            
            
             kvě 24  
         | 
        1982 | ||
| 
             | 
        
            
                
                0
            
            
             zář 15  
         | 
        4157 | ||
| 
             | 
        
            
                
                2
            
            
             bře 15  
         | 
        7104 | ||
| 
             | 
        
            
                
                1
            
            
             bře 15  
         | 
        4636 | ||
| 
             | 
        
            
                
                2
            
            
             bře 15  
         | 
        12010 |