~vauxoo/addons-vauxoo/rico_contract_fix_email_and_more_dev_ernesto

« back to all changes in this revision

Viewing changes to mrp_webkit_report_wizard/data.xml

[ADD]mrp_webkit_report_wizard Se agregó un wizard para reportear usando webkit, las variaciones en las órdenes de producción, de los productos que se seleccionen en el wizard, en el rango de fecha dado.Lo hace también para sus supproducciones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
    <data noupdate="1">
 
4
        <record id="ir_header_webkit_mrp_variation0" model="ir.header_webkit">
 
5
            <field name="footer_html"><![CDATA[<html>
 
6
    <head>
 
7
        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
8
        <script>
 
9
            function subst() {
 
10
            var vars={};
 
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'];
 
14
            for(var i in x) {
 
15
            var y = document.getElementsByClassName(x[i]);
 
16
            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
 
17
                }
 
18
            }
 
19
        </script>
 
20
    </head>
 
21
    <body style="border:0; margin: 0;" onload="subst()">
 
22
        <table style="border-top: 1px solid black; width: 100%">
 
23
            <tr >
 
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>
 
25
            </tr>
 
26
            <tr >
 
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>
 
28
            </tr>
 
29
        </table>
 
30
    </body>
 
31
</html>]]></field>
 
32
            <field name="orientation">Portrait</field>
 
33
                        <field name="format">Letter</field>
 
34
            <field name="html"><![CDATA[<html>
 
35
    <head>
 
36
        <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
 
37
        <script>
 
38
            function subst() {
 
39
            var vars={};
 
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'];
 
43
            for(var i in x) {
 
44
            var y = document.getElementsByClassName(x[i]);
 
45
            for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
 
46
                }
 
47
            }
 
48
        </script>
 
49
        <style type="text/css">
 
50
            ${css}
 
51
        </style>
 
52
    </head>
 
53
    <body style="border:0; margin: 0;" onload="subst()">
 
54
        ${_debug or ''|n} </body>
 
55
</html>]]>
 
56
</field>
 
57
            <field eval="0.0" name="margin_top"/>
 
58
            <field name="css" ><![CDATA[
 
59
body{
 
60
font-family:helvetica;
 
61
font-size:12;
 
62
margin:0;
 
63
padding:0;
 
64
height:100%;
 
65
}
 
66
 
 
67
.basic_header
 
68
{
 
69
margin:auto;
 
70
width:60%;
 
71
background-color:AADDAA;
 
72
color:#DDF0F0;
 
73
min-height:65px
 
74
}
 
75
 
 
76
td.basic_td{
 
77
border-bottom:0px solid black;
 
78
border-left:0px solid black;
 
79
border-right:0px solid black;
 
80
text-align:left;
 
81
font-size:9;
 
82
padding-right:2px
 
83
padding-left:2px
 
84
padding-top:2px
 
85
padding-bottom:2px
 
86
}
 
87
 
 
88
td.number_td
 
89
{
 
90
text-align:right;
 
91
border-bottom:0px solid black;
 
92
border-left:0px solid black;
 
93
border-right:0px solid black;
 
94
font-family:helvetica;
 
95
font-size:9;
 
96
padding-right:2px
 
97
padding-left:2px
 
98
padding-top:2px
 
99
padding-bottom:2px
 
100
max-height:15px;
 
101
}
 
102
 
 
103
th.basic_th
 
104
{
 
105
color:#201020;
 
106
border-bottom:2px solid black;
 
107
border-left:1px solid gray;
 
108
text-align:center;
 
109
font-size:10;
 
110
font-weight:bold;
 
111
padding-right:3px
 
112
padding-left:3px
 
113
}
 
114
 
 
115
td.lastrow
 
116
{
 
117
text-align:right;
 
118
font-size:10;
 
119
background-color:#CCFFFF;
 
120
border-bottom:0px solid black;
 
121
border-left:0px solid black;
 
122
border-right:0px solid black;
 
123
}
 
124
 
 
125
tr.nonrow
 
126
{
 
127
background-color:#FFDDFF;
 
128
}
 
129
tr
 
130
{
 
131
page-break-after:auto;
 
132
}
 
133
 
 
134
.basic_table{
 
135
text-align:center;
 
136
border:1px solid lightGrey;
 
137
border-collapse: collapse;
 
138
width:100%;
 
139
}
 
140
]]> </field>
 
141
            <field name="name">MRP Var</field>
 
142
        </record>
 
143
        <record id="ir_header_img_companylogo0" model="ir.header_img">
 
144
            <field eval="&quot;&quot;&quot;jpg&quot;&quot;&quot;" name="type"/>
 
145
            <field eval="&quot;&quot;&quot;company_logo&quot;&quot;&quot;" name="name"/>
 
146
        </record>
 
147
    </data>
 
148
</openerp>