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
4.1 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="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="Open Invoices" colspan="4"/>
  12. <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."/>
  13. </xpath>
  14. <field name="chart_account_id" position='attributes'>
  15. <attribute name="colspan">4</attribute>
  16. </field>
  17. <xpath expr="//field[@name='target_move']" position="after">
  18. <newline/>
  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. <group>
  33. <field name="amount_currency"/>
  34. <field name="group_by_currency"/>
  35. </group>
  36. </page>
  37. </page>
  38. <page name="filters" position="attributes">
  39. <attribute name="string">Time Filters</attribute>
  40. </page>
  41. <page name="journal_ids" position="attributes">
  42. <attribute name="invisible">True</attribute>
  43. </page>
  44. <field name="fiscalyear_id" position="attributes">
  45. <attribute name="on_change">onchange_fiscalyear(fiscalyear_id, period_to, date_to, until_date)</attribute>
  46. </field>
  47. <field name="date_to" position="attributes">
  48. <attribute name="on_change">onchange_date_to(fiscalyear_id, period_to, date_to, until_date)</attribute>
  49. </field>
  50. <field name="period_to" position="attributes">
  51. <attribute name="on_change">onchange_period_to(fiscalyear_id, period_to, date_to, until_date)</attribute>
  52. </field>
  53. <field name="period_from" position="attributes">
  54. <attribute name="domain">[('fiscalyear_id', '=', fiscalyear_id), ('special', '=', False)]</attribute>
  55. </field>
  56. <field name="period_to" position="attributes">
  57. <attribute name="domain">[('fiscalyear_id', '=', fiscalyear_id), ('special', '=', False)]</attribute>
  58. </field>
  59. </data>
  60. </field>
  61. </record>
  62. <record id="action_account_open_invoices_menu_webkit" model="ir.actions.act_window">
  63. <field name="name">Open Invoices Report</field>
  64. <field name="type">ir.actions.act_window</field>
  65. <field name="res_model">open.invoices.webkit</field>
  66. <field name="view_type">form</field>
  67. <field name="view_mode">form</field>
  68. <field name="view_id" ref="account_open_invoices_view_webkit"/>
  69. <field name="target">new</field>
  70. </record>
  71. </data>
  72. </openerp>