1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="account_financial_report_view" model="ir.ui.view">
6
<field name="name">Account Financial Report (Template)</field>
7
<field name="model">afr</field>
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<form string="Account Financial Report (Templates)">
12
<field name="name" colspan="4"/>
16
<separator string="Company Info" colspan="4"/>
17
<field name="company_id" on_change='onchange_company_id(company_id)' colspan="4"/>
18
<field name="currency_id"
19
domain="[('company_id','=',company_id)]"
20
attrs="{'readonly':[('analytic_ledger','=',True)]}"
24
<separator string="Report Info" colspan="4"/>
28
on_change='onchange_inf_type(inf_type)'
30
<field name="columns" on_change='onchange_columns(columns,fiscalyear_id,period_ids)' colspan="4"/>
31
<field name="analytic_ledger" colspan="4"
32
attrs="{'readonly':['|',('columns','!=','four'),('inf_type','!=','BS')],}"
33
on_change='onchange_analytic_ledger(company_id,analytic_ledger)'
39
<separator string="Accounts Info" colspan="4"/>
40
<field name="display_account" required="True" colspan="4"/>
41
<field name="display_account_level" required="True" colspan="4"/>
44
<separator string="FiscalYear Info" colspan="4"/>
45
<field name="fiscalyear_id" on_change='onchange_columns(columns,fiscalyear_id,period_ids)' domain="[('company_id','=',company_id)]"/>
51
<separator string="Accounts to Include" colspan="4"/>
52
<field name="account_ids" nolabel="1" colspan="4" domain="[('company_id','=',company_id)]">
62
<separator string="Periods to Include" colspan="4"/>
63
<field name="period_ids"
64
colspan="4" nolabel="1"
65
domain="[('fiscalyear_id','=',fiscalyear_id),('special','=',False),('company_id','=',company_id)]"
66
attrs="{'readonly':[('columns','in',('qtr','thirteen'))],}"
78
<separator string="Account's Sign Conventions" colspan="4"/>
79
<label string="Please check the [ Account's Sign on Reports ] Section in the Company"/>
82
<group colspan='4' col='4'>
84
<separator string="Total" colspan="4"/>
85
<field name="tot_check" colspan="4"/>
86
<field name="lab_str" colspan="4" attrs="{'required':[('tot_check','=',True)], 'readonly':[('tot_check','=',False)],}" />
89
<separator string="" colspan="4"/>
111
<record id="account_financial_report_tree" model="ir.ui.view">
112
<field name="name">Account Financial Report (Template)</field>
113
<field name="model">afr</field>
114
<field name="type">tree</field>
115
<field name="arch" type="xml">
116
<tree string="Account Financial Report (Templates)">
118
<field name="company_id"/>
119
<field name="currency_id"/>
120
<field name="inf_type"/>
121
<field name="columns"/>
122
<field name="display_account"/>
123
<field name="display_account_level" required="True" colspan="4"/>
124
<field name="fiscalyear_id"/>
125
<field name="tot_check" colspan="4"/>
127
<button name="print_report" string="Print" type="object"/>
137
<record model="ir.actions.act_window" id="account_financial_report_action">
138
<field name="name">Account Financial Report</field>
139
<field name="res_model">afr</field>
140
<field name="type">ir.actions.act_window</field>
141
<field name="view_type">form</field>
142
<field name="view_mode">tree,form</field>
143
<field name="help">Create your own Customized Account Financial Reports, in here, you will be able to create Templates for generating Two types of Reports: Balance Sheets and Income Statements, incluiding Analytic Ledgers. Besides, you can select within a set of choices to get better detailed report, be it that you ask it by one or several periods, by months (12 Months + YTD), or by quarters (4QRT's + YTD). Even you can get your reports in currencies other than the one set on your company.</field>
148
id="account_financial_report_menu"
149
name="Account Financial Report (Templates)"
150
parent="account.final_accounting_reports"
152
groups="account_financial_report.group_afreport"
153
action="account_financial_report_action"/>