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.

102 lines
4.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="wizard_report_view" model="ir.ui.view">
  5. <field name="name">Wizard Report Balance Four Columns</field>
  6. <field name="model">wizard.report</field>
  7. <field name="type">form</field>
  8. <field name="arch" type="xml">
  9. <form string="General Account Balance (Multireports)">
  10. <group colspan="4">
  11. <group colspan="2">
  12. <separator string="Company Info" colspan="4"/>
  13. <field name="company_id" colspan="4"/>
  14. <field name="currency_id" domain="[('company_id','=',company_id)]" colspan="4"/>
  15. </group>
  16. <group colspan="2">
  17. <separator string="Report Info" colspan="4"/>
  18. <field name="inf_type" colspan="4"/>
  19. <field name="columns" colspan="4"/>
  20. </group>
  21. </group>
  22. <newline/>
  23. <group>
  24. <group colspan="2">
  25. <separator string="Accounts Info" colspan="4"/>
  26. <field name="display_account" required="True" colspan="4"/>
  27. <field name="display_account_level" required="True" colspan="4"/>
  28. <separator string="Account to Include" colspan="4"/>
  29. <field name="account_list" nolabel="1" colspan="4" domain="[('company_id','=',company_id)]">
  30. <tree>
  31. <field name='code'/>
  32. <field name='name'/>
  33. <field name='type'/>
  34. </tree>
  35. </field>
  36. </group>
  37. <group colspan="2">
  38. <separator string="FiscalYear Info" colspan="4"/>
  39. <field name="fiscalyear" domain="[('company_id','=',company_id)]"/>
  40. <newline/>
  41. <field name="filter" required="True"/>
  42. <newline/>
  43. <group attrs="{'invisible':[('filter','=','none')]}" colspan="4">
  44. <group attrs="{'invisible':[('filter','=','byperiod')]}" colspan="4">
  45. <separator string="Date Filter" colspan="4"/>
  46. <field name="date_from"/>
  47. <field name="date_to"/>
  48. </group>
  49. <group attrs="{'invisible':[('filter','=','bydate')]}" colspan="4">
  50. <separator string="Filter on Periods" colspan="4"/>
  51. <field name="periods" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',fiscalyear)]">
  52. <tree>
  53. <field name='code'/>
  54. <field name='name'/>
  55. <field name='state'/>
  56. </tree>
  57. </field>
  58. </group>
  59. </group>
  60. </group>
  61. <group colspan="4">
  62. <newline/>
  63. <group colspan="4">
  64. <separator string="Total" colspan="4"/>
  65. <field name="tot_check" colspan="4"/>
  66. <field name="lab_str" colspan="4"/>
  67. </group>
  68. <button name="print_report" string="Print" type="object"/>
  69. </group>
  70. </group>
  71. </form>
  72. </field>
  73. </record>
  74. <record id="action_wizard_report" model="ir.actions.act_window">
  75. <field name="name">Reporte Balance (Multireportes)</field>
  76. <field name="res_model">wizard.report</field>
  77. <field name="view_type">form</field>
  78. <field name="view_mode">form</field>
  79. <field name="view_id" ref="wizard_report_view"/>
  80. <field name="target">new</field>
  81. </record>
  82. <menuitem
  83. id="menu_wizard_report"
  84. name="Reporte Balance (Multireportes)"
  85. parent="account.final_accounting_reports"
  86. sequence="99"
  87. groups="account_financial_report.group_afreport"
  88. action="action_wizard_report"/>
  89. </data>
  90. </openerp>