bitacora.xml 1.28 KB
<?xml version='1.0' encoding='utf-8'?>
<odoo>
    <data noupdate="0">
        <record id="nodo_bitacora_wizzard_view_form" model="ir.ui.view">
            <field name="name">Bitacora</field>
            <field name="model">tpv.correccion_bitacora</field>
            <field name="arch" type="xml">
                <form>
                    <group   col="1">
                        <field name="texto" nolabel="1"/>
                    </group>
                    <footer>
                        <button name="Agregar" class="btn btn-success" string="Agregar Texto" type="object" />
                        <button special='cancel' string="Cancelar"/>
                    </footer>
                </form>
            </field>
        </record>

        <!-- asw.prod_pfinal action window -->
    
        <record id="nodo_bitacora_wizzard_action" model="ir.actions.act_window">
            <field name="name">Bitacora</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">tpv.correccion_bitacora</field>
            <field name="src_model">tpv.correccion_bitacora</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
            <field name="multi">True</field>
        </record>
        
    </data>
</odoo>