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

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
8144
1
січ. 17
3995
0
лип. 16
2776
1
груд. 15
4050
1
серп. 24
2104