I want to insert data into the postgresql database of OpenERP, I am able to fetch data from it using ProductProduct.find(1) method, but I’ve no idea how do I use OOOR insert data to the database through it.
Please help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can insert data just like in ActiveRecord in Rails. For a product for example:
product = ProductProduct.find(1)
product.name = "New Name for product"
product.save