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.

46 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_ids" widget="many2many_tags" groups="base.group_multi_company"/>
  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_mode">form</field>
  28. <field name="view_id" ref="wizard_open_tax_balances"/>
  29. <field name="target">new</field>
  30. </record>
  31. <menuitem
  32. id="menu_tax_balances"
  33. name="Taxes Balance"
  34. parent="account.menu_finance_reports"
  35. groups="account.group_account_user,account.group_account_manager"/>
  36. <menuitem
  37. action="action_open_tax_balances"
  38. id="menu_action_open_tax_balances"
  39. parent="menu_tax_balances"
  40. groups="account.group_account_user,account.group_account_manager"/>
  41. </odoo>