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.

55 lines
2.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- OPEN ITEMS -->
  4. <record id="open_items_wizard" model="ir.ui.view">
  5. <field name="name">Open Items</field>
  6. <field name="model">open.items.report.wizard</field>
  7. <field name="arch" type="xml">
  8. <form>
  9. <group name="main_info">
  10. <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
  11. </group>
  12. <group name="filters">
  13. <group name="date_range">
  14. <field name="date_at"/>
  15. </group>
  16. <group name="other_filters">
  17. <field name="target_move" widget="radio"/>
  18. <field name="hide_account_at_0"/>
  19. <field name="foreign_currency"/>
  20. </group>
  21. </group>
  22. <group name="partner_filter" col="1">
  23. <label for="partner_ids"/>
  24. <field name="partner_ids" nolabel="1" widget="many2many_tags" options="{'no_create': True}"/>
  25. </group>
  26. <group name="account_filter" col="4">
  27. <label for="account_ids" colspan="4"/>
  28. <field name="receivable_accounts_only"/>
  29. <field name="payable_accounts_only"/>
  30. <field name="account_ids" nolabel="1" widget="many2many_tags" options="{'no_create': True}" colspan="4"/>
  31. </group>
  32. <footer>
  33. <button name="button_export_html" string="View"
  34. type="object" default_focus="1" class="oe_highlight"/>
  35. or
  36. <button name="button_export_pdf" string="Export PDF" type="object"/>
  37. or
  38. <button name="button_export_xlsx" string="Export XLSX" type="object"/>
  39. or
  40. <button string="Cancel" class="oe_link" special="cancel" />
  41. </footer>
  42. </form>
  43. </field>
  44. </record>
  45. <act_window id="action_open_items_wizard"
  46. name="Open Items"
  47. res_model="open.items.report.wizard"
  48. view_type="form"
  49. view_mode="form"
  50. view_id="open_items_wizard"
  51. target="new" />
  52. </odoo>