How can a make a button "create new product" from website builder available on website page?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
Hi,
If you are looking to create a form in web page for the creating the product, either you can create your own page and button for this using the code or you can use the form builder module for this purpose.
This is a third party free module available in the store, you can get it from here: https://www.odoo.com/apps/modules/10.0/html_form_builder/
Check the index file of the above module, you will get idea about how to use it. Just drag the form builder snippet to your web page and show the fields in form so that user can enter and create records.
Thanks
Thanks! But i still don't understand how to call the needed action.
you can check the module index file and this video: https://www.youtube.com/watch?v=9h3L--cm14M&feature=youtu.be
Thanks so much! everything works!
I use this form for creation a new product from webpage, but it writes the value of record "created_by" always OdooBot while i need to define user in this field. how can i change this logic?
it's a trouble(
So i can't use html_form_builder, because i need to define access rules (products are visible only for their creators).
I have found the java script method in website_sale module, but now i don't know how make him avaliable in my custom module.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
12月 23
|
14890 | ||
|
0
10月 23
|
33 | ||
|
3
10月 23
|
789 | ||
|
1
10月 23
|
569 | ||
|
1
8月 23
|
2543 |