OCA/server-tools

View on GitHub
base_import_odoo/demo/import_odoo_database_model.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data noupdate="1">
        <record id="model_partner" model="import.odoo.database.model">
            <field name="sequence">1</field>
            <field name="model_id" ref="base.model_res_partner" />
            <field name="database_id" ref="demodb" />
            <field name="domain">[(1, '=', 1)]</field>
        </record>
        <record id="model_alias" model="import.odoo.database.model">
            <field name="sequence">2</field>
            <field name="model_id" ref="mail.model_mail_alias" />
            <field name="database_id" ref="demodb" />
            <field name="domain">[(1, '=', 1)]</field>
        </record>
        <record id="model_users" model="import.odoo.database.model">
            <field name="sequence">3</field>
            <field name="model_id" ref="base.model_res_users" />
            <field name="database_id" ref="demodb" />
            <field name="domain">[(1, '=', 1)]</field>
        </record>
        <record id="model_groups" model="import.odoo.database.model">
            <field name="sequence">4</field>
            <field name="model_id" ref="base.model_res_groups" />
            <field name="database_id" ref="demodb" />
            <field name="domain">[(1, '=', 1)]</field>
        </record>
        <record id="model_attachment" model="import.odoo.database.model">
            <field name="sequence">5</field>
            <field name="model_id" ref="base.model_ir_attachment" />
            <field name="database_id" ref="demodb" />
            <field name="domain">[('res_model', 'in', ['res.users'])]</field>
        </record>
     </data>
</openerp>