instituciones.xml 1.09 KB
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data noupdate="0">
       
        <!-- primary|extension Inherited .:Form:. view for "model" -->
        <record id="view_instituciones_form_inherited" model="ir.ui.view">
            <field name="name">view.model.form inherited</field>
            <field name="model">hgt.instituciones</field>
            <!-- Please veryfiy, that the following inherited view really sticks to the naming convention. -->
            <field name="inherit_id" ref="asw_crm.asw_hgt_institucioness_form_view" />
            <field name="type">form</field>
            <field name="mode">extension</field>
            <field name="priority" eval="16" />
            <field name="active" eval="True" />
            <field name="arch" type="xml">
                
                <xpath expr="//form/header/field[@name='state']" position="after">
                    <button name="%(action_llamadas_pendientes)d" string="Agendar llamada" type="action" class="oe_highlight"/>
                </xpath>
                 
            </field>
        </record>       

    </data>
</odoo>