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.

47 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Lorenzo Battistini - Agile Business Group
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="wizard_open_tax_balances" model="ir.ui.view">
  6. <field name="model">wizard.open.tax.balances</field>
  7. <field name="arch" type="xml">
  8. <form string="Taxes Balance">
  9. <group>
  10. <field name="company_id"/>
  11. <field name="date_range_id"/>
  12. <field name="from_date"></field>
  13. <field name="to_date"></field>
  14. <field name="target_move"></field>
  15. </group>
  16. <footer>
  17. <button string="Open Taxes" name="open_taxes" type="object" class="oe_highlight"/>
  18. or
  19. <button string="Cancel" class="oe_link" special="cancel"/>
  20. </footer>
  21. </form>
  22. </field>
  23. </record>
  24. <record id="action_open_tax_balances" model="ir.actions.act_window">
  25. <field name="name">Taxes Balance</field>
  26. <field name="res_model">wizard.open.tax.balances</field>
  27. <field name="view_type">form</field>
  28. <field name="view_mode">form</field>
  29. <field name="view_id" ref="wizard_open_tax_balances"/>
  30. <field name="target">new</field>
  31. </record>
  32. <menuitem
  33. id="menu_tax_balances"
  34. name="Taxes Balance"
  35. parent="account.menu_finance_reports"
  36. groups="account.group_account_user,account.group_account_manager"/>
  37. <menuitem
  38. action="action_open_tax_balances"
  39. id="menu_action_open_tax_balances"
  40. parent="menu_tax_balances"
  41. groups="account.group_account_user,account.group_account_manager"/>
  42. </odoo>