Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4025 Widoki

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!!!

Awatar
Odrzuć

Thanks for your reply, problem solved!

Odoo Controller Examples:

1 - https://goo.gl/gPjPas

2 - https://goo.gl/SEHNbA

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 21
3084
1
sty 20
3293
0
sie 24
1144
1
lip 24
3669
7
lis 17
31977