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.

72 lines
3.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="aged_open_invoice_webkit" model="ir.ui.view">
  5. <field name="name">Aged Open Invoice Report</field>
  6. <field name="model">aged.open.invoices.webkit</field>
  7. <field name="inherit_id" ref="account.account_common_report_view"/>
  8. <field name="arch" type="xml">
  9. <data>
  10. <xpath expr="/form/label[@string='']" position="replace">
  11. <separator string="Aged Open Invoice" colspan="4"/>
  12. <label nolabel="1"
  13. colspan="4"
  14. string="This report list partner open invoices and indicate when payment is (or was) supposed to be completed"/>
  15. </xpath>
  16. <field name="chart_account_id" position='attributes'>
  17. <attribute name="colspan">4</attribute>
  18. </field>
  19. <xpath expr="//field[@name='target_move']" position="after">
  20. <newline/>
  21. <field name="result_selection" colspan="4"/>
  22. </xpath>
  23. <xpath expr="/form/notebook[1]" position="after">
  24. <separator string="Clearance Analysis Options" colspan="4"/>
  25. <newline/>
  26. <field name="until_date"/>
  27. </xpath>
  28. <page name="filters" position="after">
  29. <page string="Partners Filters" name="partners">
  30. <separator string="Print only" colspan="4"/>
  31. <field name="partner_ids" colspan="4" nolabel="1"/>
  32. </page>
  33. </page>
  34. <page name="filters" position="attributes">
  35. <attribute name="string">Time Filters</attribute>
  36. </page>
  37. <page name="journal_ids" position="attributes">
  38. <attribute name="invisible">True</attribute>
  39. </page>
  40. <field name="fiscalyear_id" position="attributes">
  41. <attribute name="on_change">onchange_fiscalyear(fiscalyear_id, period_to, date_to, until_date)</attribute>
  42. </field>
  43. <field name="date_to" position="attributes">
  44. <attribute name="on_change">onchange_date_to(fiscalyear_id, period_to, date_to, until_date)</attribute>
  45. </field>
  46. <field name="period_to" position="attributes">
  47. <attribute name="on_change">onchange_period_to(fiscalyear_id, period_to, date_to, until_date)</attribute>
  48. </field>
  49. <field name="period_from" position="attributes">
  50. <attribute name="domain">[('fiscalyear_id', '=', fiscalyear_id), ('special', '=', False)]</attribute>
  51. </field>
  52. <field name="period_to" position="attributes">
  53. <attribute name="domain">[('fiscalyear_id', '=', fiscalyear_id), ('special', '=', False)]</attribute>
  54. </field>
  55. </data>
  56. </field>
  57. </record>
  58. <record id="action_account_aged_open_invoice_menu_webkit"
  59. model="ir.actions.act_window">
  60. <field name="name">Aged Open Invoice</field>
  61. <field name="type">ir.actions.act_window</field>
  62. <field name="res_model">aged.open.invoices.webkit</field>
  63. <field name="view_type">form</field>
  64. <field name="view_mode">form</field>
  65. <field name="view_id" ref="aged_open_invoice_webkit"/>
  66. <field name="target">new</field>
  67. </record>
  68. </data>
  69. </openerp>