summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-10 19:45:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:39:42 +0200
commitba84c79bd6adca3e2d21d581547520b53ad2a28f (patch)
tree3f66ea609a8943a43e5154d76e8570bdff871960
parent832b1876bc12ab6dda1224bf680e3fa3a0c39295 (diff)
downloadIshtar-ba84c79bd6adca3e2d21d581547520b53ad2a28f.tar.bz2
Ishtar-ba84c79bd6adca3e2d21d581547520b53ad2a28f.zip
Update fixtures
-rw-r--r--archaeological_operations/fixtures/initial_data-fr.json689
-rw-r--r--fixtures/initial_data-auth-fr.json330
-rw-r--r--ishtar_common/fixtures/initial_data-fr.json492
-rw-r--r--ishtar_common/fixtures/initial_importtypes-fr.json61
4 files changed, 1190 insertions, 382 deletions
diff --git a/archaeological_operations/fixtures/initial_data-fr.json b/archaeological_operations/fixtures/initial_data-fr.json
index 43f834e0a..9b794b744 100644
--- a/archaeological_operations/fixtures/initial_data-fr.json
+++ b/archaeological_operations/fixtures/initial_data-fr.json
@@ -678,8 +678,8 @@
"comment": "",
"available": true,
"order": 8000,
- "start_date": -450000,
- "end_date": -10000,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -687,12 +687,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Pal\u00e9olithique ancien",
- "txt_idx": "ancien_paleolithic",
- "comment": "1100, 'Pal\u00e9olithique ancien', , )",
+ "txt_idx": "ancien-paleolithic",
+ "comment": "",
"available": true,
"order": 8900,
- "start_date": -450000,
- "end_date": -150000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"paleolithic"
]
@@ -702,12 +702,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Pal\u00e9olithique moyen",
- "txt_idx": "middle_paleolithic",
- "comment": "1200, '', , ),",
+ "txt_idx": "middle-paleolithic",
+ "comment": "",
"available": true,
"order": 8800,
- "start_date": -150000,
- "end_date": -35000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"paleolithic"
]
@@ -717,12 +717,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Pal\u00e9olithique sup\u00e9rieur",
- "txt_idx": "late_paleolithic",
+ "txt_idx": "late-paleolithic",
"comment": "",
"available": true,
"order": 8700,
- "start_date": -35000,
- "end_date": -12000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"paleolithic"
]
@@ -732,12 +732,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Pal\u00e9olithique sup\u00e9rieur final",
- "txt_idx": "final_paleolithic",
+ "txt_idx": "final-paleolithic",
"comment": "",
"available": true,
"order": 8600,
- "start_date": -12000,
- "end_date": -10000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"paleolithic"
]
@@ -751,8 +751,8 @@
"comment": "",
"available": true,
"order": 7000,
- "start_date": -10000,
- "end_date": -5000,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -760,12 +760,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "M\u00e9solithique ancien",
- "txt_idx": "old_mesolithic",
+ "txt_idx": "old-mesolithic",
"comment": "",
"available": true,
"order": 7900,
- "start_date": -10000,
- "end_date": -7000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"mesolithic"
]
@@ -775,12 +775,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "M\u00e9solithique moyen",
- "txt_idx": "middle_mesolithic",
+ "txt_idx": "middle-mesolithic",
"comment": "",
- "available": false,
+ "available": true,
"order": 7800,
- "start_date": -8000,
- "end_date": -7000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"mesolithic"
]
@@ -790,12 +790,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "M\u00e9solithique r\u00e9cent",
- "txt_idx": "recent_mesolithic",
+ "txt_idx": "recent-mesolithic",
"comment": "",
"available": true,
"order": 7700,
- "start_date": -7000,
- "end_date": -5000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"mesolithic"
]
@@ -809,8 +809,8 @@
"comment": "",
"available": true,
"order": 6000,
- "start_date": -5500,
- "end_date": -2000,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -818,12 +818,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "N\u00e9olithique ancien",
- "txt_idx": "old_neolithic",
+ "txt_idx": "old-neolithic",
"comment": "",
"available": true,
"order": 6900,
- "start_date": -5500,
- "end_date": -4500,
+ "start_date": null,
+ "end_date": null,
"parent": [
"neolithic"
]
@@ -833,12 +833,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "N\u00e9olithique moyen",
- "txt_idx": "middle_neolithic",
+ "txt_idx": "middle-neolithic",
"comment": "",
"available": true,
"order": 6800,
- "start_date": -4500,
- "end_date": -3200,
+ "start_date": null,
+ "end_date": null,
"parent": [
"neolithic"
]
@@ -848,12 +848,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "N\u00e9olithique r\u00e9cent",
- "txt_idx": "recent_neolithic",
+ "txt_idx": "recent-neolithic",
"comment": "",
"available": true,
"order": 6700,
- "start_date": -3200,
- "end_date": -2500,
+ "start_date": null,
+ "end_date": null,
"parent": [
"neolithic"
]
@@ -863,12 +863,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "N\u00e9olithique final",
- "txt_idx": "final_neolithic",
+ "txt_idx": "final-neolithic",
"comment": "",
"available": true,
"order": 6600,
- "start_date": -2800,
- "end_date": -2000,
+ "start_date": null,
+ "end_date": null,
"parent": [
"neolithic"
]
@@ -882,8 +882,8 @@
"comment": "",
"available": true,
"order": 5000,
- "start_date": -2000,
- "end_date": -40,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -891,12 +891,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "\u00c2ge du Bronze",
- "txt_idx": "bronze_age",
+ "txt_idx": "bronze-age",
"comment": "",
"available": true,
- "order": 5900,
- "start_date": -2000,
- "end_date": -750,
+ "order": 5800,
+ "start_date": null,
+ "end_date": null,
"parent": [
"protohistory"
]
@@ -905,60 +905,60 @@
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c2ge du Fer",
- "txt_idx": "iron_age",
+ "label": "\u00c2ge du Bronze ancien",
+ "txt_idx": "old-bronze-age",
"comment": "",
"available": true,
- "order": 5800,
- "start_date": -800,
- "end_date": -40,
+ "order": 5890,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "protohistory"
+ "bronze-age"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c2ge du Bronze ancien",
- "txt_idx": "old_bronze_age",
+ "label": "\u00c2ge du Bronze moyen",
+ "txt_idx": "middle-bronze-age",
"comment": "",
"available": true,
- "order": 5890,
- "start_date": -2000,
- "end_date": -1600,
+ "order": 5870,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "bronze_age"
+ "bronze-age"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c2ge du Bronze moyen",
- "txt_idx": "middle_bronze_age",
+ "label": "\u00c2ge du Bronze final",
+ "txt_idx": "final-bronze-age",
"comment": "",
"available": true,
- "order": 5880,
- "start_date": -1600,
- "end_date": -1200,
+ "order": 5850,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "bronze_age"
+ "bronze-age"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c2ge du Bronze final",
- "txt_idx": "final_bronze_age",
+ "label": "\u00c2ge du Fer",
+ "txt_idx": "iron-age",
"comment": "",
"available": true,
- "order": 5870,
- "start_date": -1200,
- "end_date": -750,
+ "order": 5700,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "bronze_age"
+ "protohistory"
]
}
},
@@ -966,14 +966,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Premier \u00c2ge du Fer",
- "txt_idx": "first_iron_age",
+ "txt_idx": "first-iron-age",
"comment": "",
"available": true,
"order": 5790,
- "start_date": -800,
- "end_date": -450,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "iron_age"
+ "iron-age"
]
}
},
@@ -981,14 +981,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Deuxi\u00e8me \u00c2ge du Fer",
- "txt_idx": "second_iron_age",
+ "txt_idx": "second-iron-age",
"comment": "",
"available": true,
- "order": 5780,
- "start_date": -500,
- "end_date": -40,
+ "order": 5770,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "iron_age"
+ "iron-age"
]
}
},
@@ -1000,8 +1000,8 @@
"comment": "",
"available": true,
"order": 4000,
- "start_date": -40,
- "end_date": 476,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -1013,8 +1013,8 @@
"comment": "",
"available": true,
"order": 4900,
- "start_date": -40,
- "end_date": -27,
+ "start_date": null,
+ "end_date": null,
"parent": [
"gallo-roman"
]
@@ -1028,8 +1028,8 @@
"comment": "",
"available": true,
"order": 4800,
- "start_date": -27,
- "end_date": 192,
+ "start_date": null,
+ "end_date": null,
"parent": [
"gallo-roman"
]
@@ -1039,12 +1039,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Bas Empire",
- "txt_idx": "low_empire",
+ "txt_idx": "low-empire",
"comment": "",
"available": true,
"order": 4700,
- "start_date": 192,
- "end_date": 476,
+ "start_date": null,
+ "end_date": null,
"parent": [
"gallo-roman"
]
@@ -1054,12 +1054,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Moyen \u00c2ge",
- "txt_idx": "middle_age",
+ "txt_idx": "middle-age",
"comment": "",
"available": true,
"order": 3000,
- "start_date": 476,
- "end_date": 1492,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -1067,14 +1067,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Haut Moyen \u00c2ge",
- "txt_idx": "high_middle_age",
+ "txt_idx": "high-middle-age",
"comment": "",
"available": true,
"order": 3900,
- "start_date": 476,
- "end_date": 987,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "middle_age"
+ "middle-age"
]
}
},
@@ -1082,14 +1082,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Moyen \u00c2ge classique",
- "txt_idx": "classic_middle_age",
+ "txt_idx": "classic-middle-age",
"comment": "",
"available": true,
"order": 3800,
- "start_date": 987,
- "end_date": 1204,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "middle_age"
+ "middle-age"
]
}
},
@@ -1097,14 +1097,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Bas Moyen \u00c2ge",
- "txt_idx": "low_middle_age",
+ "txt_idx": "low-middle-age",
"comment": "",
"available": true,
"order": 3700,
- "start_date": 1204,
- "end_date": 1492,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "middle_age"
+ "middle-age"
]
}
},
@@ -1112,12 +1112,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "P\u00e9riode r\u00e9cente",
- "txt_idx": "recent_times",
+ "txt_idx": "recent-times",
"comment": "",
"available": true,
"order": 2000,
- "start_date": 1492,
- "end_date": 2016,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -1129,10 +1129,10 @@
"comment": "",
"available": true,
"order": 2900,
- "start_date": 1492,
- "end_date": 1815,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "recent_times"
+ "recent-times"
]
}
},
@@ -1140,14 +1140,14 @@
"model": "archaeological_operations.period",
"fields": {
"label": "\u00c9poque contemporaine",
- "txt_idx": "contemporan",
+ "txt_idx": "contemporary",
"comment": "",
"available": true,
"order": 2800,
- "start_date": 1815,
- "end_date": 2016,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "recent_times"
+ "recent-times"
]
}
},
@@ -1155,12 +1155,12 @@
"model": "archaeological_operations.period",
"fields": {
"label": "\u00c9poque ind\u00e9termin\u00e9e",
- "txt_idx": "indetermined",
+ "txt_idx": "indeterminate",
"comment": "",
"available": true,
"order": 1000,
- "start_date": 0,
- "end_date": 0,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
@@ -1168,143 +1168,486 @@
"model": "archaeological_operations.period",
"fields": {
"label": "Non-renseign\u00e9",
- "txt_idx": "not_yet_documented",
+ "txt_idx": "not-yet-documented",
"comment": "",
"available": true,
"order": 0,
- "start_date": 0,
- "end_date": 0,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "Am\u00e9rindien",
- "txt_idx": "amerindian",
+ "label": "M\u00e9diterran\u00e9en",
+ "txt_idx": "mediterranean",
"comment": "",
"available": true,
- "order": 1,
- "start_date": 0,
- "end_date": 0,
+ "order": 10000,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "M\u00e9diterran\u00e9en",
- "txt_idx": "mediterranean",
+ "label": "Antiquit\u00e9 m\u00e9diterran\u00e9enne",
+ "txt_idx": "mediterranean-antiq",
+ "comment": "",
+ "available": true,
+ "order": 11000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "mediterranean"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "\u00c9poque archa\u00efque",
+ "txt_idx": "archaic-epoc",
+ "comment": "",
+ "available": true,
+ "order": 11900,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "mediterranean-antiq"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "\u00c9poque classique",
+ "txt_idx": "classic-epoc",
+ "comment": "",
+ "available": true,
+ "order": 11800,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "mediterranean-antiq"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "\u00c9poque hell\u00e9nistique",
+ "txt_idx": "hellen-epoc",
+ "comment": "",
+ "available": true,
+ "order": 11700,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "mediterranean-antiq"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Antiquit\u00e9 tardive (M\u00e9diterran\u00e9e)",
+ "txt_idx": "late-antiq-med",
"comment": "",
"available": true,
- "order": 1,
- "start_date": 500,
- "end_date": -500,
+ "order": 11600,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "mediterranean-antiq"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Antilles",
+ "txt_idx": "antilles",
+ "comment": "",
+ "available": true,
+ "order": 20000,
+ "start_date": null,
+ "end_date": null,
"parent": null
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "Antiquit\u00e9 m\u00e9diterran\u00e9enne",
- "txt_idx": "mediterranean_antiq",
+ "label": "Pr\u00e9c\u00e9ramique (Antilles)",
+ "txt_idx": "pre-pottery-antilles",
"comment": "",
"available": true,
- "order": 1,
- "start_date": 0,
- "end_date": 0,
+ "order": 21000,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean"
+ "antilles"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "Antiquit\u00e9 tardive (M\u00e9d.)",
- "txt_idx": "late_antiq_med",
+ "label": "Lithique (Antilles)",
+ "txt_idx": "lithic-antilles",
"comment": "",
"available": true,
- "order": 1,
- "start_date": 0,
- "end_date": 0,
+ "order": 21900,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "pre-pottery-antilles"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c9poque archa\u00efque",
- "txt_idx": "archaic_epoc",
+ "label": "Archa\u00efque (Antilles)",
+ "txt_idx": "archaic-antilles",
"comment": "",
"available": true,
- "order": 2,
- "start_date": 0,
- "end_date": 0,
+ "order": 21800,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "pre-pottery-antilles"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "Bas-Empire (M\u00e9d.)",
- "txt_idx": "lower_empire_med",
+ "label": "C\u00e9ramique (Antilles)",
+ "txt_idx": "pottery-antilles",
"comment": "",
"available": true,
- "order": 3,
- "start_date": 0,
- "end_date": 0,
+ "order": 22000,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "antilles"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c9poque classique",
- "txt_idx": "classic_epoc",
+ "label": "Hu\u00e9co\u00efde (Antilles)",
+ "txt_idx": "huecoide",
"comment": "",
"available": true,
- "order": 4,
- "start_date": 0,
- "end_date": 0,
+ "order": 22900,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "pottery-antilles"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "\u00c9poque hell\u00e9nistique",
- "txt_idx": "hellen_epoc",
+ "label": "Salado\u00efde (Antilles)",
+ "txt_idx": "saladoide",
+ "comment": "",
+ "available": true,
+ "order": 22800,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "pottery-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Post-salado\u00efde ancien (Antilles)",
+ "txt_idx": "old-post-saladoide",
+ "comment": "",
+ "available": true,
+ "order": 22700,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "pottery-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Post-salado\u00efde r\u00e9cent (Antilles)",
+ "txt_idx": "recent-post-saladoide",
+ "comment": "",
+ "available": true,
+ "order": 22600,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "pottery-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Historique (Antilles)",
+ "txt_idx": "historic-antilles",
+ "comment": "",
+ "available": true,
+ "order": 23000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Pr\u00e9-colonial (Antilles)",
+ "txt_idx": "precolonial-antilles",
+ "comment": "",
+ "available": true,
+ "order": 23900,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "historic-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Colonial moderne (Antilles)",
+ "txt_idx": "modern-colonial-antilles",
+ "comment": "",
+ "available": true,
+ "order": 23800,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "historic-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "P\u00e9riode contemporaine (Antilles)",
+ "txt_idx": "contemporary-antilles",
+ "comment": "",
+ "available": true,
+ "order": 23700,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "historic-antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "\u00c9poque ind\u00e9termin\u00e9e (Antilles)",
+ "txt_idx": "indeterminate-antilles",
+ "comment": "",
+ "available": true,
+ "order": 24000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "antilles"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Guyane",
+ "txt_idx": "guiana",
+ "comment": "",
+ "available": true,
+ "order": 30000,
+ "start_date": null,
+ "end_date": null,
+ "parent": null
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Pr\u00e9histoire (Guyane)",
+ "txt_idx": "prehistory-guiana",
+ "comment": "",
+ "available": true,
+ "order": 31000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Ac\u00e9ramique (Guyane)",
+ "txt_idx": "prepottery-guiana",
+ "comment": "",
+ "available": true,
+ "order": 31900,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "prehistory-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "P\u00e9riode am\u00e9rindienne (Guyane)",
+ "txt_idx": "amerindian-guiana",
+ "comment": "",
+ "available": true,
+ "order": 32000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "P\u00e9riode am\u00e9rindienne ancienne (Guyane)",
+ "txt_idx": "old-amerindian-guiana",
+ "comment": "",
+ "available": true,
+ "order": 32900,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "amerindian-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Pr\u00e9-contact (Guyane)",
+ "txt_idx": "pre-contact-guiana",
+ "comment": "",
+ "available": true,
+ "order": 32800,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "amerindian-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Pr\u00e9-colonial (Guyane)",
+ "txt_idx": "precolonial-guiana",
+ "comment": "",
+ "available": true,
+ "order": 32700,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "amerindian-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "P\u00e9riode coloniale et d\u00e9partementale (Guyane)",
+ "txt_idx": "colonial-guiana",
+ "comment": "",
+ "available": true,
+ "order": 33000,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "P\u00e9riode de colonisation (Guyane)",
+ "txt_idx": "colonisation-guiana",
+ "comment": "",
+ "available": true,
+ "order": 33900,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "colonial-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Colonisation affirm\u00e9e (Guyane)",
+ "txt_idx": "asserted-colonisation-guiana",
+ "comment": "",
+ "available": true,
+ "order": 33800,
+ "start_date": null,
+ "end_date": null,
+ "parent": [
+ "colonial-guiana"
+ ]
+ }
+},
+{
+ "model": "archaeological_operations.period",
+ "fields": {
+ "label": "Contemporain (Guyane)",
+ "txt_idx": "contemporary-guiana",
"comment": "",
"available": true,
- "order": 5,
- "start_date": 0,
- "end_date": 0,
+ "order": 33700,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "colonial-guiana"
]
}
},
{
"model": "archaeological_operations.period",
"fields": {
- "label": "Haut-Empire (M\u00e9d.)",
- "txt_idx": "upper_empire",
+ "label": "\u00c9poque ind\u00e9termin\u00e9e (Guyane)",
+ "txt_idx": "indeterminate-guiana",
"comment": "",
"available": true,
- "order": 6,
- "start_date": 0,
- "end_date": 0,
+ "order": 34000,
+ "start_date": null,
+ "end_date": null,
"parent": [
- "mediterranean_antiq"
+ "guiana"
]
}
},
diff --git a/fixtures/initial_data-auth-fr.json b/fixtures/initial_data-auth-fr.json
index 048c3ab55..2b158b7f4 100644
--- a/fixtures/initial_data-auth-fr.json
+++ b/fixtures/initial_data-auth-fr.json
@@ -5357,6 +5357,336 @@
}
},
{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Json data - Field",
+ "content_type": [
+ "ishtar_common",
+ "jsondatafield"
+ ],
+ "codename": "add_jsondatafield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Json data - Field",
+ "content_type": [
+ "ishtar_common",
+ "jsondatafield"
+ ],
+ "codename": "change_jsondatafield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Json data - Field",
+ "content_type": [
+ "ishtar_common",
+ "jsondatafield"
+ ],
+ "codename": "delete_jsondatafield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Json data - Menu",
+ "content_type": [
+ "ishtar_common",
+ "jsondatasection"
+ ],
+ "codename": "add_jsondatasection"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Json data - Menu",
+ "content_type": [
+ "ishtar_common",
+ "jsondatasection"
+ ],
+ "codename": "change_jsondatasection"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Json data - Menu",
+ "content_type": [
+ "ishtar_common",
+ "jsondatasection"
+ ],
+ "codename": "delete_jsondatasection"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Custom form",
+ "content_type": [
+ "ishtar_common",
+ "customform"
+ ],
+ "codename": "add_customform"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Custom form",
+ "content_type": [
+ "ishtar_common",
+ "customform"
+ ],
+ "codename": "change_customform"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Custom form",
+ "content_type": [
+ "ishtar_common",
+ "customform"
+ ],
+ "codename": "delete_customform"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Image",
+ "content_type": [
+ "ishtar_common",
+ "ishtarimage"
+ ],
+ "codename": "add_ishtarimage"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Image",
+ "content_type": [
+ "ishtar_common",
+ "ishtarimage"
+ ],
+ "codename": "change_ishtarimage"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Image",
+ "content_type": [
+ "ishtar_common",
+ "ishtarimage"
+ ],
+ "codename": "delete_ishtarimage"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add License type",
+ "content_type": [
+ "ishtar_common",
+ "licensetype"
+ ],
+ "codename": "add_licensetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change License type",
+ "content_type": [
+ "ishtar_common",
+ "licensetype"
+ ],
+ "codename": "change_licensetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete License type",
+ "content_type": [
+ "ishtar_common",
+ "licensetype"
+ ],
+ "codename": "delete_licensetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Excluded field",
+ "content_type": [
+ "ishtar_common",
+ "excludedfield"
+ ],
+ "codename": "add_excludedfield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Excluded field",
+ "content_type": [
+ "ishtar_common",
+ "excludedfield"
+ ],
+ "codename": "change_excludedfield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Excluded field",
+ "content_type": [
+ "ishtar_common",
+ "excludedfield"
+ ],
+ "codename": "delete_excludedfield"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Image type",
+ "content_type": [
+ "ishtar_common",
+ "imagetype"
+ ],
+ "codename": "add_imagetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Image type",
+ "content_type": [
+ "ishtar_common",
+ "imagetype"
+ ],
+ "codename": "change_imagetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Image type",
+ "content_type": [
+ "ishtar_common",
+ "imagetype"
+ ],
+ "codename": "delete_imagetype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Communicability type",
+ "content_type": [
+ "archaeological_finds",
+ "communicabilitytype"
+ ],
+ "codename": "add_communicabilitytype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Communicability type",
+ "content_type": [
+ "archaeological_finds",
+ "communicabilitytype"
+ ],
+ "codename": "change_communicabilitytype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Communicability type",
+ "content_type": [
+ "archaeological_finds",
+ "communicabilitytype"
+ ],
+ "codename": "delete_communicabilitytype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Profile type",
+ "content_type": [
+ "ishtar_common",
+ "profiletype"
+ ],
+ "codename": "add_profiletype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change Profile type",
+ "content_type": [
+ "ishtar_common",
+ "profiletype"
+ ],
+ "codename": "change_profiletype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete Profile type",
+ "content_type": [
+ "ishtar_common",
+ "profiletype"
+ ],
+ "codename": "delete_profiletype"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add User profile",
+ "content_type": [
+ "ishtar_common",
+ "userprofile"
+ ],
+ "codename": "add_userprofile"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can change User profile",
+ "content_type": [
+ "ishtar_common",
+ "userprofile"
+ ],
+ "codename": "change_userprofile"
+ }
+},
+{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can delete User profile",
+ "content_type": [
+ "ishtar_common",
+ "userprofile"
+ ],
+ "codename": "delete_userprofile"
+ }
+},
+{
"model": "auth.group",
"fields": {
"name": "Op\u00e9rations : lecture",
diff --git a/ishtar_common/fixtures/initial_data-fr.json b/ishtar_common/fixtures/initial_data-fr.json
index 4045094d9..4d544028d 100644
--- a/ishtar_common/fixtures/initial_data-fr.json
+++ b/ishtar_common/fixtures/initial_data-fr.json
@@ -30,7 +30,69 @@
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
+ "fields": {
+ "label": "Acc\u00e8s en lecture",
+ "txt_idx": "reader_access",
+ "comment": "Un acc\u00e8s limit\u00e9 - uniquement en lecture - \u00e0 la totalit\u00e9 de la base, apr\u00e8s enregistrement.",
+ "available": true,
+ "groups": [
+ [
+ "Op\u00e9rations : lecture"
+ ],
+ [
+ "Demandes de traitement : lecture"
+ ],
+ [
+ "UE : lecture"
+ ],
+ [
+ "D\u00e9p\u00f4ts : lecture"
+ ],
+ [
+ "Mobilier : lecture"
+ ],
+ [
+ "Personnes : lecture"
+ ],
+ [
+ "Actes administratifs : lecture"
+ ],
+ [
+ "Documents UE : lecture"
+ ],
+ [
+ "Traitements : lecture"
+ ],
+ [
+ "Dossiers : lecture"
+ ],
+ [
+ "Documents mobilier : lecture"
+ ],
+ [
+ "Auteurs : lecture"
+ ],
+ [
+ "Documents de traitement : lecture"
+ ],
+ [
+ "Organisations : lecture"
+ ],
+ [
+ "Documents de demande de traitement : lecture"
+ ],
+ [
+ "Documents op\u00e9ration : lecture"
+ ],
+ [
+ "Contenants : lecture"
+ ]
+ ]
+ }
+},
+{
+ "model": "ishtar_common.profiletype",
"fields": {
"label": "Administrateur",
"txt_idx": "administrator",
@@ -326,11 +388,31 @@
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
"fields": {
- "label": "Responsable scientifique",
- "txt_idx": "head_scientist",
- "comment": "Responsable d'op\u00e9ration arch\u00e9ologique.",
+ "label": "Am\u00e9nageur",
+ "txt_idx": "general_contractor",
+ "comment": "Responsable de l'am\u00e9nagement (pr\u00e9ventif).",
+ "available": true,
+ "groups": []
+ }
+},
+{
+ "model": "ishtar_common.profiletype",
+ "fields": {
+ "label": "Chef de service instructeur",
+ "txt_idx": "responsible_planning_service",
+ "comment": "",
+ "available": true,
+ "groups": []
+ }
+},
+{
+ "model": "ishtar_common.profiletype",
+ "fields": {
+ "label": "Collaborateur scientifique",
+ "txt_idx": "collaborator",
+ "comment": "Peut intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable.",
"available": true,
"groups": [
[
@@ -340,9 +422,6 @@
"Personnes : lecture"
],
[
- "Actes administratifs rattach\u00e9s : lecture"
- ],
- [
"D\u00e9p\u00f4ts rattach\u00e9s : lecture"
],
[
@@ -355,9 +434,6 @@
"Documents op\u00e9ration rattach\u00e9s : lecture"
],
[
- "Dossiers rattach\u00e9s : lecture"
- ],
- [
"Mobilier rattach\u00e9 : ajout"
],
[
@@ -367,9 +443,6 @@
"Mobilier rattach\u00e9 : lecture"
],
[
- "Op\u00e9rations rattach\u00e9es : modification/suppression"
- ],
- [
"Op\u00e9rations rattach\u00e9es : lecture"
],
[
@@ -430,11 +503,21 @@
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
"fields": {
- "label": "Responsable de suivi scientifique",
- "txt_idx": "sra_agent",
- "comment": "",
+ "label": "Demandeur",
+ "txt_idx": "applicant",
+ "comment": "Personne demandant une action sur le mobilier (traitements).",
+ "available": true,
+ "groups": []
+ }
+},
+{
+ "model": "ishtar_common.profiletype",
+ "fields": {
+ "label": "R\u00e9gisseur de collection",
+ "txt_idx": "collection_manager",
+ "comment": "Peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9.\r\n\r\n",
"available": true,
"groups": [
[
@@ -459,16 +542,10 @@
"Actes administratifs : lecture"
],
[
- "Actes administratifs : ajout"
- ],
- [
- "Actes administratifs : modification/suppression"
- ],
- [
- "Dossiers : ajout"
+ "D\u00e9p\u00f4ts : ajout"
],
[
- "Dossiers : modification/suppression"
+ "D\u00e9p\u00f4ts : modification/suppression"
],
[
"Mobilier : ajout"
@@ -477,49 +554,25 @@
"Mobilier : modification/suppression"
],
[
- "Op\u00e9rations : ajout"
- ],
- [
- "Op\u00e9rations : modification/suppression"
- ],
- [
- "UE : ajout"
- ],
- [
- "UE : modification/suppression"
- ],
- [
- "Personnes : ajout"
+ "Traitements : ajout"
],
[
- "Personnes : modification/suppression"
+ "Traitements : modification/suppression"
],
[
"Organisations : lecture"
],
[
- "Organisations : modification/suppression"
- ],
- [
- "Organisations : ajout"
- ],
- [
- "Op\u00e9rations : cl\u00f4ture"
- ],
- [
- "Dossiers : cl\u00f4ture"
- ],
- [
"Documents op\u00e9ration : lecture"
],
[
- "Documents op\u00e9ration : modification/suppression"
+ "Personnes : lecture"
],
[
- "Documents op\u00e9ration : ajout"
+ "Demandes de traitement : ajout"
],
[
- "Personnes : lecture"
+ "Demandes de traitement : modification/suppression"
],
[
"Demandes de traitement : lecture"
@@ -537,12 +590,6 @@
"Documents UE : lecture"
],
[
- "Documents UE : ajout"
- ],
- [
- "Documents UE : modification/suppression"
- ],
- [
"Documents mobilier : lecture"
],
[
@@ -555,17 +602,29 @@
"Documents de traitement : lecture"
],
[
+ "Documents de traitement : ajout"
+ ],
+ [
+ "Documents de traitement : modification/suppression"
+ ],
+ [
"Documents de demande de traitement : lecture"
+ ],
+ [
+ "Documents de demande de traitement : ajout"
+ ],
+ [
+ "Documents de demande de traitement : modification/suppression"
]
]
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
"fields": {
- "label": "Secr\u00e9tariat",
- "txt_idx": "secretarial_dept",
- "comment": "Peut utiliser toutes les fonctionnalit\u00e9s du module Administratif.",
+ "label": "Responsable de suivi scientifique",
+ "txt_idx": "sra_agent",
+ "comment": "",
"available": true,
"groups": [
[
@@ -602,12 +661,24 @@
"Dossiers : modification/suppression"
],
[
+ "Mobilier : ajout"
+ ],
+ [
+ "Mobilier : modification/suppression"
+ ],
+ [
"Op\u00e9rations : ajout"
],
[
"Op\u00e9rations : modification/suppression"
],
[
+ "UE : ajout"
+ ],
+ [
+ "UE : modification/suppression"
+ ],
+ [
"Personnes : ajout"
],
[
@@ -656,9 +727,21 @@
"Documents UE : lecture"
],
[
+ "Documents UE : ajout"
+ ],
+ [
+ "Documents UE : modification/suppression"
+ ],
+ [
"Documents mobilier : lecture"
],
[
+ "Documents mobilier : ajout"
+ ],
+ [
+ "Documents mobilier : modification/suppression"
+ ],
+ [
"Documents de traitement : lecture"
],
[
@@ -668,69 +751,72 @@
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
"fields": {
- "label": "R\u00e9gisseur de collection",
- "txt_idx": "collection_manager",
- "comment": "Peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9.\r\n\r\n",
+ "label": "Responsable scientifique",
+ "txt_idx": "head_scientist",
+ "comment": "Responsable d'op\u00e9ration arch\u00e9ologique.",
"available": true,
"groups": [
[
- "Op\u00e9rations : lecture"
+ "Organisations : lecture"
],
[
- "Dossiers : lecture"
+ "Personnes : lecture"
],
[
- "UE : lecture"
+ "Actes administratifs rattach\u00e9s : lecture"
],
[
- "D\u00e9p\u00f4ts : lecture"
+ "D\u00e9p\u00f4ts rattach\u00e9s : lecture"
],
[
- "Mobilier : lecture"
+ "Documents op\u00e9ration rattach\u00e9s : ajout"
],
[
- "Traitements : lecture"
+ "Documents op\u00e9ration rattach\u00e9s : modification/suppression"
],
[
- "Actes administratifs : lecture"
+ "Documents op\u00e9ration rattach\u00e9s : lecture"
],
[
- "D\u00e9p\u00f4ts : ajout"
+ "Dossiers rattach\u00e9s : lecture"
],
[
- "D\u00e9p\u00f4ts : modification/suppression"
+ "Mobilier rattach\u00e9 : ajout"
],
[
- "Mobilier : ajout"
+ "Mobilier rattach\u00e9 : modification/suppression"
],
[
- "Mobilier : modification/suppression"
+ "Mobilier rattach\u00e9 : lecture"
],
[
- "Traitements : ajout"
+ "Op\u00e9rations rattach\u00e9es : modification/suppression"
],
[
- "Traitements : modification/suppression"
+ "Op\u00e9rations rattach\u00e9es : lecture"
],
[
- "Organisations : lecture"
+ "Organisations rattach\u00e9es : ajout"
],
[
- "Documents op\u00e9ration : lecture"
+ "Traitements rattach\u00e9s : lecture"
],
[
- "Personnes : lecture"
+ "UE rattach\u00e9es : ajout"
],
[
- "Demandes de traitement : ajout"
+ "UE rattach\u00e9es : modification/suppression"
],
[
- "Demandes de traitement : modification/suppression"
+ "UE rattach\u00e9es : lecture"
],
[
- "Demandes de traitement : lecture"
+ "Personnes rattach\u00e9es : ajout"
+ ],
+ [
+ "Demandes de traitement rattach\u00e9es : lecture"
],
[
"Auteurs : ajout"
@@ -742,61 +828,45 @@
"Auteurs : lecture"
],
[
- "Documents UE : lecture"
- ],
- [
- "Documents mobilier : lecture"
- ],
- [
- "Documents mobilier : ajout"
+ "Documents UE rattach\u00e9s : lecture"
],
[
- "Documents mobilier : modification/suppression"
+ "Documents UE rattach\u00e9s : modification/suppression"
],
[
- "Documents de traitement : lecture"
+ "Documents UE rattach\u00e9s : ajout"
],
[
- "Documents de traitement : ajout"
+ "Documents mobilier rattach\u00e9s : ajout"
],
[
- "Documents de traitement : modification/suppression"
+ "Documents mobilier rattach\u00e9s : lecture"
],
[
- "Documents de demande de traitement : lecture"
+ "Documents mobilier rattach\u00e9s : modification/suppression"
],
[
- "Documents de demande de traitement : ajout"
+ "Documents de traitement rattach\u00e9s : lecture"
],
[
- "Documents de demande de traitement : modification/suppression"
+ "Documents de demande de traitement rattach\u00e9s : lecture"
]
]
}
},
{
- "model": "ishtar_common.persontype",
+ "model": "ishtar_common.profiletype",
"fields": {
- "label": "Am\u00e9nageur",
- "txt_idx": "general_contractor",
- "comment": "Responsable de l'am\u00e9nagement (pr\u00e9ventif).",
- "available": true,
- "groups": []
- }
-},
-{
- "model": "ishtar_common.persontype",
- "fields": {
- "label": "Acc\u00e8s en lecture",
- "txt_idx": "reader_access",
- "comment": "Un acc\u00e8s limit\u00e9 - uniquement en lecture - \u00e0 la totalit\u00e9 de la base, apr\u00e8s enregistrement.",
+ "label": "Secr\u00e9tariat",
+ "txt_idx": "secretarial_dept",
+ "comment": "Peut utiliser toutes les fonctionnalit\u00e9s du module Administratif.",
"available": true,
"groups": [
[
"Op\u00e9rations : lecture"
],
[
- "Demandes de traitement : lecture"
+ "Dossiers : lecture"
],
[
"UE : lecture"
@@ -808,112 +878,64 @@
"Mobilier : lecture"
],
[
- "Personnes : lecture"
+ "Traitements : lecture"
],
[
"Actes administratifs : lecture"
],
[
- "Documents UE : lecture"
- ],
- [
- "Traitements : lecture"
+ "Actes administratifs : ajout"
],
[
- "Dossiers : lecture"
+ "Actes administratifs : modification/suppression"
],
[
- "Documents mobilier : lecture"
+ "Dossiers : ajout"
],
[
- "Auteurs : lecture"
+ "Dossiers : modification/suppression"
],
[
- "Documents de traitement : lecture"
+ "Op\u00e9rations : ajout"
],
[
- "Organisations : lecture"
+ "Op\u00e9rations : modification/suppression"
],
[
- "Documents de demande de traitement : lecture"
+ "Personnes : ajout"
],
[
- "Documents op\u00e9ration : lecture"
+ "Personnes : modification/suppression"
],
[
- "Contenants : lecture"
- ]
- ]
- }
-},
-{
- "model": "ishtar_common.persontype",
- "fields": {
- "label": "Chef de service instructeur",
- "txt_idx": "responsible_planning_service",
- "comment": "",
- "available": true,
- "groups": []
- }
-},
-{
- "model": "ishtar_common.persontype",
- "fields": {
- "label": "Collaborateur scientifique",
- "txt_idx": "collaborator",
- "comment": "Peut intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable.",
- "available": true,
- "groups": [
- [
"Organisations : lecture"
],
[
- "Personnes : lecture"
- ],
- [
- "D\u00e9p\u00f4ts rattach\u00e9s : lecture"
- ],
- [
- "Documents op\u00e9ration rattach\u00e9s : ajout"
- ],
- [
- "Documents op\u00e9ration rattach\u00e9s : modification/suppression"
- ],
- [
- "Documents op\u00e9ration rattach\u00e9s : lecture"
- ],
- [
- "Mobilier rattach\u00e9 : ajout"
- ],
- [
- "Mobilier rattach\u00e9 : modification/suppression"
- ],
- [
- "Mobilier rattach\u00e9 : lecture"
+ "Organisations : modification/suppression"
],
[
- "Op\u00e9rations rattach\u00e9es : lecture"
+ "Organisations : ajout"
],
[
- "Organisations rattach\u00e9es : ajout"
+ "Op\u00e9rations : cl\u00f4ture"
],
[
- "Traitements rattach\u00e9s : lecture"
+ "Dossiers : cl\u00f4ture"
],
[
- "UE rattach\u00e9es : ajout"
+ "Documents op\u00e9ration : lecture"
],
[
- "UE rattach\u00e9es : modification/suppression"
+ "Documents op\u00e9ration : modification/suppression"
],
[
- "UE rattach\u00e9es : lecture"
+ "Documents op\u00e9ration : ajout"
],
[
- "Personnes rattach\u00e9es : ajout"
+ "Personnes : lecture"
],
[
- "Demandes de traitement rattach\u00e9es : lecture"
+ "Demandes de traitement : lecture"
],
[
"Auteurs : ajout"
@@ -925,28 +947,16 @@
"Auteurs : lecture"
],
[
- "Documents UE rattach\u00e9s : lecture"
- ],
- [
- "Documents UE rattach\u00e9s : modification/suppression"
- ],
- [
- "Documents UE rattach\u00e9s : ajout"
- ],
- [
- "Documents mobilier rattach\u00e9s : ajout"
- ],
- [
- "Documents mobilier rattach\u00e9s : lecture"
+ "Documents UE : lecture"
],
[
- "Documents mobilier rattach\u00e9s : modification/suppression"
+ "Documents mobilier : lecture"
],
[
- "Documents de traitement rattach\u00e9s : lecture"
+ "Documents de traitement : lecture"
],
[
- "Documents de demande de traitement rattach\u00e9s : lecture"
+ "Documents de demande de traitement : lecture"
]
]
}
@@ -954,11 +964,91 @@
{
"model": "ishtar_common.persontype",
"fields": {
+ "label": "Administrateur",
+ "txt_idx": "administrator",
+ "comment": "",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Responsable scientifique",
+ "txt_idx": "head_scientist",
+ "comment": "Responsable d'op\u00e9ration arch\u00e9ologique.",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Responsable de suivi scientifique",
+ "txt_idx": "sra_agent",
+ "comment": "",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Secr\u00e9tariat",
+ "txt_idx": "secretarial_dept",
+ "comment": "Peut utiliser toutes les fonctionnalit\u00e9s du module Administratif.",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "R\u00e9gisseur de collection",
+ "txt_idx": "collection_manager",
+ "comment": "Peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9.\r\n\r\n",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Am\u00e9nageur",
+ "txt_idx": "general_contractor",
+ "comment": "Responsable de l'am\u00e9nagement (pr\u00e9ventif).",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Acc\u00e8s en lecture",
+ "txt_idx": "reader_access",
+ "comment": "Un acc\u00e8s limit\u00e9 - uniquement en lecture - \u00e0 la totalit\u00e9 de la base, apr\u00e8s enregistrement.",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Chef de service instructeur",
+ "txt_idx": "responsible_planning_service",
+ "comment": "",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
+ "label": "Collaborateur scientifique",
+ "txt_idx": "collaborator",
+ "comment": "Peut intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable.",
+ "available": true
+ }
+},
+{
+ "model": "ishtar_common.persontype",
+ "fields": {
"label": "Demandeur",
"txt_idx": "applicant",
"comment": "Personne demandant une action sur le mobilier (traitements).",
- "available": true,
- "groups": []
+ "available": true
}
},
{
diff --git a/ishtar_common/fixtures/initial_importtypes-fr.json b/ishtar_common/fixtures/initial_importtypes-fr.json
index b6e653447..8d974903b 100644
--- a/ishtar_common/fixtures/initial_importtypes-fr.json
+++ b/ishtar_common/fixtures/initial_importtypes-fr.json
@@ -226,6 +226,9 @@
"archaeological_operations.models.Operation"
],
[
+ "ishtar_common.models.Organization"
+ ],
+ [
"ishtar_common.models.Person"
]
]
@@ -400,11 +403,11 @@
{
"model": "ishtar_common.importertype",
"fields": {
- "name": "Ishtar - Entit\u00e9s Arch\u00e9ologiques",
+ "name": "Ishtar - Sites Arch\u00e9ologiques",
"slug": "ishtar-sites",
"description": "Import complet standard entit\u00e9s arch\u00e9ologiques",
"associated_models": [
- "archaeological_files.models.File"
+ "archaeological_operations.models.ArchaeologicalSite"
],
"is_template": true,
"unicity_keys": "reference",
@@ -3930,7 +3933,7 @@
"importer_type": [
"ishtar-sites"
],
- "col_number": 3,
+ "col_number": 4,
"description": "P\u00e9riodes concern\u00e9es (s\u00e9par\u00e9es par un \u00ab & \u00bb). Exemple : \"Gallo-romain & Fer & Med\".",
"regexp_pre_filter": null,
"required": false,
@@ -3944,7 +3947,7 @@
"importer_type": [
"ishtar-sites"
],
- "col_number": 4,
+ "col_number": 5,
"description": "Types de vestiges (s\u00e9par\u00e9s par un \u00ab & \u00bb). Exemple : \"four & fosses & villa\".",
"regexp_pre_filter": null,
"required": false,
@@ -3952,6 +3955,20 @@
}
},
{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Communes",
+ "importer_type": [
+ "ishtar-sites"
+ ],
+ "col_number": 3,
+ "description": "Code INSEE des communes concern\u00e9es (s\u00e9par\u00e9es par un \u00ab & \u00bb).",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
"model": "ishtar_common.formatertype",
"fields": {
"formater_type": "IntegerFormater",
@@ -4416,6 +4433,14 @@
}
},
{
+ "model": "ishtar_common.formatertype",
+ "fields": {
+ "formater_type": "InseeFormater",
+ "options": null,
+ "many_split": "&"
+ }
+},
+{
"model": "ishtar_common.importerduplicatefield",
"fields": {
"column": [
@@ -8145,12 +8170,12 @@
"regexp_filter": null,
"formater_type": [
"UnicodeFormater",
- "120",
+ "",
""
],
"force_new": false,
"concat": false,
- "concat_str": "",
+ "concat_str": null,
"comment": ""
}
},
@@ -10339,7 +10364,7 @@
"fields": {
"column": [
"ishtar-sites",
- 3
+ 4
],
"target": "periods",
"regexp_filter": null,
@@ -10359,7 +10384,7 @@
"fields": {
"column": [
"ishtar-sites",
- 4
+ 5
],
"target": "remains",
"regexp_filter": null,
@@ -10373,5 +10398,25 @@
"concat_str": null,
"comment": ""
}
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "ishtar-sites",
+ 3
+ ],
+ "target": "towns__numero_insee",
+ "regexp_filter": null,
+ "formater_type": [
+ "InseeFormater",
+ null,
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
}
]