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!!!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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!!!
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
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
0
jun. 21
|
2948 | ||
|
1
jan. 20
|
3169 | ||
|
0
ago. 24
|
1021 | ||
|
1
jul. 24
|
3539 | ||
|
7
nov. 17
|
31760 |
Thanks for your reply, problem solved!
Odoo Controller Examples:
1 - https://goo.gl/gPjPas
2 - https://goo.gl/SEHNbA