actions.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="eiru_dashboard_action" model="ir.actions.client">
  5. <field name="name">Eiru Dashboard</field>
  6. <field name="tag">eiru_dashboard.action_dashboard</field>
  7. </record>
  8. <record id="eiru_dashboard_sale_action" model="ir.actions.act_window">
  9. <field name="name">Ventas y Presupuestos</field>
  10. <field name="res_model">sale.order</field>
  11. <field name="view_type">form</field>
  12. <field name="view_mode">form</field>
  13. <field name="target">current</field>
  14. </record>
  15. <record id="eiru_dashboard_report_action" model="ir.actions.client">
  16. <field name="name">Eiru Dashboard Reports</field>
  17. <field name="tag">eiru_reporting.action_report</field>
  18. </record>
  19. <record id="eiru_dashboard_customers_action" model="ir.actions.act_window">
  20. <field name="name">Mis Clientes</field>
  21. <field name="res_model">res.partner</field>
  22. <field name="view_type">form</field>
  23. <field name="view_mode">tree,form</field>
  24. <field name="target">current</field>
  25. <field name="domain">[("customer", "=", True)]</field>
  26. </record>
  27. <!-- Prodcut Product Type Product-->
  28. <record id="eiru_dashboard_products_action" model="ir.actions.act_window">
  29. <field name="name">Mis Productos</field>
  30. <field name="res_model">product.product</field>
  31. <field name="view_type">form</field>
  32. <field name="view_mode">tree,form</field>
  33. <field name="target">current</field>
  34. <field name="domain">[("sale_ok", "=", True), ("active", "=", True),("type", "=", "product")]</field>
  35. </record>
  36. <!-- Prodcut Product Servicio servicio-->
  37. <record id="eiru_dashboard_products_service_action" model="ir.actions.act_window">
  38. <field name="name">Mis Productos</field>
  39. <field name="res_model">product.product</field>
  40. <field name="view_type">form</field>
  41. <field name="view_mode">tree,form</field>
  42. <field name="target">current</field>
  43. <field name="domain">[("sale_ok", "=", True), ("active", "=", True),("type", "=", "service")]</field>
  44. </record>
  45. <!-- Pagos de cliente fijados-->
  46. <record id="eiru_dashboard_voucher_posted_action" model="ir.actions.act_window">
  47. <field name="name">Pagos de cliente</field>
  48. <field name="res_model">account.voucher</field>
  49. <field name="view_type">form</field>
  50. <field name="view_mode">tree,form</field>
  51. <field name="target">current</field>
  52. <field name="domain">[('type','=','receipt'),('state', '=', 'posted')]</field>
  53. </record>
  54. <!-- Pagos de cliente Borrador -->
  55. <record id="eiru_dashboard_voucher_payment_action" model="ir.actions.act_window">
  56. <field name="name">Pagos a Proveedores</field>
  57. <field name="res_model">account.voucher</field>
  58. <field name="view_type">form</field>
  59. <field name="view_mode">tree,form</field>
  60. <field name="target">current</field>
  61. <field name="domain">[('type','=','payment'),('state', '=', 'posted')]</field>
  62. </record>
  63. <record id="action_dashboard_configuration" model="ir.actions.client">
  64. <field name="name">Eiru Dashboard Configuration</field>
  65. <field name="tag">eiru_dashboard.action_dashboard_configuration</field>
  66. </record>
  67. </data>
  68. </openerp>