Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4026 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Autor

admin should enabled to update the product details

Autor

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

Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
März 15
3441
1
Jan. 24
14252
1
Aug. 22
5792
2
März 18
5059
0
Jan. 18
3166