4
<record id="ir_header_webkit_mrp_variation0" model="ir.header_webkit">
5
<field name="footer_html"><![CDATA[<html>
7
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
11
var x=document.location.search.substring(1).split('&');
12
for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
13
var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
15
var y = document.getElementsByClassName(x[i]);
16
for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
21
<body style="border:0; margin: 0;" onload="subst()">
22
<table style="border-top: 1px solid black; width: 100%">
24
<td style="text-align:right;font-size:12;" width="75%">Page <span class="page"/></td><td style="text-align:left;font-size:12;"> of <span class="topage"/></td>
27
<td style="text-align:right;font-size:8;">Detalles del OS: ${os.name or ''|entity} ${platform.system() or ''|entity} - release: ${platform.release() or ''|entity} Vauxoo ® ${time.strftime("%Y-%m-%d %H:%M:%S") or ''|entity}</td>
32
<field name="orientation">Portrait</field>
33
<field name="format">Letter</field>
34
<field name="html"><![CDATA[<html>
36
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
40
var x=document.location.search.substring(1).split('&');
41
for(var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
42
var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
44
var y = document.getElementsByClassName(x[i]);
45
for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
49
<style type="text/css">
53
<body style="border:0; margin: 0;" onload="subst()">
54
${_debug or ''|n} </body>
57
<field eval="0.0" name="margin_top"/>
58
<field name="css" ><![CDATA[
60
font-family:helvetica;
71
background-color:AADDAA;
77
border-bottom:0px solid black;
78
border-left:0px solid black;
79
border-right:0px solid black;
91
border-bottom:0px solid black;
92
border-left:0px solid black;
93
border-right:0px solid black;
94
font-family:helvetica;
106
border-bottom:2px solid black;
107
border-left:1px solid gray;
119
background-color:#CCFFFF;
120
border-bottom:0px solid black;
121
border-left:0px solid black;
122
border-right:0px solid black;
127
background-color:#FFDDFF;
131
page-break-after:auto;
136
border:1px solid lightGrey;
137
border-collapse: collapse;
141
<field name="name">MRP Var</field>
143
<record id="ir_header_img_companylogo0" model="ir.header_img">
144
<field eval=""""jpg"""" name="type"/>
145
<field eval=""""company_logo"""" name="name"/>