Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 860 Bytes

menu.md

File metadata and controls

21 lines (16 loc) · 860 Bytes

Creando Menu Adicional con Filtros

<record id="action_invoice_rejected_sii" model="ir.actions.act_window">
        <field name="name">Documentos Rechazados</field>
        <field name="res_model">account.invoice</field>
        <field name="type">ir.actions.act_window</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form,kanban,calendar,graph,pivot</field>
        <field name="domain">[('type', 'in', ['out_invoice','out_refund']),('sii_result','=','rejected')]</field>
        <field name="search_view_id" ref="account.view_account_invoice_filter"/>
    </record>

Remplazando permiso a un menu

<menuitem action="stock.action_inventory_form" id="stock.menu_action_inventory_form" parent="stock.menu_stock_inventory_control" sequence="30"
            groups="maryun_setup.picking_seller_group"/>