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

213.2.21 by chloups208
[UF-53][UF-58][UF-63] details
1
<?xml version="1.0" encoding="utf-8" ?>
2
<openerp>
3
	<data>
4
5
        <!-- Sequence for picking ticket -->
6
        <record id="seq_type_picking_ticket" model="ir.sequence.type">
7
            <field name="name">Picking Ticket</field>
8
            <field name="code">picking.ticket</field>
9
        </record>
10
11
        <record id="seq_picking_ticket" model="ir.sequence">
12
            <field name="name">Picking Ticket</field>
13
            <field name="code">picking.ticket</field>
14
            <field name="prefix">PICK/</field>
15
            <field name="padding">5</field>
16
        </record>
368.5.4 by chloups208
545: shipment state function was considering all packing have the same state, which can be wrong for draft shipment, as a draft packing can be done (corresponding to one picking ticket), while another is still to be shipped (draft). While a packing is draft, the shipment is considered to draft.
17
        
18
        <!-- Sequence for ppl -->
19
        <record id="seq_type_ppl" model="ir.sequence.type">
20
            <field name="name">PPL</field>
21
            <field name="code">ppl</field>
22
        </record>
23
24
        <record id="seq_ppl" model="ir.sequence">
25
            <field name="name">PPL</field>
26
            <field name="code">ppl</field>
27
            <field name="prefix">PPLx/</field>
28
            <field name="padding">5</field>
29
        </record>
213.2.21 by chloups208
[UF-53][UF-58][UF-63] details
30
31
        <!-- Sequence for shipment -->
32
        <record id="seq_type_shipment" model="ir.sequence.type">
33
            <field name="name">Shipment</field>
34
            <field name="code">shipment</field>
35
        </record>
36
37
        <record id="seq_shipment" model="ir.sequence">
38
            <field name="name">Shipment</field>
39
            <field name="code">shipment</field>
40
            <field name="prefix">SHIP/</field>
41
            <field name="padding">5</field>
42
        </record>
43
44
	</data>
45
</openerp>
46