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.

73 lines
4.0 KiB

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