intereses.xml 2.27 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" string="Clientes" >
                            <field name="int_cliente" widget="many2many_tags" />
                            <field name="int_todos"/>
                         </group>
                         <group col="4" string="Frecuencia">
                            <field nolabel="1" name="int_ritmo"/>
                        </group>
                        <group col="4" string="Plantilla de Envío">
                            <field nolabel="1" name="int_plantilla"/>
                        </group>
                                  
                    <!--</sheet>-->
                </form>                
            </field>
        </record>
        
    </data>
</odoo>