How can you get data from the front-end to the backend with xml? Can't find any documentation on this topic.
Thx in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can you get data from the front-end to the backend with xml? Can't find any documentation on this topic.
Thx in advance.
Hi,
For getting data from front end to back end you have to use the concept controllers in the Odoo. By using the XML only you cant achieve it. Some python coding is necessary for that. Please see this tutorial:- https://www.odoo.yenthevg.com/creating-webpages-controllers-odoo10/
Also you can checkout this app:- https://www.odoo.com/apps/modules/11.0/html_form_builder/
Which will save data entered in the form to backend to corresponding model.
Thanks
Nice to see you like my blog ;-) +1 for answering!
Not only me, there are many who is use full with your blogs :)
the guide is only showing how to get data from your back-end to your front-end, it isn't showing how to submit data, for example from a form, to your backend. Or am i seeing this wrong?
See this: http://learnopenerp.blogspot.com/2018/06/odoo-get-web-form-template-value-in-controller.html as the process is quite lengthy it is tough to explain. You can create a form in the XML and create a controller for the form action. Best example is you can check the working of the contact us form in the Odoo
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Jun 21
|
1981 | ||
|
0
Sep 24
|
128 | ||
|
2
Aug 24
|
215 | ||
Getting data from user form
Solved
|
|
3
Sep 23
|
2180 | |
|
0
Apr 23
|
989 |