LibreOffice/6.4.7.2$Linux_X86_64 LibreOffice_project/40$Build-22008-06-07T15:26:412008-08-27T17:03:361PT0S
0
0
25640
24052
true
false
view2
4025
14263
0
0
25638
24051
0
0
false
100
false
false
false
false
false
false
0
false
false
1
false
false
false
false
true
false
false
true
true
false
false
false
false
false
false
high-resolution
false
0
false
true
false
false
false
false
true
false
false
false
false
true
false
true
false
false
4046554
false
false
true
false
false
2070049
false
true
true
false
true
false
false
true
false
false
false
false
false
false
false
false
false
true
true
true
false
false
false
false
true
false
false
false
false
true
true
true
0
true
true
true
true
true
true
false
Company: <company.rec_name>
Statement
Print Date: <format_date(datetime.date.today(), user.language)>at <datetime.datetime.now().strftime('%H:%M:%S')>
User: <user.rec_name>
2/2
<choose>
<when test="data.get('model_context') == 'account.income_statement.context'">
Income Statement
Fiscal Year: <ctx.fiscalyear.rec_name>
<if test="ctx.start_period or ctx.end_period">
From Period: <ctx.start_period.name if ctx.start_period else ''>To <ctx.end_period.name if ctx.end_period else ''>
</if>
<if test="ctx.from_date or ctx.to_date">
From Date: <format_date(ctx.from_date, user.language) if ctx.from_date else ''>To <format_date(ctx.to_date, user.language) if ctx.to_date else ''>
</if>
</when>
<when test="data.get('model_context') in ['account.balance_sheet.context', 'account.balance_sheet.comparision.context']">
Balance Sheet
Date: <format_date(ctx.date, user.language) if ctx.date else ''>
</when>
<otherwise>
Statement
</otherwise>
</choose>
<for each="type, path in types">
<choose>
<when test="len(path) <= 1">
<type.name>
</when>
<when test="len(path) == 2">
<for each="_ in range(len(path) -1)"></for><type.name>
</when>
<otherwise>
<for each="_ in range(len(path) -1)"></for><type.name>
</otherwise>
</choose>
<format_currency(type.amount, user.language, company.currency)>
</for>