Odoo Help


Save user input (field.char) into a database

Francisco Castro
on 2/19/14, 6:00 AM 810 views

I have a field.char and I want to save the user input into database.




the querie I use is this: cr.execute("INSERT INTO gs_recintos (code) VALUES (%s)",(user_input))

so how can I fill the database with the user input on the field code?

In Openerp ORM Create Method Insert data in DB. For more details see the link http://help.openerp.com/question/760/what-is-the-orm-used-in-version-7-of-openerp/

on 2/19/14, 7:16 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/19/14, 6:00 AM
Seen: 810 times
Last updated: 3/16/15, 8:10 AM