invoice_merge_view.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_invoice_merge" model="ir.ui.view">
  5. <field name="name">Merger Partner Invoice</field>
  6. <field name="model">invoice.merge</field>
  7. <field name="arch" type="xml">
  8. <form string="Merge Partner Invoice" version="7.0">
  9. <group>
  10. <separator
  11. string="Are you sure you want to merge these invoices ?"
  12. colspan="4" />
  13. <p>
  14. Please note that:<br/><br/>
  15. Invoices will only be merged if:<br/>
  16. * Invoices are in draft<br/>
  17. * Invoices belong to the same partner<br/>
  18. * Invoices are have same company, partner, address, currency, journal, salesman, account, type<br/><br/>
  19. Lines will only be merged if:<br/>
  20. * Invoice lines are exactly the same except for the product,quantity and unit<br/>
  21. </p>
  22. </group>
  23. <group name="options">
  24. <field name="keep_references"/>
  25. <field name="date_invoice"/>
  26. </group>
  27. <footer>
  28. <button name="merge_invoices" string="Merge Invoices"
  29. type="object" class="oe_highlight" />
  30. or
  31. <button string="Cancel" class="oe_link"
  32. special="cancel" />
  33. </footer>
  34. </form>
  35. </field>
  36. </record>
  37. <act_window name="Merge Partner Invoice" res_model="invoice.merge"
  38. src_model="account.invoice" view_mode="form" target="new"
  39. multi="True" key2="client_action_multi" id="action_view_invoice_merge" />
  40. </data>
  41. </openerp>