Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4016 Visualizzazioni

how can we disable update button in inventory tab in product form when log in as a non-admin user

Avatar
Abbandona
Risposta migliore

Hi,

Add group to the button.

ie,

<button name="%(action_view_change_product_quantity)d" string="update"
                            type="action"
                            class="oe_link" groups="stock.group_stock_manager"/>
Avatar
Abbandona
Autore

admin should enabled to update the product details

Autore

the non admin users should have only the read access,but the admin should have the rights to update by all means

Autore

groups="stock.group_stock_manager."which group do you mean?

Post correlati Risposte Visualizzazioni Attività
0
mar 15
3438
1
gen 24
14230
1
ago 22
5781
2
mar 18
5056
0
gen 18
3163