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.

56 lines
2.8 KiB

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