menus.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Pedido de Venta -->
  5. <menuitem id="pos_buttons.new_sale" name="Nueva venta" parent="base.menu_sales" action="eiru_pos.pos_action" sequence="6"/>
  6. <!-- Presupuesto -->
  7. <menuitem id="pos_buttons.new_budget" name="Nuevo presupuesto" parent="base.menu_sales" action="eiru_pos.budget_action" sequence="7"/>
  8. <!-- Pedido de compra -->
  9. <menuitem id="pos_buttons.new_purchase" name="Nueva compra" parent="purchase.menu_procurement_management" action="eiru_purchases.purchases_action" sequence="7" />
  10. <!-- Gastos -->
  11. <menuitem id="pos_buttons.new_expense" name="Nuevo gasto" parent="purchase.menu_procurement_management" action="eiru_purchases.expenses_action" sequence="8" />
  12. <!-- Historico de compras -->
  13. <record id="action_unified_purchase_order" model="ir.actions.act_window">
  14. <field name="name">Historico de Compras</field>
  15. <field name="type">ir.actions.act_window</field>
  16. <field name="res_model">purchase.order</field>
  17. <field name="view_type">form</field>
  18. <field name="view_id" ref="purchase.purchase_order_tree"/>
  19. <field name="view_mode">tree,form,calendar,graph</field>
  20. <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
  21. </record>
  22. <menuitem id="menu_unified_purchase_order"
  23. action="action_unified_purchase_order" parent="purchase.menu_procurement_management"
  24. sequence="1"/>
  25. <!-- Historico de ventas -->
  26. <record id="action_unified_order" model="ir.actions.act_window">
  27. <field name="name">Historico de Ventas</field>
  28. <field name="type">ir.actions.act_window</field>
  29. <field name="res_model">sale.order</field>
  30. <field name="view_type">form</field>
  31. <field name="view_id" ref="sale.view_quotation_tree"/>
  32. <field name="view_mode">tree,form,calendar,graph</field>
  33. <field name="search_view_id" ref="sale.view_sales_order_filter"/>
  34. </record>
  35. <menuitem id="menu_unified_order"
  36. action="action_unified_order" parent="base.menu_sales"
  37. sequence="2"/>
  38. </data>
  39. </openerp>