|
@ -7,20 +7,20 @@ |
|
|
<field name="model">afr</field> |
|
|
<field name="model">afr</field> |
|
|
<field name="type">form</field> |
|
|
<field name="type">form</field> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<form string="Account Financial Report"> |
|
|
|
|
|
|
|
|
<form string="Account Financial Report (Templates)"> |
|
|
<group colspan="4"> |
|
|
<group colspan="4"> |
|
|
<field name="name" colspan="4"/> |
|
|
<field name="name" colspan="4"/> |
|
|
</group> |
|
|
</group> |
|
|
<group colspan="4"> |
|
|
<group colspan="4"> |
|
|
<group colspan="2"> |
|
|
<group colspan="2"> |
|
|
<separator string="Company Info" colspan="4"/> |
|
|
<separator string="Company Info" colspan="4"/> |
|
|
<field name="company_id" colspan="4"/> |
|
|
|
|
|
|
|
|
<field name="company_id" on_change='onchange_company_id(company_id)' colspan="4"/> |
|
|
<field name="currency_id" domain="[('company_id','=',company_id)]" colspan="4"/> |
|
|
<field name="currency_id" domain="[('company_id','=',company_id)]" colspan="4"/> |
|
|
</group> |
|
|
</group> |
|
|
<group colspan="2"> |
|
|
<group colspan="2"> |
|
|
<separator string="Report Info" colspan="4"/> |
|
|
<separator string="Report Info" colspan="4"/> |
|
|
<field name="inf_type" colspan="4"/> |
|
|
<field name="inf_type" colspan="4"/> |
|
|
<field name="columns" colspan="4"/> |
|
|
|
|
|
|
|
|
<field name="columns" on_change='onchange_columns(columns,fiscalyear_id,period_ids)' colspan="4"/> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
<group colspan='2'> |
|
|
<group colspan='2'> |
|
@ -31,7 +31,7 @@ |
|
|
</group> |
|
|
</group> |
|
|
<group colspan="2"> |
|
|
<group colspan="2"> |
|
|
<separator string="FiscalYear Info" colspan="4"/> |
|
|
<separator string="FiscalYear Info" colspan="4"/> |
|
|
<field name="fiscalyear_id" domain="[('company_id','=',company_id)]"/> |
|
|
|
|
|
|
|
|
<field name="fiscalyear_id" on_change='onchange_columns(columns,fiscalyear_id,period_ids)' domain="[('company_id','=',company_id)]"/> |
|
|
<newline/> |
|
|
<newline/> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
@ -43,12 +43,17 @@ |
|
|
<field name='code'/> |
|
|
<field name='code'/> |
|
|
<field name='name'/> |
|
|
<field name='name'/> |
|
|
<field name='type'/> |
|
|
<field name='type'/> |
|
|
|
|
|
<field name='level'/> |
|
|
</tree> |
|
|
</tree> |
|
|
</field> |
|
|
</field> |
|
|
</group> |
|
|
</group> |
|
|
<group colspan="1"> |
|
|
<group colspan="1"> |
|
|
<separator string="Periods to Include" colspan="4"/> |
|
|
<separator string="Periods to Include" colspan="4"/> |
|
|
<field name="period_ids" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',fiscalyear_id),('special','=',False),('company_id','=',company_id)]"> |
|
|
|
|
|
|
|
|
<field name="period_ids" |
|
|
|
|
|
colspan="4" nolabel="1" |
|
|
|
|
|
domain="[('fiscalyear_id','=',fiscalyear_id),('special','=',False),('company_id','=',company_id)]" |
|
|
|
|
|
attrs="{'readonly':[('columns','in',('qtr','thirteen'))],}" |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<tree> |
|
|
<tree> |
|
|
<field name='code'/> |
|
|
<field name='code'/> |
|
|