Saturday, October 6, 2012

XML Data Serialization

basic syntax xml in openerp

<?xml version="1.0"?>
<openerp>
    <data>
    <record model="model.name_1" id="id_name_1">
        <field name="field1">
            field1 content
        </field>
        <field name="field2">
            field2 content
        </field>
        (...)
    </record>
    <record model="model.name_2" id="id_name_2">
        (...)
    </record>
    (...)
    </data>
</openerp>


more inf:
http://doc.openerp.com/v6.0/developer/5_16_data_serialization/xml_serialization.html

No comments:

Post a Comment