~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to mrp_production_report/report/order.rml

  • Committer: Harshad Modi
  • Date: 2008-03-29 09:20:28 UTC
  • Revision ID: hmo@tinyerp.com-ef1523b03713a254c1242af83490a352b25ff31f
*** account_journal_visibility ***: 
when we open the journals list, people will only see journal for which they are allowed (means their group is specified on the journal definition). and also Only people in the group defined on the journal will be able to see the invoices of this journal.

*** mrp_production_report ***:
 Add partner on procurement form which set when Sale order confirm , Add link between production and procument , New report for production.

*** stock_back_order ***: 
To manage all back-orders (means partial pickings):  When products coming from suppliers arrive but some are missing, we have to make a partial picking. The remaining products are called "back-orders" and have to be separated from normal waiting picking (in a predefined list called "Back-Orders"). The same process has to be done for sending goods.

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="34.0" y1="42.0" width="527" 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="Tableau2">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
      <lineStyle kind="GRID" colorName="black"/>
 
17
      <blockBackground colorName="#e6e6e6" start="0,0" stop="0,0"/>
 
18
      <blockBackground colorName="#e6e6e6" start="1,0" stop="1,0"/>
 
19
      <blockBackground colorName="#e6e6e6" start="2,0" stop="2,0"/>
 
20
    </blockTableStyle>
 
21
    <blockTableStyle id="Tableau3">
 
22
      <blockAlignment value="LEFT"/>
 
23
      <blockValign value="TOP"/>
 
24
    </blockTableStyle>
 
25
    <blockTableStyle id="Table1">
 
26
      <blockAlignment value="LEFT"/>
 
27
      <blockValign value="TOP"/>
 
28
    </blockTableStyle>
 
29
    <initialize>
 
30
      <paraStyle name="all" alignment="justify"/>
 
31
    </initialize>
 
32
    <paraStyle name="P1" fontName="Times-Bold" fontSize="11.0" leading="14" alignment="LEFT"/>
 
33
    <paraStyle name="P2" fontName="Times-Bold" fontSize="11.0" leading="14"/>
 
34
    <paraStyle name="P3" fontName="Times-Bold" fontSize="11.0" leading="14"/>
 
35
    <paraStyle name="P4" fontName="Times-Bold" fontSize="11.0" leading="14" alignment="LEFT"/>
 
36
    <paraStyle name="P5" fontName="Times-Bold" fontSize="11.0" leading="14" alignment="RIGHT"/>
 
37
    <paraStyle name="P6" fontName="Times-Bold" fontSize="16.0" leading="20"/>
 
38
    <paraStyle name="P7" fontName="Times-Roman" fontSize="16.0" leading="20"/>
 
39
    <paraStyle name="P8" fontName="Times-Bold" fontSize="16.0" leading="20" alignment="LEFT"/>
 
40
    <paraStyle name="P9" fontName="Times-Roman"/>
 
41
    <paraStyle name="P10" fontName="Times-Bold" fontSize="9.0" leading="11"/>
 
42
    <paraStyle name="P11" fontName="Times-Bold" fontSize="11.0" leading="14" alignment="LEFT"/>
 
43
    <paraStyle name="P12" fontName="Times-Bold" fontSize="11.0" leading="14" alignment="CENTER"/>
 
44
    <paraStyle name="P13" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="LEFT"/>
 
45
    <paraStyle name="P14" fontName="Times-Roman" fontSize="11.0" leading="14"/>
 
46
    <paraStyle name="P15" fontName="Times-Roman" fontSize="11.0" leading="14"/>
 
47
    <paraStyle name="P16" fontName="Times-Roman" fontSize="9.0" leading="11"/>
 
48
    <paraStyle name="P17" fontName="Times-Italic" fontSize="9.0" leading="11"/>
 
49
    <paraStyle name="P18" fontName="Times-Roman" alignment="LEFT"/>
 
50
    <paraStyle name="P19" fontName="Times-Roman" fontSize="11.0" leading="14"/>
 
51
    <paraStyle name="P20" fontName="Times-Bold" fontSize="16.0" leading="16" alignment="LEFT"/>
 
52
    <paraStyle name="P21" fontName="Times-Bold" fontSize="16.0" leading="16" alignment="RIGHT"/>
 
53
    <paraStyle name="Standard" fontName="Times-Roman"/>
 
54
    <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
 
55
    <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
 
56
    <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
 
57
    <paraStyle name="Table Contents" fontName="Times-Roman"/>
 
58
    <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER"/>
 
59
    <paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
 
60
    <paraStyle name="Index" fontName="Times-Roman"/>
 
61
  </stylesheet>
 
62
  <story>
 
63
    <para style="P16">[[ repeatIn(objects,'o') ]] <font face="Times-Roman">[[ setLang("nl_NL") ]]</font></para>
 
64
    <para style="P17">
 
65
      <font color="white"> </font>
 
66
    </para>
 
67
    <para style="P16">
 
68
      <font color="white"> </font>
 
69
    </para>
 
70
    <para style="P6">Production Order N° : <font face="Times-Roman" size="16.0">[[ o.name ]]</font></para>
 
71
    <para style="P7">
 
72
      <font color="white"> </font>
 
73
    </para>
 
74
    <para style="P14">
 
75
      <font face="Times-Roman" size="11.0">Printing date</font>
 
76
      <font face="Times-Roman"> : </font>
 
77
      <font face="Times-Roman" size="11.0">[[ formatLang(time.strftime('%Y-%m-%d'), date=True) ]]</font>
 
78
    </para>
 
79
    <para style="P15"><font face="Times-Roman" size="11.0">Partner name</font> : <font face="Times-Roman" size="11.0">[[ o.partner_id and o.partner_id.name or '' ]]</font></para>
 
80
    <section>
 
81
    [[ repeatIn(so_number(o),'so') ]]
 
82
    <para style="P15"><font face="Times-Roman" size="11.0">Partner Order reference</font> : [[ so.client_order_ref or ' ' ]] </para>
 
83
    <para style="P15">
 
84
      <font face="Times-Roman" size="11.0">SO number</font>
 
85
      <font face="Times-Roman" size="11.0"> : [[ so.name or '' ]]</font>
 
86
    </para>
 
87
    </section>
 
88
    <para style="P9">
 
89
      <font color="white"> </font>
 
90
    </para>
 
91
    <blockTable colWidths="130.0,313.0,85.0" repeatRows="1" style="Tableau2">
 
92
      <tr>
 
93
        <td>
 
94
          <para style="P3">Product Name</para>
 
95
        </td>
 
96
        <td>
 
97
          <para style="P4">Product Description</para>
 
98
        </td>
 
99
        <td>
 
100
          <para style="P5">Qty</para>
 
101
        </td>
 
102
      </tr>
 
103
    </blockTable>
 
104
    <section>
 
105
      <blockTable colWidths="130.0,312.0,86.0" style="Tableau3">
 
106
        <tr>
 
107
          <td>
 
108
            <para style="P1">[[ '['+ o.product_id.code +']' ]] [[ o.product_id.name ]]</para>
 
109
          </td>
 
110
          <td>
 
111
            <para style="P20">[[ o.product_id.description ]]</para>
 
112
          </td>
 
113
          <td>
 
114
            <para style="P21">[[ formatLang(o.product_qty) ]] [[ o.product_uom.name ]]</para>
 
115
          </td>
 
116
        </tr>
 
117
      </blockTable>
 
118
    </section>
 
119
    <para style="P2">
 
120
      <font color="white"> </font>
 
121
    </para>
 
122
    <para style="P10">
 
123
      <font color="white"> .........</font>
 
124
      <font color="white"> .........</font>
 
125
    </para>
 
126
    <blockTable colWidths="86.0,16.0,425.0" style="Table1">
 
127
      <tr>
 
128
        <td>
 
129
          <para style="P11">Notes </para>
 
130
        </td>
 
131
        <td>
 
132
          <para style="P12">:</para>
 
133
        </td>
 
134
        <td>
 
135
          <para style="P13">[[o.note]]</para>
 
136
        </td>
 
137
      </tr>
 
138
      <tr>
 
139
        <td>
 
140
          <para style="P11">
 
141
            <font color="white"> </font>
 
142
          </para>
 
143
        </td>
 
144
        <td>
 
145
          <para style="P12">
 
146
            <font color="white"> </font>
 
147
          </para>
 
148
        </td>
 
149
        <td>
 
150
          <para style="P13">
 
151
            <font color="white"> </font>
 
152
          </para>
 
153
        </td>
 
154
      </tr>
 
155
      <tr>
 
156
        <td>
 
157
          <para style="P11">Planned <font face="Times-Roman" size="11.0">Date </font></para>
 
158
        </td>
 
159
        <td>
 
160
          <para style="P12">:</para>
 
161
        </td>
 
162
        <td>
 
163
          <para style="P20">[[ formatLang(o.date_planned, date=True) ]]</para>
 
164
          <para style="P8">
 
165
            <font color="white"> </font>
 
166
          </para>
 
167
        </td>
 
168
      </tr>
 
169
    </blockTable>
 
170
    <para style="P18">
 
171
      <font color="white"> </font>
 
172
    </para>
 
173
  </story>
 
174
</document>
 
175