templates.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <openerp>
  2. <data>
  3. <template id="eiru_purchases.assets" name="Eiru Purchases" inherit_id="eiru_assets.assets">
  4. <xpath expr="." position="inside">
  5. <link rel="stylesheet" href="/eiru_purchases/static/src/main.css" />
  6. <script type="text/javascript" src="/eiru_purchases/static/src/main.js" />
  7. </xpath>
  8. </template>
  9. <record id="eiru_purchases.purchases_action" model="ir.actions.client">
  10. <field name="name">Eiru Purchases</field>
  11. <field name="tag">eiru_purchases.action_launch</field>
  12. <field name="params">{'mode': 'purchase'}</field>
  13. </record>
  14. <record id="eiru_purchases.expenses_action" model="ir.actions.client">
  15. <field name="name">Eiru Expenses</field>
  16. <field name="tag">eiru_purchases.action_launch</field>
  17. <field name="params">{'mode': 'expense'}</field>
  18. </record>
  19. <record id="eiru_purchases.expenses_rel_1_action" model="ir.actions.client">
  20. <field name="name">Eiru Expenses 1</field>
  21. <field name="tag">eiru_purchases.action_launch</field>
  22. <field name="params">{'mode': 'product_picking'}</field>
  23. </record>
  24. <record id="eiru_purchases.expenses_rel_2_action" model="ir.actions.client">
  25. <field name="name">Eiru Expenses 2</field>
  26. <field name="tag">eiru_purchases.action_launch</field>
  27. <field name="params">{'mode': 'payment'}</field>
  28. </record>
  29. <record id="eiru_purchases.expenses_rel_3_action" model="ir.actions.client">
  30. <field name="name">Eiru Expenses 3</field>
  31. <field name="tag">eiru_purchases.action_launch</field>
  32. <field name="params">{'mode': 'product_taking'}</field>
  33. </record>
  34. <!-- <menuitem id="eiru_purchases.new_purchase" name="Nueva compra" parent="eiru_dashboard.eiru_dashboard_main" action="eiru_purchases.purchases_action" sequence="4" />
  35. <menuitem id="eiru_purchases.new_expense" name="Nuevo gasto" parent="eiru_dashboard.eiru_dashboard_main" action="eiru_purchases.expenses_action" sequence="5" /> -->
  36. </data>
  37. </openerp>