Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3828 Представления

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

Аватар
Отменить
Лучший ответ

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"/>
Аватар
Отменить
Автор

admin should enabled to update the product details

Автор

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

Автор

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

Related Posts Ответы Просмотры Активность
0
мар. 15
3274
1
янв. 24
13867
1
авг. 22
5421
2
мар. 18
4818
0
янв. 18
2930