~oscarolar/addons-vauxoo/addons-vauxoo

« back to all changes in this revision

Viewing changes to ifrs_report/report/ifrs_cash_flow_indirect_12_partner_detail.rml

  • Committer: Humberto Arocha
  • Date: 2013-05-24 15:31:51 UTC
  • Revision ID: humbertoarocha@gmail.com-20130524153151-hh4fbw172drp6poq
[MERGE] Backport from Trunk revno 802..803

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="test2.pdf">
 
3
 
 
4
    <template pageSize="(432mm,279.4mm)" title="IFRS" author="Yanina Aular y Katherine Zaoral" allowSplitting="1" showBoundary="0">
 
5
    <pageTemplate id="first">
 
6
 
 
7
        <pageGraphics>
 
8
 
 
9
            <!-- COMPANY LOGO -->
 
10
            <image x="100.0mm" y="252.0mm" height="15mm" >[[company.logo and company.logo or removeParentNode('image')]]</image>
 
11
 
 
12
            <!-- REPORT CURVE BORDER  -->
 
13
            <stroke color="black"/>
 
14
            <rect x="10mm" y="10mm" width="412mm" height="259.4mm" fill="no" stroke="yes" round="2.5mm" />
 
15
 
 
16
            <!-- FOOTER -->
 
17
            <drawString x="10mm" y="5mm">Reporte Impreso en OpenERP con ReportLab</drawString>
 
18
            <drawRightString x="200mm" y="5mm">Fecha de Impresion:  [[formatLang(time.strftime('%Y-%m-%d'),date=True)]] [[time.strftime('%H:%m')]] / Pagina:<pageNumber/> </drawRightString>
 
19
 
 
20
        </pageGraphics>
 
21
 
 
22
        <frame id="first" x1="10mm" y1="10mm" width="412mm" height="259.0mm"/>
 
23
    </pageTemplate>
 
24
    </template>
 
25
 
 
26
    <stylesheet>
 
27
 
 
28
        <!-- Header styles -->
 
29
 
 
30
            <paraStyle
 
31
                name="info_header"
 
32
                fontName="Helvetica"
 
33
                fontSize="10.0"
 
34
                textColor="black"
 
35
            />
 
36
 
 
37
 
 
38
        <!-- Pappding style for ifrs lines -->
 
39
 
 
40
            <paraStyle name="padding_level_0" leftIndent="0"  fontName="Helvetica" fontSize="9.0" alignment="left" />
 
41
            <paraStyle name="padding_level_1" leftIndent="15" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
42
            <paraStyle name="padding_level_2" leftIndent="30" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
43
            <paraStyle name="padding_level_3" leftIndent="45" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
44
            <paraStyle name="padding_level_4" leftIndent="60" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
45
            <paraStyle name="padding_level_5" leftIndent="75" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
46
            <paraStyle name="padding_level_6" leftIndent="90" fontName="Helvetica" fontSize="9.0" alignment="left"/>
 
47
 
 
48
        <!-- Data Table Styles -->
 
49
 
 
50
            <!-- Numeric Data  -->
 
51
            
 
52
            <paraStyle
 
53
                name="numeric_data_table_style"
 
54
                fontName="Helvetica"
 
55
                fontSize="9.0"
 
56
                alignment="right"
 
57
            />
 
58
 
 
59
            <paraStyle
 
60
                name="numeric_data_table_style2"
 
61
                fontName="Helvetica"
 
62
                fontSize="9.0"
 
63
                alignment="right"
 
64
            />
 
65
 
 
66
            <!-- Row Styles -->
 
67
 
 
68
                <blockTableStyle id="header_table_style">
 
69
                    <blockValign value="CENTER"/>
 
70
                    <blockAlignment value="CENTER"/>
 
71
                    <lineStyle kind="LINEABOVE" colorName="black" thickness="1" />
 
72
                    <blockFont name="Helvetica" size="9.0" start="1,0" stop="-1,0"/>
 
73
                    <blockBackground colorName="#ECFFDC"/>
 
74
                </blockTableStyle>
 
75
 
 
76
                <blockTableStyle id="first_row_style">
 
77
                    <blockBackground colorName="#ECFFDC"/>
 
78
                    <lineStyle kind="INNERGRID" colorName="black" thickness="0"/>
 
79
                    <lineStyle kind="LINEABOVE" colorName="black" thickness="1"/>
 
80
                </blockTableStyle>
 
81
 
 
82
                <blockTableStyle id="dark_color_row_style">
 
83
                    <blockBackground colorName="#ECFFDC"/>
 
84
                    <lineStyle kind="INNERGRID" colorName="black" thickness="0" />
 
85
                </blockTableStyle>
 
86
 
 
87
                <blockTableStyle id="light_color_row_style">
 
88
                    <blockBackground colorName="white"/>
 
89
                    <lineStyle kind="INNERGRID" colorName="black" thickness="0" />
 
90
                </blockTableStyle>
 
91
                
 
92
                <blockTableStyle id="light_color_row_style2">
 
93
                    <blockBackground colorName="white"/>
 
94
                </blockTableStyle>
 
95
 
 
96
            <!-- Amount Cell Stype (total or simple) -->
 
97
 
 
98
                <blockTableStyle id="total_amount_row_style">
 
99
                    <lineStyle kind="LINEBELOW" thickness="1" />
 
100
                </blockTableStyle>
 
101
 
 
102
                <blockTableStyle id="simple_amount_row_style">
 
103
                </blockTableStyle>
 
104
 
 
105
    </stylesheet>
 
106
 
 
107
    <story>
 
108
 
 
109
        <para>[[ repeatIn(objects,'o') ]]</para>
 
110
        <section>
 
111
 
 
112
        <para style="info_header">
 
113
            <b>[[ get_report_title(o) ]]</b> <br/>
 
114
            <b>Company:</b> [[ company.name.upper() ]].<br/>
 
115
            <b>Fiscalyear:</b> [[ get_fiscalyear_print_info(data['fiscalyear']) ]].<br/>
 
116
            <b>Period:</b> [[ get_period_print_info(data['period'],data['report_type']) ]] <br/><br/>
 
117
        </para>
 
118
        <para>[[ get_total_ifrs_lines(o) ]] </para>
 
119
        <para>[[ get_periods_name_list(o,data['fiscalyear']) ]]</para>
 
120
        <!-- header row table -->
 
121
        <blockTable style="header_table_style" colWidths="112.4mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm">
 
122
            <tr>
 
123
                <td><para alignment="center">[[get_column_name(0)]]</para></td>
 
124
                <td><para alignment="center">[[get_column_name(1)]]</para></td>
 
125
                <td><para alignment="center">[[get_column_name(2)]]</para></td>
 
126
                <td><para alignment="center">[[get_column_name(3)]]</para></td>
 
127
                <td><para alignment="center">[[get_column_name(4)]]</para></td>
 
128
                <td><para alignment="center">[[get_column_name(5)]]</para></td>
 
129
                <td><para alignment="center">[[get_column_name(6)]]</para></td>
 
130
                <td><para alignment="center">[[get_column_name(7)]]</para></td>
 
131
                <td><para alignment="center">[[get_column_name(8)]]</para></td>
 
132
                <td><para alignment="center">[[get_column_name(9)]]</para></td>
 
133
                <td><para alignment="center">[[get_column_name(10)]]</para></td>
 
134
                <td><para alignment="center">[[get_column_name(11)]]</para></td>
 
135
                <td><para alignment="center">[[get_column_name(12)]]</para></td>
 
136
            </tr>
 
137
        </blockTable>
 
138
                <section>
 
139
                        <para>[[ repeatIn(o.ifrs_lines_ids,'ifrs_l') ]]</para>
 
140
                        <blockTable> [[ setTag('blockTable','blockTable', {'colWidths' : '112.4mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm,24.96mm', 'style' : get_row_style()+'_row_style'}) ]]
 
141
                                <para>[[ ifrs_l.invisible and removeParentNode('blockTable') ]]</para>
 
142
                                <tr>
 
143
                                        <td>
 
144
                                                <para> [[ setTag('para','para', {'style': 'padding_level_0' })]] [[ ifrs_l.name]] </para>
 
145
                                        </td>
 
146
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 1, data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
147
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 2,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
148
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 3,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
149
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 4,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
150
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 5,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
151
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 6,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
152
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 7,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
153
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 8,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
154
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 9,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
155
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 10,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
156
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 11,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
157
                                        <td><para style="numeric_data_table_style2">[[ formatLang( get_amount_value(ifrs_l, 12,data['target_move']), digits=2, date=False, date_time=False, grouping=3, monetary=False) ]]</para></td>
 
158
                                </tr>
 
159
                        </blockTable>
 
160
                </section>
 
161
        </section>
 
162
    </story>
 
163
</document>