4 <record id=
"financial_landscape_header" model=
"ir.header_webkit">
5 <field name=
"footer_html"><![CDATA[
8 <meta content=
"text/html; charset=UTF-8" http-equiv=
"content-type"/>
12 var x=document.location.search.substring(
1).split('&');
13 for(var i in x) {var z=x[i].split('=',
2);vars[z[
0]] = unescape(z[
1]);}
14 var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
16 var y = document.getElementsByClassName(x[i]);
17 for(var j=
0; j
<y.length; ++j) y[j].textContent = vars[x[i]];
23 <body style=
"border:0; margin: 0;" onload=
"subst()">
24 <table style=
"border-top: 1px solid black; width: 1080px">
25 <tr style=
"border-collapse:collapse;">
26 <td style=
"text-align:left;font-size:10;width:350px;">${formatLang( str(datetime.datetime.today()), date_time=True)}
</td>
27 <td style=
"text-align:center;font-size:10;width:350px;">${user.name}
</td>
28 <td style=
"text-align:right;font-size:10;width:350px;">Page
<span class=
"page"/></td>
29 <td style=
"text-align:left;font-size:10;width:30px"> of
<span class=
"topage"/></td>
34 <field name=
"orientation">Landscape
</field>
35 <field name=
"format">A4
</field>
36 <field name=
"html"><![CDATA[
39 <meta content=
"text/html; charset=UTF-8" http-equiv=
"content-type"/>
43 var x=document.location.search.substring(
1).split('&');
44 for(var i in x) {var z=x[i].split('=',
2);vars[z[
0]] = unescape(z[
1]);}
45 var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
47 var y = document.getElementsByClassName(x[i]);
48 for(var j=
0; j
<y.length; ++j) y[j].textContent = vars[x[i]];
52 <style type=
"text/css">
56 <body style=
"border:0; margin: 0;" onload=
"subst()">
57 <table class=
"header" style=
"border-bottom: 0px solid black; width: 100%">
59 <td style=
"text-align:left; font-size:11px; font-weight: bold;"><span style=
"text-transform:uppercase; font-size:12px;">${report_name}
</span> - ${company.partner_id.name | entity} - ${company.currency_id.name | entity}
</td>
61 </table> ${_debug or ''|n}
</body>
64 <field eval=
"0.0" name=
"margin_top"/>
65 <field name=
"css"><![CDATA[
67 body, table, td, span, div {
68 font-family: Helvetica, Arial;
81 display: table-header-group;
84 display: table-row-group;
87 display: table-footer-group;
90 display: table-caption;
93 display: table-column-group;
96 .list_table, .data_table {
101 .bg, .act_as_row.labels {
102 background-color:#F0F0F0;
105 .list_table, .data_table, .list_table .act_as_row {
114 border-collapse:collapse;
117 .list_table .act_as_row.labels, .list_table .act_as_row.initial_balance, .list_table .act_as_row.lines {
119 border-bottom:
1px solid lightGrey;
122 .data_table .act_as_cell {
123 border:
1px solid lightGrey;
127 .data_table .act_as_cell, .list_table .act_as_cell {
128 word-wrap: break-word;
131 .data_table .act_as_row.labels {
135 .initial_balance .act_as_cell {
142 page-break-after: avoid;
145 .act_as_cell.amount {
150 .list_table .act_as_cell{
152 /* border-right:
1px solid lightGrey; uncomment to active column lines */
154 .list_table .act_as_cell.first_column {
156 /* border-left:
1px solid lightGrey; uncomment to active column lines */
160 border-left:
1px solid lightGrey;
164 text-overflow: ellipsis;
169 .open_invoice_previous_line {
179 <field name=
"name">Financial Landscape Header
</field>
182 <record id=
"financial_portrait_header" model=
"ir.header_webkit">
183 <field name=
"footer_html"><![CDATA[
186 <meta content=
"text/html; charset=UTF-8" http-equiv=
"content-type"/>
190 var x=document.location.search.substring(
1).split('&');
191 for(var i in x) {var z=x[i].split('=',
2);vars[z[
0]] = unescape(z[
1]);}
192 var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
194 var y = document.getElementsByClassName(x[i]);
195 for(var j=
0; j
<y.length; ++j) y[j].textContent = vars[x[i]];
200 <% import datetime %
>
201 <body style=
"border:0; margin: 0;" onload=
"subst()">
202 <table style=
"border-top: 1px solid black; width: 1080px">
203 <tr style=
"border-collapse:collapse;">
204 <td style=
"text-align:left;font-size:10;width:350px;">${formatLang( str(datetime.datetime.today()), date_time=True)}
</td>
205 <td style=
"text-align:center;font-size:10;width:350px;">${user.name}
</td>
206 <td style=
"text-align:right;font-size:10;width:350px;">Page
<span class=
"page"/></td>
207 <td style=
"text-align:left;font-size:10;width:30px"> of
<span class=
"topage"/></td>
212 <field name=
"orientation">Portrait
</field>
213 <field name=
"format">A4
</field>
214 <field name=
"html"><![CDATA[
217 <meta content=
"text/html; charset=UTF-8" http-equiv=
"content-type"/>
221 var x=document.location.search.substring(
1).split('&');
222 for(var i in x) {var z=x[i].split('=',
2);vars[z[
0]] = unescape(z[
1]);}
223 var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
225 var y = document.getElementsByClassName(x[i]);
226 for(var j=
0; j
<y.length; ++j) y[j].textContent = vars[x[i]];
230 <style type=
"text/css">
234 <body style=
"border:0; margin: 0;" onload=
"subst()">
235 <table class=
"header" style=
"border-bottom: 0px solid black; width: 100%">
237 <td style=
"text-align:left; font-size:11px; font-weight: bold;"><span style=
"text-transform:uppercase; font-size:12px;">${report_name}
</span> - ${company.partner_id.name | entity} - ${company.currency_id.name | entity}
</td>
239 </table> ${_debug or ''|n}
</body>
242 <field eval=
"17.0" name=
"margin_top"/>
243 <field eval=
"15.0" name=
"margin_bottom"/>
244 <field name=
"css"><![CDATA[
246 body, table, td, span, div {
247 font-family: Helvetica, Arial;
260 display: table-header-group;
263 display: table-row-group;
266 display: table-footer-group;
269 display: table-caption;
272 display: table-column-group;
275 .list_table, .data_table {
280 .bg, .act_as_row.labels {
281 background-color:#F0F0F0;
284 .list_table, .data_table, .list_table .act_as_row {
293 border-collapse:collapse;
296 .list_table .act_as_row.labels, .list_table .act_as_row.initial_balance, .list_table .act_as_row.lines {
298 border-bottom:
1px solid lightGrey;
301 .data_table .act_as_cell {
302 border:
1px solid lightGrey;
306 .data_table .act_as_cell, .list_table .act_as_cell {
307 word-wrap: break-word;
310 .data_table .act_as_row.labels {
314 .initial_balance .act_as_cell {
321 page-break-after: avoid;
324 .act_as_cell.amount {
329 .list_table .act_as_cell{
331 /* border-right:
1px solid lightGrey; uncomment to active column lines */
333 .list_table .act_as_cell.first_column {
335 /* border-left:
1px solid lightGrey; uncomment to active column lines */
339 border-left:
1px solid lightGrey;
343 text-transform: uppercase;
344 /*font-weight: bold;*/
346 background-color:#F0F0F0;
350 .account_level_1 .act_as_cell {
352 vertical-align: bottom;
357 /*text-transform: uppercase;
360 background-color:#F0F0F0;
364 .account_level_2 .act_as_cell {
366 vertical-align: bottom;
370 text-transform: uppercase;
373 background-color:#FAFAFA;
386 .regular_account_type {
393 .account_level_consol {
399 text-overflow: ellipsis;
406 <field name=
"name">Financial Portrait Header
</field>