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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data noupdate="1">

    <!-- Sequence for Cash Register-->
        <record id="seq_type_cash_register" model="ir.sequence.type">
            <field name="name">Cash Register</field>
            <field name="code">cash.register</field>
        </record>

        <record id="seq_cash_register" model="ir.sequence">
            <field name="name">Cash Register</field>
            <field name="code">cash.register</field>
            <field name="prefix">/</field>
            <field name="padding">2</field>
            <field name="number_next">1</field>
            <field name="number_increment">1</field>
        </record>

    <!-- Sequence for all registers (bank & cash) -->
        <record model="ir.sequence.type" id="seq_type_registers">
            <field name="name">Bank and Cash Registers</field>
            <field name="code">all.registers</field>
        </record>

        <record id="seq_registers" model="ir.sequence">
            <field name="name">Bank and Cash Registers</field>
            <field name="code">all.registers</field>
            <field name="prefix"></field>
            <field name="padding">1</field>
            <field name="number_next">1</field>
            <field name="number_increment">1</field>
        </record>

    </data>
</openerp>