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

I'm building my web page in Odoo and I would like to know if it is possible to get data though input and then store it, using a defined model.

Thanks!!!

아바타
취소

Thanks for your reply, problem solved!

Odoo Controller Examples:

1 - https://goo.gl/gPjPas

2 - https://goo.gl/SEHNbA

베스트 답변

Hi,

Yes it possible and you can see a lot of examples in Odoo code itself, you can check the working of the contact us form in the website.

For doing the same without code see this: Record Data To Backend Models From Website Form - Without Code

And in this blog it is shown how the input value in the web form is received in the controller, so after that you can crate the record in backend models by calling create method of required model:  Odoo get web form or template value in controller


Thanks

아바타
취소
관련 게시물 답글 화면 활동
0
6월 21
3115
1
1월 20
3347
0
8월 24
1176
1
7월 24
3713
7
11월 17
32033