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.

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