Skip to Content
Menu
This question has been flagged
1 Reply
1976 Views

not able to migarte...in v13 ir.values changed to ir.default

<record model="ir.value" id="batch_upload_advance_search">
<field name="model_id" ref="model_res_partner"/>
<field name="name">Batch Upload</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_batch_upload'))"/>
<field name="key">action</field>
<field name="model">res.partner</field>
</record>
Avatar
Discard
Best Answer

Hello paidy kumar,

you need to add binding_model_id & biniding_view_types in action of Batch upload(i.e. action_batch_upload).Please refer below code.

<record id="action_batch_upload" model="ir.actions.act_window">

    <field name="name">Batch Upload</field>

    <field name="res_model">(model_name)</field>

    <field name="view_mode">tree,form</field>

    <field name="view_id" ref="(batch upload view ID)"/>

    <field name="target">new</field>

    <field name="binding_model_id" ref="base.model_res_partner" />

    <field name="binding_view_types">list</field>

</record>

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

Avatar
Discard