|
|
<?xml version="1.0" encoding="utf-8"?> <openerp> <data>
<record id="wizard_report_view" model="ir.ui.view"> <field name="name">Account Financial Report (Template)</field> <field name="model">wizard.report</field> <field name="type">form</field> <field name="arch" type="xml"> <form string="Account Financial Report"> <group colspan="4"> <group colspan="2"> <separator string="Company Info" colspan="4"/> <field name="company_id" on_change='onchange_company_id(company_id)' colspan="4"/> <field name="currency_id" domain="[('company_id','=',company_id)]" attrs="{'readonly':[('analytic_ledger','=',True)]}" colspan="4"/> </group> <group colspan="2"> <separator string="Report Info" colspan="4"/> <field name="afr_id" on_change='onchange_afr_id(afr_id)' colspan="4"/> <field name="inf_type" colspan="4" on_change='onchange_inf_type(inf_type)' /> <field name="columns" on_change='onchange_columns(columns,fiscalyear,periods)' colspan="4"/> <field name="analytic_ledger" colspan="4" attrs="{'readonly':['|',('columns','!=','four'),('inf_type','!=','BS')],}" on_change='onchange_analytic_ledger(company_id,analytic_ledger)' /> </group> </group> <group colspan='4'> <group colspan="2"> <separator string="Accounts Info" colspan="4"/> <field name="display_account" required="True" colspan="4"/> <field name="display_account_level" required="True" colspan="4"/> </group> <group colspan="2"> <separator string="FiscalYear Info" colspan="4"/> <field name="fiscalyear" on_change='onchange_columns(columns,fiscalyear,periods)' domain="[('company_id','=',company_id)]"/> <newline/> </group> </group> <group colspan='4'> <group colspan="1"> <separator string="Accounts to Include" colspan="4"/> <field name="account_list" nolabel="1" colspan="4" domain="[('company_id','=',company_id)]"> <tree> <field name='code'/> <field name='name'/> <field name='type'/> <field name='level'/> </tree> </field> </group> <group colspan="1"> <separator string="Periods to Include" colspan="4"/> <field name="periods" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',fiscalyear),('special','=',False),('company_id','=',company_id)]" attrs="{'readonly':[('columns','in',('qtr','thirteen'))],}" > <tree> <field name='code'/> <field name='name'/> <field name='state'/> </tree> </field> </group> </group> <group colspan='4'> <separator string="Account's Sign Conventions" colspan="4"/> <label string="Please check the [ Account's Sign on Reports ] Section in the Company"/> </group>
<group colspan='4' col='4'> <group colspan="2"> <separator string="Total" colspan="4"/> <field name="tot_check" colspan="4"/> <field name="lab_str" colspan="4" attrs="{'required':[('tot_check','=',True)], 'readonly':[('tot_check','=',False)],}" /> </group> <group colspan="2"> <separator string="" colspan="4"/> <button name="print_report" string="Print" type="object" icon='gtk-print'/> <button type='special' special='cancel' string='_Cancel' icon='gtk-cancel' /> </group> </group> </form>
</field> </record>
<record id="action_wizard_report" model="ir.actions.act_window"> <field name="name">Account Financial Report (Multireports)</field> <field name="res_model">wizard.report</field> <field name="view_type">form</field> <field name="view_mode">form</field> <field name="view_id" ref="wizard_report_view"/> <field name="target">new</field> </record> <menuitem id="menu_wizard_report" name="Account Financial Report (Multireports)" parent="account.final_accounting_reports" sequence="99" groups="account_financial_report.group_afreport" action="action_wizard_report"/> </data> </openerp>
|