Révision 48091f78
Ajouté par Mikaël Ates il y a presque 10 ans
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) |
Formats disponibles : Unified diff
actes: an act comment can only be updated from an event update.