This question has been flagged
3528 Views

Dear sir/madam,

How could I retrive the data which I submit through the form.I created my url but not able to retrive the data

this is my code snippet

# New defined functions @http.route(['/page/register_confirm/'], type='http', auth="public", website=True) def register_confirm(self, **post): ## What is the code which I should write here for retrieving values of form fields which I submitted. return request.redirect("/shop/payment")

Avatar
Discard

I'm not really sure what you are referring to because if you use Odoo/OpenERP frameworks (ORM, etc.) the data that you have created should be written to the databse when you click on the "Save" button of the page.

Author

sorry sir,Iam refring to the website of website module.i created a form by copying html code from an existing form.but am not able to retrive the data of form fields.