~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to msf_outgoing/report/labels.rml

  • Committer: Olivier DOSSMANN
  • Date: 2013-05-31 14:22:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1687.
  • Revision ID: od@tempo-consulting.fr-20130531142209-sbcwvzuema11guzz
UF-1991 [FIX] Problem with wizard on "msg" field. Change it to "name".

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="test.pdf">
 
3
  <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
 
4
    <pageTemplate id="first">
 
5
      <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
 
6
    </pageTemplate>
 
7
  </template>
 
8
  <stylesheet>
 
9
    <blockTableStyle id="Standard_Outline">
 
10
      <blockAlignment value="LEFT"/>
 
11
      <blockValign value="TOP"/>
 
12
    </blockTableStyle>
 
13
    <blockTableStyle id="Table6">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
 
17
      <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
 
18
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/>
 
19
      <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
 
20
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,1" stop="0,-1"/>
 
21
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,1" stop="1,-1"/>
 
22
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,2" stop="0,-1"/>
 
23
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,2" stop="1,-1"/>
 
24
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,3" stop="0,-1"/>
 
25
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,3" stop="1,-1"/>
 
26
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,4" stop="0,-1"/>
 
27
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,4" stop="1,-1"/>
 
28
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,5" stop="0,-1"/>
 
29
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,5" stop="1,-1"/>
 
30
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,6" stop="0,-1"/>
 
31
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,6" stop="1,-1"/>
 
32
      <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,7" stop="0,-1"/>
 
33
      <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
 
34
      <lineStyle kind="LINEAFTER" colorName="#000000" start="1,7" stop="1,-1"/>
 
35
      <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
 
36
    </blockTableStyle>
 
37
    <initialize>
 
38
      <paraStyle name="all" alignment="justify"/>
 
39
    </initialize>
 
40
    <paraStyle name="P1" fontName="Helvetica" fontSize="10.0" leading="13"/>
 
41
    <paraStyle name="P2" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
42
    <paraStyle name="P3" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
43
    <paraStyle name="P4" fontName="Helvetica" fontSize="13.0" leading="16" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
44
    <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="13.0" leading="16" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
45
    <paraStyle name="P6" fontName="Helvetica-Bold" fontSize="13.0" leading="16" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
46
    <paraStyle name="P7" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
47
    <paraStyle name="P8" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
48
    <paraStyle name="Standard" fontName="Helvetica"/>
 
49
    <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
50
    <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
 
51
    <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
52
    <paraStyle name="Table Contents" fontName="Helvetica"/>
 
53
    <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
 
54
    <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
 
55
    <paraStyle name="Index" fontName="Helvetica"/>
 
56
    <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
 
57
    <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
58
    <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
59
    <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
60
    <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
61
    <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
 
62
    <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
 
63
    <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
64
    <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
 
65
    <paraStyle name="Footer" fontName="Helvetica"/>
 
66
    <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
 
67
    <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
 
68
    <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
 
69
    <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
 
70
    <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
 
71
    <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
72
    <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
 
73
    <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
 
74
    <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
75
    <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
76
    <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
77
    <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
78
    <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
79
    <paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
80
    <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
 
81
    <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
82
    <images/>
 
83
  </stylesheet>
 
84
  <story>
 
85
    <para style="P8">[[repeatIn(objects,'stock_picking')]]</para>
 
86
    <section>
 
87
      <para style="P7">[[repeatIn(stock_picking.pack_family_memory_ids,'pack_family')]]</para>
 
88
      <section>
 
89
        <para style="P7">[[repeatIn(range(pack_family.from_pack,pack_family.to_pack+1),'titi')]]</para>
 
90
        <blockTable colWidths="186.0,351.0" style="Table6">
 
91
          <tr>
 
92
            <td>
 
93
              <para style="P5">
 
94
                <font color="white"> </font>
 
95
              </para>
 
96
            </td>
 
97
            <td>
 
98
              <image>[[ company.logo or removeParentNode('image') ]]</image>
 
99
            </td>
 
100
          </tr>
 
101
          <tr>
 
102
            <td>
 
103
              <para style="P4">[[ stock_picking.ppl_customize_label.requestor_order_reference and translate('Your Order:') or ' ' ]]</para>
 
104
            </td>
 
105
            <td>
 
106
              <para style="P2">[[ stock_picking.ppl_customize_label.requestor_order_reference and stock_picking.sale_id.client_order_ref or ' ' ]]</para>
 
107
            </td>
 
108
          </tr>
 
109
          <tr>
 
110
            <td>
 
111
              <para style="P4">[[ stock_picking.ppl_customize_label.packing_parcel_number and translate('Parcel No:') or ' ' ]]</para>
 
112
            </td>
 
113
            <td>
 
114
              <para style="P2">[[ stock_picking.ppl_customize_label.packing_parcel_number and '%s / %s'%(titi, stock_picking.num_of_packs) or ' ' ]]</para>
 
115
            </td>
 
116
          </tr>
 
117
          <tr>
 
118
            <td>
 
119
              <para style="P4">[[ stock_picking.ppl_customize_label.pre_packing_list_reference and translate('Our Pre Packing List Reference:') or ' ' ]]</para>
 
120
            </td>
 
121
            <td>
 
122
              <para style="P3">[[ stock_picking.ppl_customize_label.pre_packing_list_reference and stock_picking.name or ' ' ]]</para>
 
123
            </td>
 
124
          </tr>
 
125
          <tr>
 
126
            <td>
 
127
              <para style="P4">[[ stock_picking.ppl_customize_label.destination_partner and translate('Project Destination:') or ' ' ]]</para>
 
128
            </td>
 
129
            <td>
 
130
              <para style="P3">[[ stock_picking.ppl_customize_label.destination_partner and stock_picking.sale_id.partner_id.name or ' ' ]]</para>
 
131
            </td>
 
132
          </tr>
 
133
          <tr>
 
134
            <td>
 
135
              <para style="P4">[[ stock_picking.ppl_customize_label.destination_address and translate('Project Destination Address:') or '' ]]</para>
 
136
            </td>
 
137
            <td>
 
138
              <para style="P2">[[ stock_picking.ppl_customize_label.destination_address and stock_picking.sale_id.partner_id.address[0].street or ' ' ]]</para>
 
139
              <para style="P3">[[ stock_picking.ppl_customize_label.destination_address and stock_picking.sale_id.partner_id.address[0].city or ' ' ]]</para>
 
140
              <para style="P2">[[ stock_picking.ppl_customize_label.destination_address and stock_picking.sale_id.partner_id.address[0].country_id.name or ' ' ]]</para>
 
141
            </td>
 
142
          </tr>
 
143
          <tr>
 
144
            <td>
 
145
              <para style="P4">[[ stock_picking.ppl_customize_label.weight and translate('Weight:') or ' ' ]]</para>
 
146
            </td>
 
147
            <td>
 
148
              <para style="P3">[[ stock_picking.ppl_customize_label.weight and str(pack_family.weight or '0.0') + ' kg' or ' ' ]]</para>
 
149
            </td>
 
150
          </tr>
 
151
          <tr>
 
152
            <td>
 
153
              <para style="P4">[[ stock_picking.ppl_customize_label.specific_information and translate('Specific Information:') or ' ' ]]</para>
 
154
            </td>
 
155
            <td>
 
156
              <para style="P2">[[ stock_picking.ppl_customize_label.specific_information and stock_picking.is_keep_cool and translate('KC / ') or ' ' ]][[ stock_picking.ppl_customize_label.specific_information and stock_picking.is_dangerous_good and translate('DG / ') or ' ' ]][[ stock_picking.ppl_customize_label.specific_information and stock_picking.is_narcotic and translate('N') or ' ' ]]</para>
 
157
            </td>
 
158
          </tr>
 
159
        </blockTable>
 
160
        <para style="P1">
 
161
          <font color="white"> </font>
 
162
        </para>
 
163
        <para style="P1">
 
164
          <font color="white"> </font>
 
165
        </para>
 
166
        <para style="P1">
 
167
          <font color="white"> </font>
 
168
        </para>
 
169
        <para style="P1">
 
170
          <font color="white"> </font>
 
171
        </para>
 
172
        <para style="P1">
 
173
          <font color="white"> </font>
 
174
        </para>
 
175
        <condPageBreak height="10cm" />
 
176
      </section>
 
177
    </section>
 
178
  </story>
 
179
</document>