Odoo Help

Welcome!

This community 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.

1

adding data to a table?

By
eoin ahern
on 3/27/14, 4:14 AM 628 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>
</record>

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.

0

Jagdish Panchal

--Jagdish Panchal--
2674
| 5 3 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

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

Hi,

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

Thanks

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/27/14, 4:14 AM
Seen: 628 times
Last updated: 3/16/15, 8:10 AM