Revision 906e14dc
Added by Jérôme Schneider about 13 years ago
| calebasse/fixtures/actes.json | ||
|---|---|---|
|
"fields": {
|
||
|
"patient": 9,
|
||
|
"date": "2012-10-30T00:00:00",
|
||
|
"act_type": 1,
|
||
|
"act_type": 10,
|
||
|
"validation_locked": false,
|
||
|
"transport_type": null,
|
||
|
"transport_company": null
|
||
| calebasse/fixtures/ressources.json | ||
|---|---|---|
|
"name": "SESSAD TED"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"pk": 1,
|
||
|
"model": "ressources.acttype",
|
||
|
"fields": {
|
||
|
"name": "Type Acte 1",
|
||
|
"billable": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"pk": 1,
|
||
|
"model": "ressources.workertype",
|
||
| calebasse/ressources/models.py | ||
|---|---|---|
|
verbose_name_plural = u'Services'
|
||
|
|
||
|
|
||
|
class ActType(NamedAbstractModel):
|
||
|
class ActType(NamedAbstractModel, ServiceLinkedAbstractModel):
|
||
|
billable = models.BooleanField(default=True)
|
||
|
|
||
|
class Meta:
|
||
Also available in: Unified diff
Fix #1873: import act type from old db.
EventType is know link to a service