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.

114 lines
5.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">Account Financial Report (Template)</field>
  6. <field name="model">wizard.report</field>
  7. <field name="type">form</field>
  8. <field name="arch" type="xml">
  9. <form string="Account Financial Report">
  10. <group colspan="4">
  11. <group colspan="2">
  12. <separator string="Company Info" colspan="4"/>
  13. <field name="company_id" on_change='onchange_company_id(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="afr_id" on_change='onchange_afr_id(afr_id)' colspan="4"/>
  19. <field name="inf_type" colspan="4"/>
  20. <field name="columns" on_change='onchange_columns(columns,fiscalyear,periods)' colspan="4"/>
  21. </group>
  22. </group>
  23. <group colspan='2'>
  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. </group>
  29. <group colspan="2">
  30. <separator string="FiscalYear Info" colspan="4"/>
  31. <field name="fiscalyear" on_change='onchange_columns(columns,fiscalyear,periods)' domain="[('company_id','=',company_id)]"/>
  32. <newline/>
  33. </group>
  34. </group>
  35. <group colspan='4'>
  36. <group colspan="1">
  37. <separator string="Account to Include" colspan="4"/>
  38. <field name="account_list" nolabel="1" colspan="4" domain="[('company_id','=',company_id)]">
  39. <tree>
  40. <field name='code'/>
  41. <field name='name'/>
  42. <field name='type'/>
  43. </tree>
  44. </field>
  45. </group>
  46. <group colspan="1">
  47. <separator string="Periods to Include" colspan="4"/>
  48. <field
  49. name="periods"
  50. colspan="4"
  51. nolabel="1"
  52. domain="[('fiscalyear_id','=',fiscalyear),('special','=',False),('company_id','=',company_id)]"
  53. attrs="{'readonly':[('columns','=','thirteen')],}"
  54. >
  55. <tree>
  56. <field name='code'/>
  57. <field name='name'/>
  58. <field name='state'/>
  59. </tree>
  60. </field>
  61. </group>
  62. </group>
  63. <group colspan="4">
  64. <group colspan="2">
  65. <separator string="Account's Sign Conventions" colspan="4"/>
  66. <label string="Please check the [ Account's Sign on Reports ] Section in the Company"/>
  67. </group>
  68. <group colspan="2">
  69. <separator string="Total" colspan="4"/>
  70. <field name="tot_check" colspan="4"/>
  71. <field name="lab_str" colspan="4" attrs="{'required':[('tot_check','=',True)], 'readonly':[('tot_check','=',False)],}" />
  72. </group>
  73. </group>
  74. <group colspan="4">
  75. <separator string="" colspan="4"/>
  76. <group colspan="2">
  77. <label string=""/>
  78. </group>
  79. <group colspan="2">
  80. <group colspan="2">
  81. <label string=""/>
  82. </group>
  83. <button name="print_report" string="Print" type="object"/>
  84. </group>
  85. </group>
  86. </form>
  87. </field>
  88. </record>
  89. <record id="action_wizard_report" model="ir.actions.act_window">
  90. <field name="name">Account Financial Report (Multireports)</field>
  91. <field name="res_model">wizard.report</field>
  92. <field name="view_type">form</field>
  93. <field name="view_mode">form</field>
  94. <field name="view_id" ref="wizard_report_view"/>
  95. <field name="target">new</field>
  96. </record>
  97. <menuitem
  98. id="menu_wizard_report"
  99. name="Reporte Balance (Multireportes)"
  100. parent="account.final_accounting_reports"
  101. sequence="99"
  102. groups="account_financial_report.group_afreport"
  103. action="action_wizard_report"/>
  104. </data>
  105. </openerp>