Example1:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record forcecreate="True" id="decimal_custom_dp1" model="decimal.precision">
<field name="name">Calibration</field>
<field name="digits">4</field>
</record>
</data>
</openerp>
Example2:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!--Partner-->
<record id="indirect_cost_alloc_account_acc" model="ir.config_parameter">
<field name="key">indirect_cost_alloc_account_acc</field>
<field name="value">Value of Account to be set default in indirect cost allocation</field>
</record>
</data>
</openerp>
Example3:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="account_payment_term_15days" model="account.payment.term">
<field name="name">15 Days</field>
<field name="note">15 Days</field>
</record>
</data>
</openerp>
Example4:
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="analytic_journal_sale" model="account.analytic.journal">
<field name="code">SAL</field>
<field name="name">Sales</field>
<field name="type">sale</field>
</record>
<record id="exp" model="account.analytic.journal">
<field name="code">PUR</field>
<field name="name">Purchases</field>
<field name="type">purchase</field>
</record>
</data>
</openerp>
No comments:
Post a Comment