I want to insert a partner while installing my custom module. For this i am writing a data file. My datafile record.
I have tried different ways to give value to purchase_warn field.
first use case:
<record model="res.partner" id="vendor_partner_system_cretaed">
<field name="name">Vendorportal_system</field>
<field name="purchase_warn" eval="[(1, ('No Message'))]"/>
</record>
second use case:
<record model="res.partner" id="vendor_partner_system_cretaed">
<field name="name">Vendorportal_system</field>
<field name="purchase_warn" >No Message</field>
</record>
third use case:
<record model="res.partner" id="vendor_partner_system_cretaed">
<field name="name">Vendorportal_system</field>
<field name="purchase_warn" ref="No Message"/>
</record>
But no use case helps me. Can any one help me where i am doing mistake?