Initial
This commit is contained in:
0
app/base/fixtures/__init__.py
Executable file
0
app/base/fixtures/__init__.py
Executable file
31
app/base/fixtures/booking_types.json
Normal file
31
app/base/fixtures/booking_types.json
Normal file
@@ -0,0 +1,31 @@
|
||||
[
|
||||
{
|
||||
"model": "base.bookingtype",
|
||||
"fields": {
|
||||
"key": "basic",
|
||||
"label": "Werkstattzeit - BASIC",
|
||||
"price": 2.00,
|
||||
"interval": 60,
|
||||
"is_checkin": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "base.bookingtype",
|
||||
"fields": {
|
||||
"key": "plus",
|
||||
"label": "Werkstattzeit - PLUS",
|
||||
"price": 3.00,
|
||||
"interval": 60,
|
||||
"is_checkin": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "base.bookingtype",
|
||||
"fields": {
|
||||
"key": "machine",
|
||||
"label": "Maschinenzeit",
|
||||
"price": 0.50,
|
||||
"interval": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
34
app/base/fixtures/traits.json
Normal file
34
app/base/fixtures/traits.json
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"model": "base.trait",
|
||||
"fields": {
|
||||
"key": "member",
|
||||
"label": "Mitglied",
|
||||
"description": "Ist Vereinsmitglied der Offenen Werkstatt e.V."
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "base.trait",
|
||||
"fields": {
|
||||
"key": "abo",
|
||||
"label": "Abo (25€)",
|
||||
"description": "Darf alle elektrischen Geräte kostenfrei nutzen."
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "base.trait",
|
||||
"fields": {
|
||||
"key": "bckspc",
|
||||
"label": "Backspace",
|
||||
"description": "Ist Backspace Mitglied (Anschlussmitgliedschaft)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "base.trait",
|
||||
"fields": {
|
||||
"key": "gesell",
|
||||
"label": "Gesellenbrief",
|
||||
"description": "Hat Gesellenbrief vorgezeigt und darf die großen Maschinen eigenhändig nutzen."
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user