actions.xml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Reporting Dashboard -->
  5. <record id="eiru_reporting_dashboard_action" model="ir.actions.client">
  6. <field name="name">Reporting Dashboard</field>
  7. <field name="tag">eiru_reporting_dashboard.action_dashboard</field>
  8. </record>
  9. <!-- Clientes -->
  10. <record id="eiru_reporting_dashboard_customer_action" model="ir.actions.act_window">
  11. <field name="name">Clientes</field>
  12. <field name="type">ir.actions.act_window</field>
  13. <field name="res_model">res.partner</field>
  14. <field name="view_type">form</field>
  15. <field name="view_mode">tree,kanban,form</field>
  16. <field name="view_id" ref="base.view_partner_tree"/>
  17. <field name="domain">[('active', '=', True),('customer', '=', True)]</field>
  18. <field name="search_view_id" ref="base.view_res_partner_filter"/>
  19. </record>
  20. <!-- Proveedores -->
  21. <record id="eiru_reporting_dashboard_supplier_action" model="ir.actions.act_window">
  22. <field name="name">Proveedores</field>
  23. <field name="type">ir.actions.act_window</field>
  24. <field name="res_model">res.partner</field>
  25. <field name="view_type">form</field>
  26. <field name="view_mode">tree,kanban,form</field>
  27. <field name="view_id" ref="base.view_partner_tree"/>
  28. <field name="domain">[('active', '=', True),('supplier', '=', True)]</field>
  29. <field name="search_view_id" ref="base.view_res_partner_filter"/>
  30. </record>
  31. <!-- Compras -->
  32. <record id="eiru_reporting_dashboard_purchase_action" model="ir.actions.act_window">
  33. <field name="name">Registro de Compras</field>
  34. <field name="type">ir.actions.act_window</field>
  35. <field name="res_model">purchase.order</field>
  36. <field name="view_type">form</field>
  37. <field name="view_mode">tree,form</field>
  38. <field name="view_id" ref="purchase.purchase_order_tree"/>
  39. <field name="domain">[]</field>
  40. <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
  41. </record>
  42. <!-- Productos -->
  43. <record id="eiru_reporting_dashboard_product_action" model="ir.actions.act_window">
  44. <field name="name">Productos</field>
  45. <field name="type">ir.actions.act_window</field>
  46. <field name="res_model">product.template</field>
  47. <field name="view_type">form</field>
  48. <field name="view_mode">tree,kanban,form</field>
  49. <field name="view_id" ref="product.product_template_tree_view"/>
  50. <field name="domain">[('active', '=', True)]</field>
  51. <field name="search_view_id" ref="product.product_template_search_view"/>
  52. </record>
  53. <!-- Registro de caja -->
  54. <!-- <record id="eiru_reporting_dashboard_cash_action" model="ir.actions.act_window">
  55. <field name="name">Registro de Caja</field>
  56. <field name="type">ir.actions.act_window</field>
  57. <field name="res_model">account.bank.statement</field>
  58. <field name="view_type">form</field>
  59. <field name="view_mode">tree,form,graph</field>
  60. <field name="view_id" ref="account.view_cash_statement_tree"/>
  61. <field name="domain">[('journal_id.type', '=', 'cash')]</field>
  62. <field name="search_view_id" ref="account.view_account_bank_statement_filter"/>
  63. </record> -->
  64. <!-- Extractos bancarios -->
  65. <!-- <record id="eiru_reporting_dashboard_bank_action" model="ir.actions.act_window">
  66. <field name="name">Extractos bancarios</field>
  67. <field name="type">ir.actions.act_window</field>
  68. <field name="res_model">account.bank.statement</field>
  69. <field name="view_type">form</field>
  70. <field name="view_mode">tree,form,graph</field>
  71. <field name="view_id" ref="account.view_bank_statement_tree"/>
  72. <field name="domain">[('journal_id.type', '=', 'bank')]</field>
  73. <field name="search_view_id" ref="account.view_account_bank_statement_filter"/>
  74. </record> -->
  75. </data>
  76. </openerp>