Project

General

Profile

« Previous | Next » 

Revision 48091f78

Added by Mikaël Ates almost 10 years ago

actes: an act comment can only be updated from an event update.

View differences:

calebasse/actes/forms.py
37 37
    class Meta:
38 38
        model = Act
39 39
        fields = ('act_type', 'doctors', 'is_lost', 'pause',
40
            'switch_billable', 'comment', )
41
        widgets = {
42
                'comment': forms.Textarea(attrs={'cols': 52, 'rows': 4}),
43
                }
40
            'switch_billable', )
44 41

  
45 42
    def __init__(self, instance, service=None, **kwargs):
46 43
        super(ActUpdate, self).__init__(instance=instance, **kwargs)

Also available in: Unified diff