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.

75 lines
3.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
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" 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"
  25. nolabel="1"
  26. widget="many2many_tags"
  27. options="{'no_create': True}"/>
  28. </group>
  29. <group name="account_filter" col="4">
  30. <field name="receivable_accounts_only"/>
  31. <field name="payable_accounts_only"/>
  32. <field name="account_ids"
  33. nolabel="1"
  34. widget="many2many_tags"
  35. options="{'no_create': True}"
  36. colspan="4"/>
  37. </group>
  38. <footer>
  39. <button name="button_export_html" string="View"
  40. type="object" default_focus="1" class="oe_highlight"/>
  41. or
  42. <button name="button_export_pdf" string="Export PDF" type="object"/>
  43. or
  44. <button name="button_export_xlsx" string="Export XLSX" type="object"/>
  45. or
  46. <button string="Cancel" class="oe_link" special="cancel" />
  47. </footer>
  48. </form>
  49. </field>
  50. </record>
  51. <act_window id="action_open_items_wizard"
  52. name="Open Items"
  53. res_model="open.items.report.wizard"
  54. view_type="form"
  55. view_mode="form"
  56. view_id="open_items_wizard"
  57. target="new" />
  58. <!--Add to res.partner action-->
  59. <act_window id="act_action_open_items_wizard_partner_relation"
  60. name="Open Items Partner"
  61. res_model="open.items.report.wizard"
  62. src_model="res.partner"
  63. view_mode="form"
  64. context="{
  65. 'default_receivable_accounts_only':1,
  66. 'default_payable_accounts_only':1,
  67. }"
  68. groups="account.group_account_manager"
  69. key2="client_action_multi"
  70. target="new" />
  71. </odoo>