1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- Reporting Dashboard -->
- <record id="eiru_reporting_dashboard_action" model="ir.actions.client">
- <field name="name">Reporting Dashboard</field>
- <field name="tag">eiru_reporting_dashboard.action_dashboard</field>
- </record>
- <!-- Clientes -->
-
- <record id="eiru_reporting_dashboard_customer_action" model="ir.actions.act_window">
- <field name="name">Clientes</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">res.partner</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,kanban,form</field>
- <field name="view_id" ref="base.view_partner_tree"/>
- <field name="domain">[('active', '=', True),('customer', '=', True)]</field>
- <field name="search_view_id" ref="base.view_res_partner_filter"/>
- </record>
- <!-- Proveedores -->
-
- <record id="eiru_reporting_dashboard_supplier_action" model="ir.actions.act_window">
- <field name="name">Proveedores</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">res.partner</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,kanban,form</field>
- <field name="view_id" ref="base.view_partner_tree"/>
- <field name="domain">[('active', '=', True),('supplier', '=', True)]</field>
- <field name="search_view_id" ref="base.view_res_partner_filter"/>
- </record>
- <!-- Compras -->
-
- <record id="eiru_reporting_dashboard_purchase_action" model="ir.actions.act_window">
- <field name="name">Registro de Compras</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">purchase.order</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="purchase.purchase_order_tree"/>
- <field name="domain">[]</field>
- <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
- </record>
- <!-- Productos -->
-
- <record id="eiru_reporting_dashboard_product_action" model="ir.actions.act_window">
- <field name="name">Productos</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">product.template</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,kanban,form</field>
- <field name="view_id" ref="product.product_template_tree_view"/>
- <field name="domain">[('active', '=', True)]</field>
- <field name="search_view_id" ref="product.product_template_search_view"/>
- </record>
-
- <!-- Registro de caja -->
-
- <!-- <record id="eiru_reporting_dashboard_cash_action" model="ir.actions.act_window">
- <field name="name">Registro de Caja</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">account.bank.statement</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form,graph</field>
- <field name="view_id" ref="account.view_cash_statement_tree"/>
- <field name="domain">[('journal_id.type', '=', 'cash')]</field>
- <field name="search_view_id" ref="account.view_account_bank_statement_filter"/>
- </record> -->
- <!-- Extractos bancarios -->
- <!-- <record id="eiru_reporting_dashboard_bank_action" model="ir.actions.act_window">
- <field name="name">Extractos bancarios</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">account.bank.statement</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form,graph</field>
- <field name="view_id" ref="account.view_bank_statement_tree"/>
- <field name="domain">[('journal_id.type', '=', 'bank')]</field>
- <field name="search_view_id" ref="account.view_account_bank_statement_filter"/>
- </record> -->
- </data>
- </openerp>
|