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.

50 lines
2.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  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" groups="base.group_multi_company"/>
  11. </group>
  12. <group name="filters">
  13. <group name="date_ranger">
  14. <field name="date_at"/>
  15. </group>
  16. <group name="other_filters">
  17. <field name="target_move" widget="radio"/>
  18. <field name="hide_account_balance_at_0"/>
  19. </group>
  20. </group>
  21. <label for="partner_ids"/>
  22. <field name="partner_ids" nolabel="1"/>
  23. <group/>
  24. <label for="account_ids"/>
  25. <group col="4">
  26. <field name="receivable_accounts_only"/>
  27. <field name="payable_accounts_only"/>
  28. </group>
  29. <field name="account_ids" nolabel="1"/>
  30. <footer>
  31. <button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/>
  32. or
  33. <button string="Cancel" class="oe_link" special="cancel" />
  34. </footer>
  35. </form>
  36. </field>
  37. </record>
  38. <record id="action_open_items_wizard" model="ir.actions.act_window">
  39. <field name="name">Open Items</field>
  40. <field name="type">ir.actions.act_window</field>
  41. <field name="res_model">open.items.report.wizard</field>
  42. <field name="view_type">form</field>
  43. <field name="view_mode">form</field>
  44. <field name="view_id" ref="open_items_wizard"/>
  45. <field name="target">new</field>
  46. </record>
  47. </odoo>