intereses.xml 2.01 KB
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data noupdate="0">

        <record id="action_vnt_interes_act_window" model="ir.actions.act_window">
            <field name="type">ir.actions.act_window</field>
            <field name="name">Interés</field>
            <field name="res_model">vnt_interes</field>
            <field name="view_mode">tree,form</field>
            <field name="view_type">form</field>
            <field name="target">current</field>
        </record>
        
        <record id="view_vnt_interes_tree" model="ir.ui.view">
            <field name="name">Interés</field>
            <field name="model">vnt_interes</field>
            <field name="type">tree</field>
            <field name="mode">primary</field>
            <field name="priority" eval="16" />
            <field name="active" eval="True" />
            <field name="arch" type="xml">
                <tree> 
                    <field name="int_cliente" />
                    <field name="int_todos"/>
                    <field name="int_ritmo"/>
                </tree>                
            </field>
        </record>

        <record id="view_vnt_interes_form" model="ir.ui.view">
            <field name="name">Interés</field>
            <field name="model">vnt_interes</field>
            <field name="type">form</field>
            <field name="mode">primary</field>
            <field name="priority" eval="16" />
            <field name="active" eval="True" />
            <field name="arch" type="xml">
                <form> 
                    <!--<sheet>-->
                        <group col="4">
                            <field name="int_cliente" />
                            <field name="int_todos"/>
                            <field name="int_ritmo"/>
                            <field name="int_plantilla"/>
                        </group>
                                  
                    <!--</sheet>-->
                </form>                
            </field>
        </record>
        
    </data>
</odoo>