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.

94 lines
4.2 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 to include" colspan="4"/>
  26. <field name="account_list" nolabel="1" colspan="4" domain="[('company_id','=',company_id)]">
  27. <tree>
  28. <field name='code'/>
  29. <field name='name'/>
  30. <field name='type'/>
  31. </tree>
  32. </field>
  33. <field name="display_account" required="True"/>
  34. <field name="display_account_level" required="True" />
  35. </group>
  36. <group colspan="2">
  37. <separator string="Period" colspan="4"/>
  38. <field name="fiscalyear"/>
  39. <newline/>
  40. <field name="filter" required="True"/>
  41. <newline/>
  42. <group attrs="{'invisible':[('filter','=','none')]}" colspan="4">
  43. <group attrs="{'invisible':[('filter','=','byperiod')]}" colspan="4">
  44. <separator string="Date Filter" colspan="4"/>
  45. <field name="date_from"/>
  46. <field name="date_to"/>
  47. </group>
  48. <group attrs="{'invisible':[('filter','=','bydate')]}" colspan="4">
  49. <separator string="Filter on Periods" colspan="4"/>
  50. <field name="periods" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',fiscalyear)]"/>
  51. </group>
  52. </group>
  53. </group>
  54. <group colspan="4">
  55. <newline/>
  56. <group colspan="4">
  57. <separator string="Total" colspan="4"/>
  58. <field name="tot_check" colspan="4"/>
  59. <field name="lab_str" colspan="4"/>
  60. </group>
  61. <button name="print_report" string="Print" type="object"/>
  62. </group>
  63. </group>
  64. </form>
  65. </field>
  66. </record>
  67. <record id="action_wizard_report" model="ir.actions.act_window">
  68. <field name="name">Reporte Balance (Multireportes)</field>
  69. <field name="res_model">wizard.report</field>
  70. <field name="view_type">form</field>
  71. <field name="view_mode">form</field>
  72. <field name="view_id" ref="wizard_report_view"/>
  73. <field name="target">new</field>
  74. </record>
  75. <menuitem
  76. id="menu_wizard_report"
  77. name="Reporte Balance (Multireportes)"
  78. parent="account.final_accounting_reports"
  79. sequence="99"
  80. groups="account_financial_report.group_afreport"
  81. action="action_wizard_report"/>
  82. </data>
  83. </openerp>