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