[IMP] web: allow fields in list view to use the attrs readonly to dynamically show...
[odoo/odoo.git] / addons / hr_holidays / report / hr_custom_rml.xsl
1 <?xml version = '1.0' encoding="utf-8"?>
2
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
4
5         <xsl:template name="first_page_graphics_report"/>
6         <xsl:template name="other_pages_graphics_report"/>
7
8         <xsl:template name="rml">
9                 <document filename="example.pdf">
10                         <template pageSize="29.7cm,21cm" leftMargin="2.0cm" rightMargin="2.0cm" topMargin="2.0cm" bottomMargin="2.0cm" title="Timesheets" author="Generated by Open ERP, Fabien Pinckaers" allowSplitting="20">
11                                 <pageTemplate id="first_page">
12                                         <pageGraphics>
13                                                 <xsl:call-template name="first_page_graphics_corporation"/>
14                                         </pageGraphics>
15
16                                         <xsl:call-template name="first_page_frames"/>
17                                 </pageTemplate>
18                                 <pageTemplate id="other_pages">
19                                         <pageGraphics>
20                                                 <xsl:call-template name="other_pages_graphics_corporation"/>
21                                         </pageGraphics>
22
23                                         <xsl:call-template name="other_pages_frames"/>
24                                 </pageTemplate>
25                         </template>
26
27                         <stylesheet>
28                             <xsl:call-template name="stylesheet"/>
29                     </stylesheet>
30
31                         <story>
32                                 <xsl:call-template name="story"/>
33                         </story>
34
35                 </document>
36     </xsl:template>
37 </xsl:stylesheet>