changeset 01493b338a7f in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=01493b338a7f
description:
        Add report for income statement and balance sheet

        issue10117
        review330331005
diffstat:

 CHANGELOG                  |    1 +
 __init__.py                |    1 +
 account.py                 |   26 +
 account.xml                |   15 +
 doc/design/account.rst     |   11 +
 tests/scenario_reports.rst |    4 +
 type_statement.fodt        |  588 +++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 646 insertions(+), 0 deletions(-)

diffs (729 lines):

diff -r 94b39de83639 -r 01493b338a7f CHANGELOG
--- a/CHANGELOG Sun Mar 07 12:43:09 2021 +0100
+++ b/CHANGELOG Sun Mar 07 19:07:31 2021 +0100
@@ -1,3 +1,4 @@
+* Add report for income statement and balance sheet
 * Allow filtering general ledger by journal
 * Add journal context to Move.query_get
 * Add reconciliation to general ledger line
diff -r 94b39de83639 -r 01493b338a7f __init__.py
--- a/__init__.py       Sun Mar 07 12:43:09 2021 +0100
+++ b/__init__.py       Sun Mar 07 19:07:31 2021 +0100
@@ -111,6 +111,7 @@
         fiscalyear.RenewFiscalYear,
         module='account', type_='wizard')
     Pool.register(
+        account.AccountTypeStatement,
         account.GeneralLedger,
         account.TrialBalance,
         account.AgedBalanceReport,
diff -r 94b39de83639 -r 01493b338a7f account.py
--- a/account.py        Sun Mar 07 12:43:09 2021 +0100
+++ b/account.py        Sun Mar 07 19:07:31 2021 +0100
@@ -3,6 +3,7 @@
 from decimal import Decimal
 import datetime
 import operator
+from itertools import zip_longest
 from functools import wraps
 
 from dateutil.relativedelta import relativedelta
@@ -424,6 +425,31 @@
     do_ledger_account = open_action
 
 
+class AccountTypeStatement(Report):
+    __name__ = 'account.account.type.statement'
+
+    @classmethod
+    def get_context(cls, records, header, data):
+        pool = Pool()
+        Company = pool.get('company.company')
+        context = Transaction().context
+
+        report_context = super().get_context(records, header, data)
+        report_context['company'] = Company(context['company'])
+
+        if data.get('model_context') is not None:
+            Context = pool.get(data['model_context'])
+            values = {}
+            for field in Context._fields:
+                if field in context:
+                    values[field] = context[field]
+            report_context['ctx'] = Context(**values)
+
+        report_context['types'] = zip_longest(
+            records, data.get('paths') or [], fillvalue=[])
+        return report_context
+
+
 def AccountMixin(template=False):
 
     class Mixin:
diff -r 94b39de83639 -r 01493b338a7f account.xml
--- a/account.xml       Sun Mar 07 12:43:09 2021 +0100
+++ b/account.xml       Sun Mar 07 19:07:31 2021 +0100
@@ -223,6 +223,19 @@
             <field name="rule_group" ref="rule_group_account_type"/>
         </record>
 
+        <record model="ir.action.report" id="report_account_type_statement">
+            <field name="name">Statement</field>
+            <field name="records">listed</field>
+            <field name="model">account.account.type</field>
+            <field name="report_name">account.account.type.statement</field>
+            <field name="report">account/type_statement.fodt</field>
+        </record>
+        <record model="ir.action.keyword" 
id="report_account_type_statement_keyword">
+            <field name="keyword">form_print</field>
+            <field name="model">account.account.type,-1</field>
+            <field name="action" ref="report_account_type_statement"/>
+        </record>
+
         <record model="ir.ui.view" id="account_template_view_form">
             <field name="model">account.account.template</field>
             <field name="type">form</field>
@@ -495,6 +508,7 @@
 
         <record model="ir.action.report" id="report_general_ledger">
             <field name="name">General Ledger</field>
+            <field name="records">listed</field>
             <field name="model">account.general_ledger.account</field>
             <field name="report_name">account.general_ledger</field>
             <field name="report">account/general_ledger.fodt</field>
@@ -507,6 +521,7 @@
 
         <record model="ir.action.report" id="report_trial_balance">
             <field name="name">Trial Balance</field>
+            <field name="records">listed</field>
             <field name="model">account.general_ledger.account</field>
             <field name="report_name">account.trial_balance</field>
             <field name="report">account/trial_balance.fodt</field>
diff -r 94b39de83639 -r 01493b338a7f doc/design/account.rst
--- a/doc/design/account.rst    Sun Mar 07 12:43:09 2021 +0100
+++ b/doc/design/account.rst    Sun Mar 07 19:07:31 2021 +0100
@@ -91,6 +91,17 @@
    Accounts Types can be created from
    `Account Type Templates <model-account.account.type.template>`.
 
+Reports
+-------
+
+.. _report-account.account.type.statement:
+
+Statement
+^^^^^^^^^
+
+The *Statement* report is used to get a printed copy of the open parts
+of the balance sheet and income statements.
+
 .. _model-account.account.party:
 
 Account Party
diff -r 94b39de83639 -r 01493b338a7f tests/scenario_reports.rst
--- a/tests/scenario_reports.rst        Sun Mar 07 12:43:09 2021 +0100
+++ b/tests/scenario_reports.rst        Sun Mar 07 19:07:31 2021 +0100
@@ -180,6 +180,10 @@
     ...     })
     >>> _ = trial_balance.execute(gl_accounts)
 
+    >>> Type = Model.get('account.account.type')
+    >>> statement = Report('account.account.type.statement')
+    >>> _ = statement.execute(Type.find([]))
+
     >>> AgedBalance = Model.get('account.aged_balance')
     >>> context = {
     ...     'company': company.id,
diff -r 94b39de83639 -r 01493b338a7f type_statement.fodt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/type_statement.fodt       Sun Mar 07 19:07:31 2021 +0100
@@ -0,0 +1,588 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<office:document xmlns:officeooo="http://openoffice.org/2009/office"; 
xmlns:grddl="http://www.w3.org/2003/g/data-view#"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xforms="http://www.w3.org/2002/xforms"; 
xmlns:dom="http://www.w3.org/2001/xml-events"; 
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" 
xmlns:math="http://www.w3.org/1998/Math/MathML"; 
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" 
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" 
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:ooo="http://openoffice.org/2004/office"; 
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
 xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" 
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" 
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" 
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" 
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" 
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" 
xmlns:rpt="http://openoffice.org/2005/report"; 
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" 
xmlns:css3t="http://www.w3.org/TR/css3-text/"; 
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
xmlns:ooow="http://openoffice.org/2004/writer"; 
xmlns:oooc="http://openoffice.org/2004/calc"; 
xmlns:tableooo="http://openoffice.org/2009/table"; 
xmlns:drawooo="http://openoffice.org/2010/draw"; office:version="1.2" 
office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:meta><meta:generator>LibreOffice/6.4.7.2$Linux_X86_64 
LibreOffice_project/40$Build-2</meta:generator><meta:creation-date>2008-06-07T15:26:41</meta:creation-date><dc:date>2008-08-27T17:03:36</dc:date><meta:editing-cycles>1</meta:editing-cycles><meta:editing-duration>PT0S</meta:editing-duration><meta:document-statistic
 meta:table-count="3" meta:image-count="0" meta:object-count="0" 
meta:page-count="2" meta:paragraph-count="38" meta:word-count="116" 
meta:character-count="1251" 
meta:non-whitespace-character-count="1173"/><meta:user-defined meta:name="Info 
1"/><meta:user-defined meta:name="Info 2"/><meta:user-defined meta:name="Info 
3"/><meta:user-defined meta:name="Info 4"/></office:meta>
+ <office:settings>
+  <config:config-item-set config:name="ooo:view-settings">
+   <config:config-item config:name="ViewAreaTop" 
config:type="long">0</config:config-item>
+   <config:config-item config:name="ViewAreaLeft" 
config:type="long">0</config:config-item>
+   <config:config-item config:name="ViewAreaWidth" 
config:type="long">25640</config:config-item>
+   <config:config-item config:name="ViewAreaHeight" 
config:type="long">24052</config:config-item>
+   <config:config-item config:name="ShowRedlineChanges" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="InBrowseMode" 
config:type="boolean">false</config:config-item>
+   <config:config-item-map-indexed config:name="Views">
+    <config:config-item-map-entry>
+     <config:config-item config:name="ViewId" 
config:type="string">view2</config:config-item>
+     <config:config-item config:name="ViewLeft" 
config:type="long">4025</config:config-item>
+     <config:config-item config:name="ViewTop" 
config:type="long">14263</config:config-item>
+     <config:config-item config:name="VisibleLeft" 
config:type="long">0</config:config-item>
+     <config:config-item config:name="VisibleTop" 
config:type="long">0</config:config-item>
+     <config:config-item config:name="VisibleRight" 
config:type="long">25638</config:config-item>
+     <config:config-item config:name="VisibleBottom" 
config:type="long">24051</config:config-item>
+     <config:config-item config:name="ZoomType" 
config:type="short">0</config:config-item>
+     <config:config-item config:name="ViewLayoutColumns" 
config:type="short">0</config:config-item>
+     <config:config-item config:name="ViewLayoutBookMode" 
config:type="boolean">false</config:config-item>
+     <config:config-item config:name="ZoomFactor" 
config:type="short">100</config:config-item>
+     <config:config-item config:name="IsSelectedFrame" 
config:type="boolean">false</config:config-item>
+     <config:config-item config:name="AnchoredTextOverflowLegacy" 
config:type="boolean">false</config:config-item>
+    </config:config-item-map-entry>
+   </config:config-item-map-indexed>
+  </config:config-item-set>
+  <config:config-item-set config:name="ooo:configuration-settings">
+   <config:config-item config:name="PrintProspectRTL" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ClipAsCharacterAnchoredWriterFlyFrames" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrinterSetup" config:type="base64Binary"/>
+   <config:config-item config:name="CurrentDatabaseCommand" 
config:type="string"/>
+   <config:config-item config:name="DoNotCaptureDrawObjsOnPage" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="LoadReadonly" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="CurrentDatabaseCommandType" 
config:type="int">0</config:config-item>
+   <config:config-item config:name="DoNotResetParaAttrsForNumFont" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="DoNotJustifyLinesWithManualBreak" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="LinkUpdateMode" 
config:type="short">1</config:config-item>
+   <config:config-item config:name="StylesNoDefault" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ConsiderTextWrapOnObjPos" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="TabAtLeftIndentForParagraphsInList" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="UnxForceZeroExtLeading" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintDrawings" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="UseFormerLineSpacing" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="UseFormerTextWrapping" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="AllowPrintJobCancel" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="SubtractFlysAnchoredAtFlys" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="AddVerticalFrameOffsets" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="MathBaselineAlignment" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="AddParaLineSpacingToTableCells" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="TreatSingleColumnBreakAsPageBreak" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="UseFormerObjectPositioning" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="IsKernAsianPunctuation" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrinterIndependentLayout" 
config:type="string">high-resolution</config:config-item>
+   <config:config-item config:name="SaveVersionOnClose" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="CharacterCompressionType" 
config:type="short">0</config:config-item>
+   <config:config-item config:name="PrintPaperFromSetup" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="AddExternalLeading" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrinterPaperFromSetup" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="IgnoreFirstLineIndentInNumbering" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="MsWordCompTrailingBlanks" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="RedlineProtectionKey" 
config:type="base64Binary"/>
+   <config:config-item config:name="UseOldNumbering" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="FieldAutoUpdate" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="CurrentDatabaseDataSource" 
config:type="string"/>
+   <config:config-item config:name="PrintHiddenText" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ApplyUserData" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PropLineSpacingShrinksFirstLine" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="EmbeddedDatabaseName" 
config:type="string"/>
+   <config:config-item config:name="SaveGlobalDocumentLinks" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ChartAutoUpdate" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="InvertBorderSpacing" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintEmptyPages" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="UseOldPrinterMetrics" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="IgnoreTabsAndBlanksForLineCalculation" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="Rsid" 
config:type="int">4046554</config:config-item>
+   <config:config-item config:name="TableRowKeep" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintBlackFonts" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="UpdateFromTemplate" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="OutlineLevelYieldsNumbering" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrinterName" config:type="string"/>
+   <config:config-item config:name="IsLabelDocument" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="RsidRoot" 
config:type="int">2070049</config:config-item>
+   <config:config-item config:name="MsWordCompMinLineHeightByFly" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="CollapseEmptyCellPara" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="SmallCapsPercentage66" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintSingleJobs" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintTables" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="TabOverflow" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="AddFrameOffsets" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="EmbedComplexScriptFonts" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="EmbedSystemFonts" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="UnbreakableNumberings" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ClippedPictures" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="BackgroundParaOverDrawings" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="SurroundTextWrapSmall" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="EmbedFonts" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="EmbedOnlyUsedFonts" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ProtectForm" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="DisableOffPagePositioning" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="EmbedLatinScriptFonts" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="AddParaSpacingToTableCells" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="EmbedAsianScriptFonts" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="HeaderSpacingBelowLastPara" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="TabOverMargin" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintReversed" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ApplyParagraphMarkFormatToNumbering" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="SaveThumbnail" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="EmptyDbFieldHidesPara" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="ContinuousEndnotes" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="FloattableNomargins" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintTextPlaceholder" 
config:type="boolean">false</config:config-item>
+   <config:config-item config:name="PrintFaxName" config:type="string"/>
+   <config:config-item config:name="PrintRightPages" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="AddParaTableSpacing" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintGraphics" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintAnnotationMode" 
config:type="short">0</config:config-item>
+   <config:config-item config:name="PrintControls" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="AlignTabStopPosition" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintPageBackground" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintLeftPages" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="AddParaTableSpacingAtStart" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="TabsRelativeToIndent" 
config:type="boolean">true</config:config-item>
+   <config:config-item config:name="PrintProspect" 
config:type="boolean">false</config:config-item>
+  </config:config-item-set>
+ </office:settings>
+ <office:scripts>
+  <office:script script:language="ooo:Basic">
+   <ooo:libraries xmlns:ooo="http://openoffice.org/2004/office"; 
xmlns:xlink="http://www.w3.org/1999/xlink"/>
+  </office:script>
+ </office:scripts>
+ <office:font-face-decls>
+  <style:font-face style:name="StarSymbol" svg:font-family="StarSymbol"/>
+  <style:font-face style:name="Liberation Serif" 
svg:font-family="&apos;Liberation Serif&apos;" style:font-adornments="Bold" 
style:font-family-generic="roman" style:font-pitch="variable"/>
+  <style:font-face style:name="Liberation Serif1" 
svg:font-family="&apos;Liberation Serif&apos;" style:font-adornments="Regular" 
style:font-family-generic="roman" style:font-pitch="variable"/>
+  <style:font-face style:name="Thorndale AMT" svg:font-family="&apos;Thorndale 
AMT&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
+  <style:font-face style:name="Liberation Sans" 
svg:font-family="&apos;Liberation Sans&apos;" style:font-adornments="Regular" 
style:font-family-generic="swiss" style:font-pitch="variable"/>
+  <style:font-face style:name="Andale Sans UI" svg:font-family="&apos;Andale 
Sans UI&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
+  <style:font-face style:name="DejaVu Sans" svg:font-family="&apos;DejaVu 
Sans&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+  <style:default-style style:family="graphic">
+   <style:graphic-properties svg:stroke-color="#000000" 
draw:fill-color="#99ccff" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm" 
draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" 
draw:start-line-spacing-vertical="0.283cm" 
draw:end-line-spacing-horizontal="0.283cm" 
draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>
+   <style:paragraph-properties style:text-autospace="ideograph-alpha" 
style:line-break="strict" style:font-independent-line-spacing="false">
+    <style:tab-stops/>
+   </style:paragraph-properties>
+   <style:text-properties style:use-window-font-color="true" 
style:font-name="Thorndale AMT" fo:font-size="12pt" fo:language="en" 
fo:country="US" style:letter-kerning="true" style:font-name-asian="Andale Sans 
UI" style:font-size-asian="10.5pt" style:language-asian="zxx" 
style:country-asian="none" style:font-name-complex="Andale Sans UI" 
style:font-size-complex="12pt" style:language-complex="zxx" 
style:country-complex="none"/>
+  </style:default-style>
+  <style:default-style style:family="paragraph">
+   <style:paragraph-properties fo:hyphenation-ladder-count="no-limit" 
style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" 
style:line-break="strict" style:tab-stop-distance="1.251cm" 
style:writing-mode="lr-tb"/>
+   <style:text-properties style:use-window-font-color="true" 
style:font-name="Thorndale AMT" fo:font-size="12pt" fo:language="en" 
fo:country="US" style:letter-kerning="true" style:font-name-asian="Andale Sans 
UI" style:font-size-asian="10.5pt" style:language-asian="zxx" 
style:country-asian="none" style:font-name-complex="Andale Sans UI" 
style:font-size-complex="12pt" style:language-complex="zxx" 
style:country-complex="none" fo:hyphenate="false" 
fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2" 
loext:hyphenation-no-caps="false"/>
+  </style:default-style>
+  <style:default-style style:family="table">
+   <style:table-properties table:border-model="collapsing"/>
+  </style:default-style>
+  <style:default-style style:family="table-row">
+   <style:table-row-properties fo:keep-together="auto"/>
+  </style:default-style>
+  <style:style style:name="Standard" style:family="paragraph" 
style:class="text">
+   <style:text-properties style:font-name="Liberation Sans" 
fo:font-family="&apos;Liberation Sans&apos;" style:font-style-name="Regular" 
style:font-family-generic="swiss" style:font-pitch="variable" 
style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="Heading" style:family="paragraph" 
style:parent-style-name="Standard" style:next-style-name="Text_20_body" 
style:class="text">
+   <style:paragraph-properties fo:margin-top="0.423cm" 
fo:margin-bottom="0.212cm" loext:contextual-spacing="false" 
fo:keep-with-next="always"/>
+   <style:text-properties style:font-name="Liberation Serif1" 
fo:font-family="&apos;Liberation Serif&apos;" style:font-style-name="Regular" 
style:font-family-generic="roman" style:font-pitch="variable" 
fo:font-size="16pt" style:font-name-asian="DejaVu Sans" 
style:font-family-asian="&apos;DejaVu Sans&apos;" 
style:font-family-generic-asian="system" style:font-pitch-asian="variable" 
style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans" 
style:font-family-complex="&apos;DejaVu Sans&apos;" 
style:font-family-generic-complex="system" style:font-pitch-complex="variable" 
style:font-size-complex="14pt"/>
+  </style:style>
+  <style:style style:name="Text_20_body" style:display-name="Text body" 
style:family="paragraph" style:parent-style-name="Standard" style:class="text">
+   <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.212cm" 
loext:contextual-spacing="false"/>
+   <style:text-properties style:font-name="Liberation Sans" 
fo:font-family="&apos;Liberation Sans&apos;" style:font-style-name="Regular" 
style:font-family-generic="swiss" style:font-pitch="variable" 
style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="List" style:family="paragraph" 
style:parent-style-name="Text_20_body" style:class="list">
+   <style:text-properties style:font-size-asian="12pt"/>
+  </style:style>
+  <style:style style:name="Caption" style:family="paragraph" 
style:parent-style-name="Standard" style:class="extra">
+   <style:paragraph-properties fo:margin-top="0.212cm" 
fo:margin-bottom="0.212cm" loext:contextual-spacing="false" 
text:number-lines="false" text:line-number="0"/>
+   <style:text-properties fo:font-size="12pt" fo:font-style="italic" 
style:font-size-asian="12pt" style:font-style-asian="italic" 
style:font-size-complex="12pt" style:font-style-complex="italic"/>
+  </style:style>
+  <style:style style:name="Index" style:family="paragraph" 
style:parent-style-name="Standard" style:class="index">
+   <style:paragraph-properties text:number-lines="false" text:line-number="0"/>
+   <style:text-properties style:font-size-asian="12pt"/>
+  </style:style>
+  <style:style style:name="Table_20_Contents" style:display-name="Table 
Contents" style:family="paragraph" style:parent-style-name="Standard" 
style:class="extra">
+   <style:paragraph-properties text:number-lines="false" text:line-number="0"/>
+   <style:text-properties style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="Heading_20_1" style:display-name="Heading 1" 
style:family="paragraph" style:parent-style-name="Heading" 
style:next-style-name="Text_20_body" style:class="text">
+   <style:text-properties fo:font-size="16pt" fo:font-weight="bold" 
style:font-size-asian="115%" style:font-weight-asian="bold" 
style:font-size-complex="115%" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="Table_20_Heading" style:display-name="Table 
Heading" style:family="paragraph" style:parent-style-name="Table_20_Contents" 
style:class="extra">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false" text:number-lines="false" 
text:line-number="0"/>
+   <style:text-properties style:font-name="Liberation Serif" 
fo:font-family="&apos;Liberation Serif&apos;" style:font-style-name="Bold" 
style:font-family-generic="roman" style:font-pitch="variable" 
fo:font-weight="bold" style:font-size-asian="10.5pt" 
style:font-weight-asian="bold" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="Horizontal_20_Line" style:display-name="Horizontal 
Line" style:family="paragraph" style:parent-style-name="Standard" 
style:next-style-name="Text_20_body" style:class="html">
+   <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.499cm" 
loext:contextual-spacing="false" style:border-line-width-bottom="0.002cm 
0.035cm 0.002cm" fo:padding="0cm" fo:border-left="none" fo:border-right="none" 
fo:border-top="none" fo:border-bottom="1.11pt double #808080" 
text:number-lines="false" text:line-number="0" style:join-border="false"/>
+   <style:text-properties fo:font-size="6pt" style:font-size-asian="6pt" 
style:font-size-complex="6pt"/>
+  </style:style>
+  <style:style style:name="Header_20_and_20_Footer" style:display-name="Header 
and Footer" style:family="paragraph" style:parent-style-name="Standard" 
style:class="extra">
+   <style:paragraph-properties text:number-lines="false" text:line-number="0">
+    <style:tab-stops>
+     <style:tab-stop style:position="8.5cm" style:type="center"/>
+     <style:tab-stop style:position="17cm" style:type="right"/>
+    </style:tab-stops>
+   </style:paragraph-properties>
+  </style:style>
+  <style:style style:name="Header" style:family="paragraph" 
style:parent-style-name="Standard" style:class="extra">
+   <style:paragraph-properties text:number-lines="false" text:line-number="0">
+    <style:tab-stops>
+     <style:tab-stop style:position="8.795cm" style:type="center"/>
+     <style:tab-stop style:position="17.59cm" style:type="right"/>
+    </style:tab-stops>
+   </style:paragraph-properties>
+   <style:text-properties fo:font-size="9pt" style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="Heading_20_2" style:display-name="Heading 2" 
style:family="paragraph" style:parent-style-name="Heading" 
style:next-style-name="Text_20_body" style:class="text">
+   <style:text-properties fo:font-size="14pt" fo:font-style="italic" 
fo:font-weight="bold" style:font-size-asian="14pt" 
style:font-style-asian="italic" style:font-weight-asian="bold" 
style:font-size-complex="14pt" style:font-style-complex="italic" 
style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="Footer" style:family="paragraph" 
style:parent-style-name="Standard" style:class="extra">
+   <style:paragraph-properties text:number-lines="false" text:line-number="0">
+    <style:tab-stops>
+     <style:tab-stop style:position="8.795cm" style:type="center"/>
+     <style:tab-stop style:position="17.59cm" style:type="right"/>
+    </style:tab-stops>
+   </style:paragraph-properties>
+   <style:text-properties fo:font-size="9pt" style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="Heading_20_3" style:display-name="Heading 3" 
style:family="paragraph" style:parent-style-name="Heading" 
style:next-style-name="Text_20_body" style:class="text">
+   <style:text-properties fo:font-size="14pt" fo:font-weight="bold" 
style:font-size-asian="14pt" style:font-weight-asian="bold" 
style:font-size-complex="14pt" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="Text_20_body_20_indent" style:display-name="Text 
body indent" style:family="paragraph" style:parent-style-name="Text_20_body" 
style:class="text">
+   <style:paragraph-properties fo:margin-left="0.499cm" fo:margin-right="0cm" 
fo:margin-top="0cm" fo:margin-bottom="0cm" loext:contextual-spacing="false" 
fo:text-indent="0cm" style:auto-text-indent="false"/>
+  </style:style>
+  <style:style style:name="Quotations" style:family="paragraph" 
style:parent-style-name="Standard" style:class="html">
+   <style:paragraph-properties fo:margin-left="1cm" fo:margin-right="1cm" 
fo:margin-top="0cm" fo:margin-bottom="0.499cm" loext:contextual-spacing="false" 
fo:text-indent="0cm" style:auto-text-indent="false"/>
+  </style:style>
+  <style:style style:name="Title" style:family="paragraph" 
style:parent-style-name="Heading" style:next-style-name="Text_20_body" 
style:class="chapter">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+   <style:text-properties fo:font-size="28pt" fo:font-weight="bold" 
style:font-size-asian="28pt" style:font-weight-asian="bold" 
style:font-size-complex="28pt" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="Subtitle" style:family="paragraph" 
style:parent-style-name="Heading" style:next-style-name="Text_20_body" 
style:class="chapter">
+   <style:paragraph-properties fo:margin-top="0.106cm" 
fo:margin-bottom="0.212cm" loext:contextual-spacing="false" 
fo:text-align="center" style:justify-single-word="false"/>
+   <style:text-properties fo:font-size="18pt" style:font-size-asian="18pt" 
style:font-size-complex="18pt"/>
+  </style:style>
+  <style:style style:name="Placeholder" style:family="text">
+   <style:text-properties fo:font-variant="small-caps" fo:color="#008080" 
style:text-underline-style="dotted" style:text-underline-width="auto" 
style:text-underline-color="font-color"/>
+  </style:style>
+  <style:style style:name="Bullet_20_Symbols" style:display-name="Bullet 
Symbols" style:family="text">
+   <style:text-properties style:font-name="StarSymbol" 
fo:font-family="StarSymbol" fo:font-size="9pt" 
style:font-name-asian="StarSymbol" style:font-family-asian="StarSymbol" 
style:font-size-asian="9pt" style:font-name-complex="StarSymbol" 
style:font-family-complex="StarSymbol" style:font-size-complex="9pt"/>
+  </style:style>
+  <text:outline-style style:name="Outline">
+   <text:outline-level-style text:level="1" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="2" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="3" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="4" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="5" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="6" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="7" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="8" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="9" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+   <text:outline-level-style text:level="10" style:num-format="">
+    <style:list-level-properties text:min-label-distance="0.381cm"/>
+   </text:outline-level-style>
+  </text:outline-style>
+  <text:notes-configuration text:note-class="footnote" style:num-format="1" 
text:start-value="0" text:footnotes-position="page" 
text:start-numbering-at="document"/>
+  <text:notes-configuration text:note-class="endnote" style:num-format="i" 
text:start-value="0"/>
+  <text:linenumbering-configuration text:number-lines="false" 
text:offset="0.499cm" style:num-format="1" text:number-position="left" 
text:increment="5"/>
+ </office:styles>
+ <office:automatic-styles>
+  <style:style style:name="Table2" style:family="table">
+   <style:table-properties style:width="17.59cm" table:align="margins"/>
+  </style:style>
+  <style:style style:name="Table2.A" style:family="table-column">
+   <style:table-column-properties style:column-width="5.863cm" 
style:rel-column-width="21845*"/>
+  </style:style>
+  <style:style style:name="Table2.A1" style:family="table-cell">
+   <style:table-cell-properties fo:background-color="transparent" 
fo:padding="0.097cm" fo:border="none">
+    <style:background-image/>
+   </style:table-cell-properties>
+  </style:style>
+  <style:style style:name="Table1" style:family="table">
+   <style:table-properties style:width="17.59cm" table:align="margins"/>
+  </style:style>
+  <style:style style:name="Table1.A" style:family="table-column">
+   <style:table-column-properties style:column-width="8.795cm" 
style:rel-column-width="32768*"/>
+  </style:style>
+  <style:style style:name="Table1.B" style:family="table-column">
+   <style:table-column-properties style:column-width="8.795cm" 
style:rel-column-width="32767*"/>
+  </style:style>
+  <style:style style:name="Table1.A1" style:family="table-cell">
+   <style:table-cell-properties fo:padding="0.097cm" fo:border="none"/>
+  </style:style>
+  <style:style style:name="Table2" style:family="table">
+   <style:table-properties style:width="17.59cm" table:align="margins"/>
+  </style:style>
+  <style:style style:name="Table2.A" style:family="table-column">
+   <style:table-column-properties style:column-width="5.863cm" 
style:rel-column-width="21845*"/>
+  </style:style>
+  <style:style style:name="Table2.A1" style:family="table-cell">
+   <style:table-cell-properties fo:background-color="transparent" 
fo:padding="0.097cm" fo:border="none">
+    <style:background-image/>
+   </style:table-cell-properties>
+  </style:style>
+  <style:style style:name="Table1" style:family="table">
+   <style:table-properties style:width="17.59cm" table:align="margins"/>
+  </style:style>
+  <style:style style:name="Table1.A" style:family="table-column">
+   <style:table-column-properties style:column-width="8.795cm" 
style:rel-column-width="32768*"/>
+  </style:style>
+  <style:style style:name="Table1.B" style:family="table-column">
+   <style:table-column-properties style:column-width="8.795cm" 
style:rel-column-width="32767*"/>
+  </style:style>
+  <style:style style:name="Table1.A1" style:family="table-cell">
+   <style:table-cell-properties fo:padding="0.097cm" fo:border="none"/>
+  </style:style>
+  <style:style style:name="Types" style:family="table">
+   <style:table-properties style:width="17.59cm" table:align="margins"/>
+  </style:style>
+  <style:style style:name="Types.A" style:family="table-column">
+   <style:table-column-properties style:column-width="12.79cm" 
style:rel-column-width="47652*"/>
+  </style:style>
+  <style:style style:name="Types.B" style:family="table-column">
+   <style:table-column-properties style:column-width="4.8cm" 
style:rel-column-width="17883*"/>
+  </style:style>
+  <style:style style:name="Types.A1" style:family="table-cell">
+   <style:table-cell-properties fo:padding="0.049cm" fo:border="none" 
style:writing-mode="page"/>
+  </style:style>
+  <style:style style:name="Types.B2" style:family="table-cell">
+   <style:table-cell-properties style:vertical-align="middle" 
fo:padding="0.049cm" fo:border="none" style:writing-mode="page"/>
+  </style:style>
+  <style:style style:name="P1" style:family="paragraph" 
style:parent-style-name="Header">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+  </style:style>
+  <style:style style:name="P2" style:family="paragraph" 
style:parent-style-name="Header">
+   <style:paragraph-properties fo:text-align="end" 
style:justify-single-word="false"/>
+  </style:style>
+  <style:style style:name="P3" style:family="paragraph" 
style:parent-style-name="Header">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+   <style:text-properties style:font-name="Liberation Sans" fo:font-size="9pt" 
officeooo:rsid="003d390d" officeooo:paragraph-rsid="003d390d" 
style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="P4" style:family="paragraph" 
style:parent-style-name="Footer">
+   <style:paragraph-properties fo:text-align="end" 
style:justify-single-word="false"/>
+  </style:style>
+  <style:style style:name="P5" style:family="paragraph" 
style:parent-style-name="Table_20_Heading">
+   <style:paragraph-properties fo:keep-together="always" style:shadow="none" 
fo:keep-with-next="always"/>
+  </style:style>
+  <style:style style:name="P6" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" style:shadow="none" 
fo:keep-with-next="always"/>
+   <style:text-properties fo:font-size="12pt" fo:font-weight="bold" 
style:font-size-asian="12pt" style:font-weight-asian="bold" 
style:font-size-complex="12pt" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="P7" style:family="paragraph" 
style:parent-style-name="Table_20_Heading">
+   <style:paragraph-properties fo:keep-together="always" 
fo:keep-with-next="always"/>
+  </style:style>
+  <style:style style:name="P8" style:family="paragraph" 
style:parent-style-name="Table_20_Heading">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="P9" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="end" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+  </style:style>
+  <style:style style:name="P10" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+  </style:style>
+  <style:style style:name="P11" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties fo:font-size="11pt" style:font-size-asian="11pt" 
style:font-size-complex="11pt"/>
+  </style:style>
+  <style:style style:name="P12" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="end" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties fo:font-size="11pt" style:font-size-asian="11pt" 
style:font-size-complex="11pt"/>
+  </style:style>
+  <style:style style:name="P13" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="P14" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties officeooo:paragraph-rsid="002aca3c" 
style:font-size-asian="10.5pt"/>
+  </style:style>
+  <style:style style:name="P15" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties style:text-underline-style="none"/>
+  </style:style>
+  <style:style style:name="P16" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties style:text-underline-style="none" 
officeooo:paragraph-rsid="00251ac8"/>
+  </style:style>
+  <style:style style:name="P17" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties style:text-underline-style="none" 
officeooo:paragraph-rsid="00251ac8" fo:background-color="transparent"/>
+  </style:style>
+  <style:style style:name="P18" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false" fo:keep-together="always" 
fo:keep-with-next="always"/>
+   <style:text-properties fo:font-size="11pt" 
style:text-underline-style="none" style:font-size-asian="11pt" 
style:font-size-complex="11pt"/>
+  </style:style>
+  <style:style style:name="P19" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties style:text-underline-style="none"/>
+  </style:style>
+  <style:style style:name="P20" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false"/>
+   <style:text-properties style:text-underline-style="none"/>
+  </style:style>
+  <style:style style:name="P21" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties fo:font-size="12pt" 
style:text-underline-style="none" fo:font-weight="normal" 
style:font-size-asian="10.5pt" style:font-weight-asian="normal" 
style:font-size-complex="12pt" style:font-weight-complex="normal"/>
+  </style:style>
+  <style:style style:name="P22" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:text-align="start" 
style:justify-single-word="false"/>
+   <style:text-properties fo:font-size="12pt" 
style:text-underline-style="none" fo:font-weight="normal" 
style:font-size-asian="10.5pt" style:font-weight-asian="normal" 
style:font-size-complex="12pt" style:font-weight-complex="normal"/>
+  </style:style>
+  <style:style style:name="P23" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties officeooo:paragraph-rsid="0037c304"/>
+  </style:style>
+  <style:style style:name="P24" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties officeooo:paragraph-rsid="003a045d"/>
+  </style:style>
+  <style:style style:name="P25" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties officeooo:rsid="003955ec" 
officeooo:paragraph-rsid="003a045d"/>
+  </style:style>
+  <style:style style:name="P26" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:text-properties officeooo:rsid="003955ec" 
officeooo:paragraph-rsid="003d390d"/>
+  </style:style>
+  <style:style style:name="P27" style:family="paragraph" 
style:parent-style-name="Heading_20_1">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+   <style:text-properties style:text-underline-style="solid" 
style:text-underline-width="auto" style:text-underline-color="font-color"/>
+  </style:style>
+  <style:style style:name="P28" style:family="paragraph" 
style:parent-style-name="Heading_20_1">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+   <style:text-properties style:font-name="Liberation Serif1" 
fo:font-size="16pt" style:text-underline-style="solid" 
style:text-underline-width="auto" style:text-underline-color="font-color" 
fo:font-weight="bold" officeooo:rsid="003d390d" 
officeooo:paragraph-rsid="003d390d" style:font-name-asian="DejaVu Sans" 
style:font-size-asian="16.1000003814697pt" style:font-weight-asian="bold" 
style:font-name-complex="DejaVu Sans" 
style:font-size-complex="16.1000003814697pt" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="P29" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="center" 
style:justify-single-word="false"/>
+   <style:text-properties style:font-name="Liberation Serif" 
fo:font-weight="bold" style:font-size-asian="10.5pt" 
style:font-weight-asian="bold" style:font-weight-complex="bold"/>
+  </style:style>
+  <style:style style:name="P30" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:text-properties fo:font-size="12pt" style:font-size-complex="12pt"/>
+  </style:style>
+  <style:style style:name="P31" style:family="paragraph" 
style:parent-style-name="Table_20_Contents">
+   <style:paragraph-properties fo:text-align="end" 
style:justify-single-word="false"/>
+   <style:text-properties fo:font-size="12pt" style:font-size-complex="12pt"/>
+  </style:style>
+  <style:style style:name="P32" style:family="paragraph" 
style:parent-style-name="Text_20_body">
+   <style:paragraph-properties fo:break-before="page"/>
+   <style:text-properties style:text-underline-style="none"/>
+  </style:style>
+  <style:style style:name="T1" style:family="text">
+   <style:text-properties officeooo:rsid="0037c304"/>
+  </style:style>
+  <style:style style:name="T2" style:family="text">
+   <style:text-properties officeooo:rsid="0039b016"/>
+  </style:style>
+  <style:style style:name="T3" style:family="text">
+   <style:text-properties officeooo:rsid="003d390d"/>
+  </style:style>
+  <style:page-layout style:name="pm1">
+   <style:page-layout-properties fo:page-width="21.59cm" 
fo:page-height="27.94cm" style:num-format="1" 
style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" 
fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" 
style:layout-grid-color="#c0c0c0" style:layout-grid-lines="44" 
style:layout-grid-base-height="0.55cm" style:layout-grid-ruby-height="0cm" 
style:layout-grid-mode="none" style:layout-grid-ruby-below="false" 
style:layout-grid-print="true" style:layout-grid-display="true" 
style:footnote-max-height="0cm">
+    <style:footnote-sep style:width="0.018cm" 
style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" 
style:line-style="none" style:adjustment="left" style:rel-width="25%" 
style:color="#000000"/>
+   </style:page-layout-properties>
+   <style:header-style>
+    <style:header-footer-properties fo:min-height="0cm" fo:margin-left="0cm" 
fo:margin-right="0cm" fo:margin-bottom="0.499cm"/>
+   </style:header-style>
+   <style:footer-style>
+    <style:header-footer-properties fo:min-height="0cm" fo:margin-left="0cm" 
fo:margin-right="0cm" fo:margin-top="0.499cm"/>
+   </style:footer-style>
+  </style:page-layout>
+ </office:automatic-styles>
+ <office:master-styles>
+  <style:master-page style:name="Standard" style:page-layout-name="pm1">
+   <style:header>
+    <table:table table:name="Table2" table:style-name="Table2">
+     <table:table-column table:style-name="Table2.A" 
table:number-columns-repeated="3"/>
+     <table:table-row table:style-name="TableLine94156551654912">
+      <table:table-cell table:style-name="Table2.A1" 
office:value-type="string">
+       <text:p text:style-name="Header">Company: <text:placeholder 
text:placeholder-type="text">&lt;company.rec_name&gt;</text:placeholder></text:p>
+      </table:table-cell>
+      <table:table-cell table:style-name="Table2.A1" 
office:value-type="string">
+       <text:p text:style-name="P3">Statement</text:p>
+      </table:table-cell>
+      <table:table-cell table:style-name="Table2.A1" 
office:value-type="string">
+       <text:p text:style-name="P2">Print Date: <text:placeholder 
text:placeholder-type="text">&lt;format_date(datetime.date.today(), 
user.language)&gt;</text:placeholder><text:s/>at <text:placeholder 
text:placeholder-type="text">&lt;datetime.datetime.now().strftime(&apos;%H:%M:%S&apos;)&gt;</text:placeholder></text:p>
+      </table:table-cell>
+     </table:table-row>
+    </table:table>
+   </style:header>
+   <style:footer>
+    <table:table table:name="Table1" table:style-name="Table1">
+     <table:table-column table:style-name="Table1.A"/>
+     <table:table-column table:style-name="Table1.B"/>
+     <table:table-row table:style-name="TableLine94156551790960">
+      <table:table-cell table:style-name="Table1.A1" 
office:value-type="string">
+       <text:p text:style-name="Footer">User: <text:placeholder 
text:placeholder-type="text">&lt;user.rec_name&gt;</text:placeholder></text:p>
+      </table:table-cell>
+      <table:table-cell table:style-name="Table1.A1" 
office:value-type="string">
+       <text:p text:style-name="P4"><text:page-number 
text:select-page="current">2</text:page-number>/<text:page-count>2</text:page-count></text:p>
+      </table:table-cell>
+     </table:table-row>
+    </table:table>
+   </style:footer>
+  </style:master-page>
+ </office:master-styles>
+ <office:body>
+  <office:text text:use-soft-page-breaks="true">
+   <office:forms form:automatic-focus="false" form:apply-design-mode="false"/>
+   <text:sequence-decls>
+    <text:sequence-decl text:display-outline-level="0" 
text:name="Illustration"/>
+    <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
+    <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
+    <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
+    <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
+   </text:sequence-decls>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;choose&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;when 
test=&quot;data.get(&apos;model_context&apos;) == 
&apos;account.income_statement.context&apos;&quot;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P28">Income Statement</text:p>
+   <text:p text:style-name="P24"><text:span text:style-name="T1">Fiscal Year: 
</text:span><text:placeholder 
text:placeholder-type="text">&lt;ctx.fiscalyear.rec_name&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;if test=&quot;ctx.start_period or 
ctx.end_period&quot;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:span text:style-name="T1">From 
Period</text:span>: <text:placeholder 
text:placeholder-type="text">&lt;ctx.start_period.name if ctx.start_period else 
&apos;&apos;&gt;</text:placeholder><text:s/><text:span 
text:style-name="T2">To</text:span> <text:placeholder 
text:placeholder-type="text">&lt;ctx.end_period.name if ctx.end_period else 
&apos;&apos;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;if test=&quot;ctx.from_date or 
ctx.to_date&quot;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P25">From Date: <text:placeholder 
text:placeholder-type="text">&lt;format_date(ctx.from_date, user.language) if 
ctx.from_date else &apos;&apos;&gt;</text:placeholder><text:s/>To 
<text:placeholder text:placeholder-type="text">&lt;format_date(ctx.to_date, 
user.language) if ctx.to_date else &apos;&apos;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;when 
test=&quot;data.get(&apos;model_context&apos;) in 
[&apos;account.balance_sheet.context&apos;, 
&apos;account.balance_sheet.comparision.context&apos;]&quot;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P28">Balance Sheet</text:p>
+   <text:p text:style-name="P26">Date: <text:placeholder 
text:placeholder-type="text">&lt;format_date(ctx.date, user.language) if 
ctx.date else &apos;&apos;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;otherwise&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P28">Statement</text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/otherwise&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/choose&gt;</text:placeholder></text:p>
+   <table:table table:name="Types" table:style-name="Types">
+    <table:table-column table:style-name="Types.A"/>
+    <table:table-column table:style-name="Types.B"/>
+    <table:table-row table:style-name="TableLine94156551817968">
+     <table:table-cell table:style-name="Types.A1" office:value-type="string">
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;type, path in 
types&quot;&gt;</text:placeholder></text:p>
+     </table:table-cell>
+     <table:table-cell table:style-name="Types.A1" office:value-type="string">
+      <text:p text:style-name="P30"/>
+     </table:table-cell>
+    </table:table-row>
+    <table:table-row table:style-name="TableLine94156551816688">
+     <table:table-cell table:style-name="Types.A1" office:value-type="string">
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;choose&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;when test=&quot;len(path) &lt;= 
1&quot;&gt;</text:placeholder></text:p>
+      <text:p text:style-name="Heading_20_2"><text:placeholder 
text:placeholder-type="text">&lt;type.name&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;when test=&quot;len(path) == 
2&quot;&gt;</text:placeholder></text:p>
+      <text:p 
text:style-name="Heading_20_3"><text:soft-page-break/><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;_ in range(len(path) 
-1)&quot;&gt;</text:placeholder><text:s/><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder><text:placeholder 
text:placeholder-type="text">&lt;type.name&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;otherwise&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;for each=&quot;_ in range(len(path) 
-1)&quot;&gt;</text:placeholder><text:s/><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder><text:placeholder 
text:placeholder-type="text">&lt;type.name&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;/otherwise&gt;</text:placeholder></text:p>
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;/choose&gt;</text:placeholder></text:p>
+     </table:table-cell>
+     <table:table-cell table:style-name="Types.B2" office:value-type="string">
+      <text:p text:style-name="P31"><text:placeholder 
text:placeholder-type="text">&lt;format_currency(type.amount, user.language, 
company.currency)&gt;</text:placeholder></text:p>
+     </table:table-cell>
+    </table:table-row>
+    <table:table-row table:style-name="TableLine94156551892224">
+     <table:table-cell table:style-name="Types.A1" office:value-type="string">
+      <text:p text:style-name="P30"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
+     </table:table-cell>
+     <table:table-cell table:style-name="Types.A1" office:value-type="string">
+      <text:p text:style-name="P30"/>
+     </table:table-cell>
+    </table:table-row>
+   </table:table>
+   <text:p text:style-name="P21"/>
+  </office:text>
+ </office:body>
+</office:document>
\ No newline at end of file

Reply via email to