You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.5 KiB

  1. <openerp>
  2. <data>
  3. <record id="action_invoice_tree_coop" model="ir.actions.act_window">
  4. <field name="name">Cooperator Invoices</field>
  5. <field name="res_model">account.invoice</field>
  6. <field name="view_type">form</field>
  7. <field name="view_mode">tree,kanban,form,calendar,pivot,graph</field>
  8. <field eval="False" name="view_id"/>
  9. <field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field>
  10. <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
  11. <field name="search_view_id" ref="account.view_account_invoice_filter"/>
  12. <field name="help" type="html">
  13. <p class="oe_view_nocontent_create">
  14. Click to create a cooperator invoice.
  15. </p><p>
  16. OpenERP's electronic invoicing allows to ease and fasten the
  17. collection of cooperator payments. The cooperator customer receives the
  18. invoice by email and he can pay online and/or import it
  19. in his own system.
  20. </p><p>
  21. The discussions with the cooperator are automatically displayed at
  22. the bottom of each invoice.
  23. </p>
  24. </field>
  25. </record>
  26. <record id="action_invoice_tree1_view1" model="ir.actions.act_window.view">
  27. <field eval="1" name="sequence"/>
  28. <field name="view_mode">tree</field>
  29. <field name="act_window_id" ref="action_invoice_tree_coop"/>
  30. </record>
  31. <record id="action_invoice_tree1_view2" model="ir.actions.act_window.view">
  32. <field eval="2" name="sequence"/>
  33. <field name="view_mode">form</field>
  34. <field name="view_id" ref="account.invoice_form"/>
  35. <field name="act_window_id" ref="action_invoice_tree_coop"/>
  36. </record>
  37. <menuitem action="action_invoice_tree_coop" id="menu_action_invoice_tree_coop" parent="menu_easy_my_coop_main_coop" groups="easy_my_coop.group_energiris_user"/>
  38. <record id="account.action_invoice_tree1" model="ir.actions.act_window">
  39. <field name="name">Customer Invoices</field>
  40. <field name="res_model">account.invoice</field>
  41. <field name="view_type">form</field>
  42. <field name="view_mode">tree,kanban,form,calendar,pivot,graph</field>
  43. <field eval="False" name="view_id"/>
  44. <field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',False)]</field>
  45. <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
  46. <field name="search_view_id" ref="account.view_account_invoice_filter"/>
  47. <field name="help" type="html">
  48. <p class="oe_view_nocontent_create">
  49. Click to create a customer invoice.
  50. </p><p>
  51. Odoo's electronic invoicing allows to ease and fasten the
  52. collection of customer payments. Your customer receives the
  53. invoice by email and he can pay online and/or import it
  54. in his own system.
  55. </p><p>
  56. The discussions with your customer are automatically displayed at
  57. the bottom of each invoice.
  58. </p>
  59. </field>
  60. </record>
  61. </data>
  62. </openerp>