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.

48 lines
1.7 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="name">wizard_open_tax_balances</field>
  7. <field name="model">wizard.open.tax.balances</field>
  8. <field name="arch" type="xml">
  9. <form string="Taxes Balance">
  10. <group>
  11. <field name="company_id"/>
  12. <field name="date_range_id"/>
  13. <field name="from_date"></field>
  14. <field name="to_date"></field>
  15. <field name="target_move"></field>
  16. </group>
  17. <footer>
  18. <button string="Open Taxes" name="open_taxes" type="object" class="oe_highlight"/>
  19. or
  20. <button string="Cancel" class="oe_link" special="cancel"/>
  21. </footer>
  22. </form>
  23. </field>
  24. </record>
  25. <record id="action_open_tax_balances" model="ir.actions.act_window">
  26. <field name="name">Taxes Balance</field>
  27. <field name="res_model">wizard.open.tax.balances</field>
  28. <field name="view_type">form</field>
  29. <field name="view_mode">form</field>
  30. <field name="view_id" ref="wizard_open_tax_balances"/>
  31. <field name="target">new</field>
  32. </record>
  33. <menuitem
  34. id="menu_tax_balances"
  35. name="Taxes Balance"
  36. parent="account.menu_finance_reports"
  37. groups="account.group_account_user,account.group_account_manager"/>
  38. <menuitem
  39. action="action_open_tax_balances"
  40. id="menu_action_open_tax_balances"
  41. parent="menu_tax_balances"
  42. groups="account.group_account_user,account.group_account_manager"/>
  43. </odoo>