Odoo Help


adding data to a table?

eoin ahern
on 3/27/14, 4:14 AM 982 views

I want to add a row to a table created i my openerp module. cant do it. lol. ive already tried this in my .xml view

 <record model="prods.prods" id="row1stuff">
        <field name="name"> "blah" </field>
        <field name="code"> "content" </field>
        <field name="sku"> "blah" </field>
        <field name="description">"my stuff"</field>
        <field name="salepricewithvat" eval="12"></field>
        <field name="group"> "field2 content" </field>
        <field name="id"> "blah" </field>
        <field name="applicationid"> "field2 content" </field>

but that didnt add any data to the table adding data to a table is the next small step i want to take but currently its not working. my journey so far with openerp has been very very slow.


Jagdish Panchal

--Jagdish Panchal--

| 5 4 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 3/27/14, 4:26 AM


Create demo.xml file in demo file add you row data and add it in __openerp__.py and upgrade your module.


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: 3/27/14, 4:14 AM
Seen: 982 times
Last updated: 3/16/15, 8:10 AM