콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5255 화면

How can a make a button "create new product" from website builder available on website page?

아바타
취소
베스트 답변

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.

작성자

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
14891
0
10월 23
33
3
10월 23
789
1
10월 23
569
1
8월 23
2544