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

Hello everyone, I'm feeling a bit confused about how to retrieve data from my backend model and display it on my website. For instance, I'm using a drag-and-drop component provided by the website's model. How can I display data from my custom model, like images, in a carousel on the website? Additionally, I'd like to know how to submit a website form and insert the submitted data into my custom model. Any guidance would be greatly appreciated!

아바타
취소
베스트 답변

Hi,


You can use a controller in odoo to achieve this.Controllers are the class which lets you handle website requests. So create a controller and set the form action as the controller route with controller type as http and with post method.



You can refer to this blog for more information: https://www.cybrosys.com/blog/web-controllers-in-odoo


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
1
7월 22
9666
0
10월 21
2656
0
3월 21
2713
1
3월 21
5676
1
6월 19
3112