Project

General

Profile

« Previous | Next » 

Revision 05a6bb20

Added by Mikaël Ates almost 10 years ago

actes: 'valide' act field must not be edited, replace 'Validés' by 'Présents' (fixes #3413).

View differences:

calebasse/actes/forms.py
10 10
    STATES = (
11 11
            ('pointe', u'Pointés'),
12 12
            ('non-pointe', u'Non pointés'),
13
            ('valide', u'Validés'),
13
            ('valide', u'Présents'),
14 14
            ('absent-or-canceled', u'Absents ou annulés'),
15 15
            ('is-billable', u'Facturables'),
16 16
            ('non-invoicable', u'Non facturables'),
......
36 36
    doctors = make_ajax_field(Act, 'doctors', 'intervenant', True)
37 37
    class Meta:
38 38
        model = Act
39
        fields = ('act_type', 'doctors', 'is_lost', 'pause', 'switch_billable', 'comment',
40
                'valide')
39
        fields = ('act_type', 'doctors', 'is_lost', 'pause',
40
            'switch_billable', 'comment', )
41 41
        widgets = {
42 42
                'comment': forms.Textarea(attrs={'cols': 52, 'rows': 4}),
43 43
                }

Also available in: Unified diff