-
Notifications
You must be signed in to change notification settings - Fork 4
/
doctor_sequence.xml
34 lines (29 loc) · 1.05 KB
/
doctor_sequence.xml
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
<?xml version="1.0"?>
<openerp>
<data noupdate="1">
<!-- Sequence type for appointment -->
<record model="ir.sequence.type" id="seq_type_appointment">
<field name="name">Appointment sequence</field>
<field name="code">appointment.sequence</field>
</record>
<!--Sequence for appointment -->
<record model="ir.sequence" id="seq_appointment">
<field name="name">Appointment sequence</field>
<field name="code">appointment.sequence</field>
<field name="padding" eval="4"/>
<field name="prefix">AP-%(month)s%(y)s-</field>
</record>
<!-- Sequence type for attention -->
<record model="ir.sequence.type" id="seq_type_attention">
<field name="name">Attention sequence</field>
<field name="code">attention.sequence</field>
</record>
<!--Sequence for attention -->
<record model="ir.sequence" id="seq_attention">
<field name="name">Attention sequence</field>
<field name="code">attention.sequence</field>
<field name="padding" eval="4"/>
<field name="prefix">AT-%(month)s%(y)s-</field>
</record>
</data>
</openerp>