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.

54 lines
2.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- wizard action on res.partner -->
  4. <act_window id="customer_activity_statement_wizard_action"
  5. name="Partner Activity Statement"
  6. src_model="res.partner"
  7. res_model="customer.activity.statement.wizard"
  8. view_type="form" view_mode="form"
  9. key2="client_action_multi" target="new"
  10. groups="account.group_account_user"/>
  11. <!-- wizard view -->
  12. <record id="customer_activity_statement_wizard_view" model="ir.ui.view">
  13. <field name="name">Customer Activity Statement Wizard</field>
  14. <field name="model">customer.activity.statement.wizard</field>
  15. <field name="arch" type="xml">
  16. <form name="Report Options">
  17. <div style="text-align:justify">
  18. <label string="The activity statement provides details of all activity on
  19. a partner's receivables and payables between two selected dates. This includes all invoices,
  20. refunds and payments. Any outstanding balance dated prior to the chosen statement
  21. period will appear as a forward balance at the top of the statement. The list is
  22. displayed in chronological order and is split by currencies."/><br/><br/>
  23. <label string="Aging details can be shown in the report, expressed in aging
  24. buckets (30 days due, ...), so the customer or vendor can review how much is open, due or overdue."/>
  25. </div><hr/>
  26. <group name="main_info">
  27. <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
  28. </group>
  29. <group name="account_type">
  30. <label for="account_type"/>
  31. <field name="account_type" nolabel="1" widget="radio"/>
  32. </group>
  33. <group name="dates">
  34. <field name="date_start"/>
  35. <field name="date_end"/>
  36. </group>
  37. <group name="aging_report">
  38. <field name="show_aging_buckets"/>
  39. </group>
  40. <group name="multiple_partners">
  41. <field name="number_partner_ids" readonly="1" invisible="1"/>
  42. <field name="filter_partners_non_due" attrs="{'invisible': [('number_partner_ids', '=', 1)]}"/>
  43. </group>
  44. <footer>
  45. <button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/>
  46. or
  47. <button string="Cancel" class="oe_link" special="cancel" />
  48. </footer>
  49. </form>
  50. </field>
  51. </record>
  52. </odoo>