we need to add an custom action to the res.partner model in Edit/Detailview.
following code:
<record id="call_from_partner_action" model="ir.actions.server">
<field name="name">Custom Export from Partner</field>
<field name="model_id" ref="model_res_partner"/>
<field name="state">code</field>
<field name="code">action = model.cron_export_for_external()</field>
</record>
<record model="ir.values" id="demo_any_id">
<field name="model_id" ref="model_res_partner" />
<field name="name">test</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.server,' +str(ref('call_from_partner_action'))" />
<field name="key">action</field>
<field name="model">res.partner.model</field>
</record>
the second <record> leads to odoo.tools.convert.ParseError: "ir.values" while parsing ...
how should the record for ir.values be written in Odoo V12?