Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3952 Zobrazení

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

Avatar
Zrušit

Thanks for your reply, problem solved!

Odoo Controller Examples:

1 - https://goo.gl/gPjPas

2 - https://goo.gl/SEHNbA

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 21
2988
1
led 20
3206
0
srp 24
1073
1
čvc 24
3569
7
lis 17
31814