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

        <record id="action_hgt_merge_incidenciastemas_act_window" model="ir.actions.act_window">
            <field name="type">ir.actions.act_window</field>
            <field name="name">Agrupar</field>
            <field name="res_model">hgt.incidencias_temas_merge</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        <record id="view_hgt_merge_incidenciastemas_form" model="ir.ui.view">
            <field name="name">Agrupar</field>
            <field name="model">hgt.incidencias_temas_merge</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="Agrupar Incidencias por Temas">
                            <h3 colspan="2">Elegir Incidencias</h3>
                            <h3 colspan="2" >Elegir Tema</h3>
                            <field name="merge_incidencias" widget="many2many_checkboxes" colspan="2" nolabel="1"/>
                            <field name="merge_temas" colspan="2" nolabel="1"/>
                        </group>
                        <footer>
                            <button name="merge_incidenciasytemas" type="object" string="Agrupar"/> 
                            <button string="Cancel" class="btn-default" special="cancel"/>   
                        </footer>   
                    <!--</sheet>-->
                </form>                
            </field>
        </record>
        
        

    </data>
</odoo>