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.

51 lines
2.2 KiB

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