تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4707 أدوات العرض

The task is to allow users to create their own products (domain names) and buy them using eCommerce. Form for creation product I realized through HTML Form Builder. Now I want to make products visible only for their creators (['create_uid','=',user_id]), but can’t do it, because field 'create_uid = OdooBot' for products from HTML Form Builder. When I create products in module create_uid = Admin (name of creator). How can I change the default value of create_uid in HTML Form Builder? 

The second variant is to make button on web page which runs js function “New Product“ (from website_sale.editor.js). I tried to make it, but it doesn’t works. I think it is because of its inheritance with assets. Or no? 

Is there any other ideas to complete task? THANKS!



الصورة الرمزية
إهمال

What is the user_id if you make people LOGIN to the website?

الكاتب

their names (Admin, Nick and so on). Where hides OdooBot in actions?

الكاتب

when i make a new product with Website Builder - the create_uid = Admin (name of creator)

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 20
3745
1
يناير 20
4012
1
يوليو 19
4377
1
مايو 20
2556
2
أبريل 20
6069