Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3101 Переглядів

I want that a user that have the portal group, can create a product. How can I do that?


Аватар
Відмінити
Найкраща відповідь

Normally portal users will have no access right to create products. So you should create a html form and action should create the products with the details. While creating you have to write code to create as a superuser.

eg: request.env['product.template'].sudo().create(*kw)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 17
7951
1
січ. 17
3828
0
лип. 16
2582
1
груд. 15
3929
1
серп. 24
1845