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.

34 lines
1.5 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="unreconcile_bank_statement_form_view" model="ir.ui.view">
  5. <field name="name">account.bank.statement.form.view</field>
  6. <field name="model">account.bank.statement</field>
  7. <field name="inherit_id" ref="account.view_bank_statement_form"/>
  8. <field name="arch" type="xml">
  9. <button string="Import Invoice" position="before">
  10. <button type="action"
  11. class="oe_inline oe_stat_button"
  12. id="wiz_unreconcile"
  13. icon="fa-pencil-square-o"
  14. name="%(bank_statement_reconcile_action)d"
  15. attrs="{'invisible': [('state', '!=', 'draft')]}"
  16. style="width: 180px !important;">
  17. <div>Import<br/>Payments and Receipts</div>
  18. </button>
  19. <button type="object"
  20. class="oe_inline oe_stat_button"
  21. id="wiz_unreconcile"
  22. icon="fa-strikethrough"
  23. name="delete_unreconciled"
  24. attrs="{'invisible': [('state', '=', 'confirm')]}"
  25. style="width: 180px !important;">
  26. <div>Remove Unreconciled</div>
  27. </button>
  28. </button>
  29. </field>
  30. </record>
  31. </data>
  32. </openerp>