diff options
-rw-r--r-- | fixtures/initial_data-auth-fr.json | 847 | ||||
-rw-r--r-- | ishtar_common/fixtures/initial_data-fr.json | 196 | ||||
-rw-r--r-- | ishtar_common/fixtures/initial_importtypes-fr.json | 554 |
3 files changed, 1456 insertions, 141 deletions
diff --git a/fixtures/initial_data-auth-fr.json b/fixtures/initial_data-auth-fr.json index fb58cd390..656dc4c51 100644 --- a/fixtures/initial_data-auth-fr.json +++ b/fixtures/initial_data-auth-fr.json @@ -1,209 +1,211 @@ [ { - "pk": 30, + "pk": 93, "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : voir", + "name": "Documents de demande de traitement : lecture", "permissions": [ - 265 + 438 ] } }, { - "pk": 31, + "pk": 10, "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : modification/suppression", + "name": "Actes administratifs : modification/suppression", "permissions": [ - 127 + 208, + 209 ] } }, { - "pk": 32, + "pk": 28, "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : ajout", + "name": "Op\u00e9rations : cl\u00f4ture", "permissions": [ - 126 + 183 ] } }, { - "pk": 2, + "pk": 29, "model": "auth.group", "fields": { - "name": "Dossiers : voir", + "name": "Dossiers : cl\u00f4ture", "permissions": [ - 241 + 151 ] } }, { - "pk": 1, + "pk": 11, "model": "auth.group", "fields": { - "name": "Op\u00e9rations : voir", + "name": "D\u00e9p\u00f4ts : ajout", "permissions": [ - 245 + 265 ] } }, { - "pk": 4, + "pk": 12, "model": "auth.group", "fields": { - "name": "UEs : voir", + "name": "D\u00e9p\u00f4ts : modification/suppression", "permissions": [ - 243 + 266, + 267 ] } }, { - "pk": 3, + "pk": 36, "model": "auth.group", "fields": { - "name": "Utilisateurs : voir", + "name": "Actes administratifs rattach\u00e9s : lecture", "permissions": [ - 56 + 211 ] } }, { - "pk": 5, + "pk": 67, "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts : voir", + "name": "Demandes de traitement rattach\u00e9es : ajout", "permissions": [ - 248 + 400 ] } }, { - "pk": 7, + "pk": 32, "model": "auth.group", "fields": { - "name": "Traitements : voir", + "name": "Documents op\u00e9ration : ajout", "permissions": [ - 247 + 175 ] } }, { - "pk": 6, + "pk": 31, "model": "auth.group", "fields": { - "name": "Mobilier : voir", + "name": "Documents op\u00e9ration : modification/suppression", "permissions": [ - 242, - 244 + 176, + 177 ] } }, { - "pk": 8, + "pk": 68, "model": "auth.group", "fields": { - "name": "Actes administratifs : voir", + "name": "Demandes de traitement rattach\u00e9es : lecture", "permissions": [ - 240 + 399 ] } }, { - "pk": 9, + "pk": 13, "model": "auth.group", "fields": { - "name": "Actes administratifs : ajout", + "name": "Dossiers : ajout", "permissions": [ - 135 + 143 ] } }, { - "pk": 10, + "pk": 94, "model": "auth.group", "fields": { - "name": "Actes administratifs : modification/suppression", + "name": "Documents de demande de traitement : ajout", "permissions": [ - 136, - 137 + 374 ] } }, { - "pk": 11, + "pk": 14, "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts : ajout", + "name": "Dossiers : modification/suppression", "permissions": [ - 182 + 144, + 145 ] } }, { - "pk": 12, + "pk": 69, "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts : modification/suppression", + "name": "Demandes de traitement rattach\u00e9es : modification/suppression", "permissions": [ - 183, - 184 + 401, + 402 ] } }, { - "pk": 13, + "pk": 15, "model": "auth.group", "fields": { - "name": "Dossiers : ajout", + "name": "Mobilier : ajout", "permissions": [ - 94 + 297, + 311 ] } }, { - "pk": 14, + "pk": 16, "model": "auth.group", "fields": { - "name": "Dossiers : modification/suppression", + "name": "Mobilier : modification/suppression", "permissions": [ - 95, - 96 + 298, + 299, + 312, + 313 ] } }, { - "pk": 15, + "pk": 54, "model": "auth.group", "fields": { - "name": "Mobilier : ajout", + "name": "Organisations rattach\u00e9es : lecture", "permissions": [ - 201, - 211 + 86 ] } }, { - "pk": 16, + "pk": 17, "model": "auth.group", "fields": { - "name": "Mobilier : modification/suppression", + "name": "Op\u00e9rations : ajout", "permissions": [ - 202, - 203, - 212, - 213 + 175 ] } }, { - "pk": 17, + "pk": 95, "model": "auth.group", "fields": { - "name": "Op\u00e9rations : ajout", + "name": "Documents de demande de traitement : modification/suppression", "permissions": [ - 116 + 375, + 376 ] } }, @@ -213,8 +215,50 @@ "fields": { "name": "Op\u00e9rations : modification/suppression", "permissions": [ - 117, - 118 + 176, + 177 + ] + } + }, + { + "pk": 52, + "model": "auth.group", + "fields": { + "name": "Organisations rattach\u00e9es : ajout", + "permissions": [ + 87 + ] + } + }, + { + "pk": 27, + "model": "auth.group", + "fields": { + "name": "Organisations : ajout", + "permissions": [ + 82 + ] + } + }, + { + "pk": 26, + "model": "auth.group", + "fields": { + "name": "Organisations : modification/suppression", + "permissions": [ + 83, + 84 + ] + } + }, + { + "pk": 53, + "model": "auth.group", + "fields": { + "name": "Organisations rattach\u00e9es : modification/suppression", + "permissions": [ + 88, + 89 ] } }, @@ -224,7 +268,7 @@ "fields": { "name": "Traitements : ajout", "permissions": [ - 227 + 328 ] } }, @@ -234,29 +278,68 @@ "fields": { "name": "Traitements : modification/suppression", "permissions": [ - 228, - 229 + 329, + 330 ] } }, { - "pk": 21, + "pk": 9, "model": "auth.group", "fields": { - "name": "UEs : ajout", + "name": "Actes administratifs : ajout", "permissions": [ - 169 + 207 ] } }, { - "pk": 22, + "pk": 73, "model": "auth.group", "fields": { - "name": "UEs : modification/suppression", + "name": "Documents UE : lecture", "permissions": [ - 170, - 171 + 423 + ] + } + }, + { + "pk": 74, + "model": "auth.group", + "fields": { + "name": "Documents UE rattach\u00e9s : lecture", + "permissions": [ + 424 + ] + } + }, + { + "pk": 75, + "model": "auth.group", + "fields": { + "name": "Documents UE : ajout", + "permissions": [ + 259 + ] + } + }, + { + "pk": 8, + "model": "auth.group", + "fields": { + "name": "Actes administratifs : lecture", + "permissions": [ + 210 + ] + } + }, + { + "pk": 72, + "model": "auth.group", + "fields": { + "name": "Auteurs : lecture", + "permissions": [ + 418 ] } }, @@ -264,9 +347,9 @@ "pk": 23, "model": "auth.group", "fields": { - "name": "Utilisateurs : ajout", + "name": "Personnes : ajout", "permissions": [ - 53 + 93 ] } }, @@ -274,61 +357,258 @@ "pk": 24, "model": "auth.group", "fields": { - "name": "Utilisateurs : modification/suppression", + "name": "Personnes : modification/suppression", "permissions": [ - 54, - 55 + 94, + 95 ] } }, { - "pk": 25, + "pk": 34, "model": "auth.group", "fields": { - "name": "Organisations : voir", + "name": "Actes administratifs rattach\u00e9s : ajout", "permissions": [ - 246 + 212 ] } }, { - "pk": 26, + "pk": 35, "model": "auth.group", "fields": { - "name": "Organisations : modification/suppression", + "name": "Actes administratifs rattach\u00e9s : modification/suppression", "permissions": [ - 44, - 45 + 213, + 214 ] } }, { - "pk": 27, + "pk": 37, "model": "auth.group", "fields": { - "name": "Organisations : ajout", + "name": "D\u00e9p\u00f4ts rattach\u00e9s : ajout", "permissions": [ - 43 + 270 ] } }, { - "pk": 28, + "pk": 38, "model": "auth.group", "fields": { - "name": "Op\u00e9rations : clore", + "name": "D\u00e9p\u00f4ts rattach\u00e9s : modification/suppression", "permissions": [ - 263 + 271, + 272 ] } }, { - "pk": 29, + "pk": 40, + "model": "auth.group", + "fields": { + "name": "Documents op\u00e9ration rattach\u00e9s : ajout", + "permissions": [ + 180 + ] + } + }, + { + "pk": 41, + "model": "auth.group", + "fields": { + "name": "Documents op\u00e9ration rattach\u00e9s : modification/suppression", + "permissions": [ + 181, + 182 + ] + } + }, + { + "pk": 43, + "model": "auth.group", + "fields": { + "name": "Dossiers rattach\u00e9s : ajout", + "permissions": [ + 148 + ] + } + }, + { + "pk": 44, + "model": "auth.group", + "fields": { + "name": "Dossiers rattach\u00e9s : modification/suppression", + "permissions": [ + 149, + 150 + ] + } + }, + { + "pk": 55, + "model": "auth.group", + "fields": { + "name": "Traitements rattach\u00e9s : ajout", + "permissions": [ + 333 + ] + } + }, + { + "pk": 56, + "model": "auth.group", + "fields": { + "name": "Traitements rattach\u00e9s : modification/suppression", + "permissions": [ + 334, + 335 + ] + } + }, + { + "pk": 64, + "model": "auth.group", + "fields": { + "name": "Demandes de traitement : ajout", + "permissions": [ + 415 + ] + } + }, + { + "pk": 66, + "model": "auth.group", + "fields": { + "name": "Demandes de traitement : lecture", + "permissions": [ + 398 + ] + } + }, + { + "pk": 65, + "model": "auth.group", + "fields": { + "name": "Demandes de traitement : modification/suppression", + "permissions": [ + 416, + 417 + ] + } + }, + { + "pk": 70, + "model": "auth.group", + "fields": { + "name": "Auteurs : ajout", + "permissions": [ + 107 + ] + } + }, + { + "pk": 71, + "model": "auth.group", + "fields": { + "name": "Auteurs : modification/suppression", + "permissions": [ + 108, + 109 + ] + } + }, + { + "pk": 39, + "model": "auth.group", + "fields": { + "name": "D\u00e9p\u00f4ts rattach\u00e9s : lecture", + "permissions": [ + 269 + ] + } + }, + { + "pk": 5, + "model": "auth.group", + "fields": { + "name": "D\u00e9p\u00f4ts : lecture", + "permissions": [ + 268 + ] + } + }, + { + "pk": 42, + "model": "auth.group", + "fields": { + "name": "Documents op\u00e9ration rattach\u00e9s : lecture", + "permissions": [ + 197 + ] + } + }, + { + "pk": 30, + "model": "auth.group", + "fields": { + "name": "Documents op\u00e9ration : lecture", + "permissions": [ + 196 + ] + } + }, + { + "pk": 45, + "model": "auth.group", + "fields": { + "name": "Dossiers rattach\u00e9s : lecture", + "permissions": [ + 147 + ] + } + }, + { + "pk": 2, + "model": "auth.group", + "fields": { + "name": "Dossiers : lecture", + "permissions": [ + 146 + ] + } + }, + { + "pk": 6, "model": "auth.group", "fields": { - "name": "Dossiers : clore", + "name": "Mobilier : lecture", "permissions": [ - 264 + 300, + 314 + ] + } + }, + { + "pk": 1, + "model": "auth.group", + "fields": { + "name": "Op\u00e9rations : lecture", + "permissions": [ + 178 + ] + } + }, + { + "pk": 25, + "model": "auth.group", + "fields": { + "name": "Organisations : lecture", + "permissions": [ + 85 ] } }, @@ -336,31 +616,376 @@ "pk": 33, "model": "auth.group", "fields": { - "name": "Entit\u00e9s arch\u00e9ologiques : ajout", + "name": "Personnes : lecture", "permissions": [ - 255 + 96 ] } }, { - "pk": 34, + "pk": 57, "model": "auth.group", "fields": { - "name": "Entit\u00e9s arch\u00e9ologiques : modification/suppression", + "name": "Traitements rattach\u00e9s : lecture", "permissions": [ - 256, - 257 + 332 ] } }, { - "pk": 35, + "pk": 7, + "model": "auth.group", + "fields": { + "name": "Traitements : lecture", + "permissions": [ + 331 + ] + } + }, + { + "pk": 4, + "model": "auth.group", + "fields": { + "name": "UE : lecture", + "permissions": [ + 248 + ] + } + }, + { + "pk": 21, + "model": "auth.group", + "fields": { + "name": "UE : ajout", + "permissions": [ + 245 + ] + } + }, + { + "pk": 22, + "model": "auth.group", + "fields": { + "name": "UE : modification/suppression", + "permissions": [ + 246, + 247 + ] + } + }, + { + "pk": 58, + "model": "auth.group", + "fields": { + "name": "UE rattach\u00e9es : ajout", + "permissions": [ + 250 + ] + } + }, + { + "pk": 60, + "model": "auth.group", + "fields": { + "name": "UE rattach\u00e9es : lecture", + "permissions": [ + 249 + ] + } + }, + { + "pk": 59, + "model": "auth.group", + "fields": { + "name": "UE rattach\u00e9es : modification/suppression", + "permissions": [ + 251, + 252 + ] + } + }, + { + "pk": 61, + "model": "auth.group", + "fields": { + "name": "Personnes rattach\u00e9es : ajout", + "permissions": [ + 98 + ] + } + }, + { + "pk": 63, + "model": "auth.group", + "fields": { + "name": "Personnes rattach\u00e9es : lecture", + "permissions": [ + 97 + ] + } + }, + { + "pk": 62, + "model": "auth.group", + "fields": { + "name": "Personnes rattach\u00e9es : modification/suppression", + "permissions": [ + 99, + 100 + ] + } + }, + { + "pk": 49, + "model": "auth.group", + "fields": { + "name": "Op\u00e9rations rattach\u00e9es : ajout", + "permissions": [ + 180 + ] + } + }, + { + "pk": 51, + "model": "auth.group", + "fields": { + "name": "Op\u00e9rations rattach\u00e9es : lecture", + "permissions": [ + 179 + ] + } + }, + { + "pk": 50, + "model": "auth.group", + "fields": { + "name": "Op\u00e9rations rattach\u00e9es : modification/suppression", + "permissions": [ + 181, + 182 + ] + } + }, + { + "pk": 46, + "model": "auth.group", + "fields": { + "name": "Mobilier rattach\u00e9 : ajout", + "permissions": [ + 302, + 316 + ] + } + }, + { + "pk": 48, + "model": "auth.group", + "fields": { + "name": "Mobilier rattach\u00e9 : lecture", + "permissions": [ + 301, + 315 + ] + } + }, + { + "pk": 47, + "model": "auth.group", + "fields": { + "name": "Mobilier rattach\u00e9 : modification/suppression", + "permissions": [ + 303, + 304, + 317, + 318 + ] + } + }, + { + "pk": 77, + "model": "auth.group", + "fields": { + "name": "Documents UE rattach\u00e9s : modification/suppression", + "permissions": [ + 426, + 427 + ] + } + }, + { + "pk": 76, + "model": "auth.group", + "fields": { + "name": "Documents UE : modification/suppression", + "permissions": [ + 260, + 261 + ] + } + }, + { + "pk": 78, + "model": "auth.group", + "fields": { + "name": "Documents UE rattach\u00e9s : ajout", + "permissions": [ + 425 + ] + } + }, + { + "pk": 79, + "model": "auth.group", + "fields": { + "name": "Documents mobilier : lecture", + "permissions": [ + 428 + ] + } + }, + { + "pk": 80, + "model": "auth.group", + "fields": { + "name": "Documents mobilier : ajout", + "permissions": [ + 319 + ] + } + }, + { + "pk": 81, + "model": "auth.group", + "fields": { + "name": "Documents mobilier : modification/suppression", + "permissions": [ + 320, + 321 + ] + } + }, + { + "pk": 82, + "model": "auth.group", + "fields": { + "name": "Documents mobilier rattach\u00e9s : ajout", + "permissions": [ + 430 + ] + } + }, + { + "pk": 83, + "model": "auth.group", + "fields": { + "name": "Documents mobilier rattach\u00e9s : lecture", + "permissions": [ + 429 + ] + } + }, + { + "pk": 84, + "model": "auth.group", + "fields": { + "name": "Documents mobilier rattach\u00e9s : modification/suppression", + "permissions": [ + 431, + 432 + ] + } + }, + { + "pk": 85, + "model": "auth.group", + "fields": { + "name": "Documents de traitement : lecture", + "permissions": [ + 433 + ] + } + }, + { + "pk": 86, + "model": "auth.group", + "fields": { + "name": "Documents de traitement : ajout", + "permissions": [ + 336 + ] + } + }, + { + "pk": 87, + "model": "auth.group", + "fields": { + "name": "Documents de traitement : modification/suppression", + "permissions": [ + 337, + 338 + ] + } + }, + { + "pk": 88, + "model": "auth.group", + "fields": { + "name": "Documents de traitement rattach\u00e9s : lecture", + "permissions": [ + 434 + ] + } + }, + { + "pk": 89, + "model": "auth.group", + "fields": { + "name": "Documents de traitement rattach\u00e9s : ajout", + "permissions": [ + 435 + ] + } + }, + { + "pk": 90, + "model": "auth.group", + "fields": { + "name": "Documents de traitement rattach\u00e9s : modification/suppression", + "permissions": [ + 436, + 437 + ] + } + }, + { + "pk": 96, + "model": "auth.group", + "fields": { + "name": "Documents de demande de traitement rattach\u00e9s : lecture", + "permissions": [ + 442 + ] + } + }, + { + "pk": 97, + "model": "auth.group", + "fields": { + "name": "Documents de demande de traitement rattach\u00e9s : ajout", + "permissions": [ + 443 + ] + } + }, + { + "pk": 98, "model": "auth.group", "fields": { - "name": "Entit\u00e9s arch\u00e9ologiques : voir", + "name": "Documents de demande de traitement rattach\u00e9s : modification/suppression", "permissions": [ - 258 + 444, + 445 ] } } -] +]
\ No newline at end of file diff --git a/ishtar_common/fixtures/initial_data-fr.json b/ishtar_common/fixtures/initial_data-fr.json index 54b0c5d7b..2277dbdd1 100644 --- a/ishtar_common/fixtures/initial_data-fr.json +++ b/ishtar_common/fixtures/initial_data-fr.json @@ -36,10 +36,27 @@ "pk": 7, "model": "ishtar_common.persontype", "fields": { - "comment": "Un acc\u00e8s limit\u00e9 \u00e0 la base, uniquement en lecture. Apr\u00e8s enregistrement.", + "comment": "Un acc\u00e8s limit\u00e9 - uniquement en lecture - \u00e0 la totalit\u00e9 de la base, apr\u00e8s enregistrement.", "available": true, "txt_idx": "reader_access", - "groups": [], + "groups": [ + 1, + 66, + 4, + 5, + 6, + 33, + 8, + 73, + 7, + 2, + 79, + 72, + 85, + 25, + 93, + 30 + ], "label": "Acc\u00e8s en lecture" } }, @@ -50,7 +67,103 @@ "comment": "", "available": true, "txt_idx": "administrator", - "groups": [], + "groups": [ + 1, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 93, + 94, + 95, + 96, + 97, + 98 + ], "label": "Administrateur" } }, @@ -83,7 +196,22 @@ "comment": "Peut intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable.", "available": true, "txt_idx": "collaborator", - "groups": [], + "groups": [ + 70, + 71, + 72, + 41, + 42, + 46, + 47, + 48, + 40, + 51, + 58, + 59, + 60, + 63 + ], "label": "Collaborateur scientifique" } }, @@ -105,7 +233,28 @@ "comment": "Peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9.\r\n\r\n", "available": true, "txt_idx": "warehouse_manager", - "groups": [], + "groups": [ + 64, + 65, + 66, + 4, + 5, + 6, + 1, + 8, + 11, + 12, + 2, + 15, + 16, + 72, + 19, + 20, + 7, + 25, + 33, + 30 + ], "label": "Gestionnaire de d\u00e9p\u00f4t" } }, @@ -117,16 +266,12 @@ "available": true, "txt_idx": "sra_agent", "groups": [ - 30, - 31, - 32, - 2, 1, + 2, 4, - 3, 5, - 7, 6, + 7, 8, 9, 10, @@ -144,7 +289,15 @@ 26, 27, 28, - 29 + 29, + 30, + 31, + 32, + 33, + 66, + 70, + 71, + 72 ], "label": "Responsable de suivi scientifique" } @@ -156,7 +309,23 @@ "comment": "Responsable d'op\u00e9ration arch\u00e9ologique.", "available": true, "txt_idx": "head_scientist", - "groups": [], + "groups": [ + 1, + 70, + 71, + 72, + 41, + 42, + 46, + 47, + 48, + 40, + 50, + 58, + 59, + 60, + 63 + ], "label": "Responsable scientifique" } }, @@ -172,6 +341,7 @@ 2, 4, 6, + 33, 8, 9, 10, diff --git a/ishtar_common/fixtures/initial_importtypes-fr.json b/ishtar_common/fixtures/initial_importtypes-fr.json index 511a1fc7d..115f6a985 100644 --- a/ishtar_common/fixtures/initial_importtypes-fr.json +++ b/ishtar_common/fixtures/initial_importtypes-fr.json @@ -1,5 +1,13 @@ [ { + "pk": 17, + "model": "ishtar_common.importermodel", + "fields": { + "name": "Auteur", + "klass": "ishtar_common.models.Author" + } + }, + { "pk": 11, "model": "ishtar_common.importermodel", "fields": { @@ -8,6 +16,22 @@ } }, { + "pk": 16, + "model": "ishtar_common.importermodel", + "fields": { + "name": "Documentation de demande de traitement", + "klass": "archaeological_finds.models_treatments.TreatmentFileSource" + } + }, + { + "pk": 15, + "model": "ishtar_common.importermodel", + "fields": { + "name": "Documentation de traitement", + "klass": "archaeological_finds.models_treatments.TreatmentSource" + } + }, + { "pk": 8, "model": "ishtar_common.importermodel", "fields": { @@ -16,6 +40,22 @@ } }, { + "pk": 13, + "model": "ishtar_common.importermodel", + "fields": { + "name": "Documentation d'UE", + "klass": "archaeological_context_records.models.ContextRecordSource" + } + }, + { + "pk": 14, + "model": "ishtar_common.importermodel", + "fields": { + "name": "Documentation mobilier", + "klass": "archaeological_finds.models_finds.FindSource" + } + }, + { "pk": 2, "model": "ishtar_common.importermodel", "fields": { @@ -124,6 +164,24 @@ } }, { + "pk": 22, + "model": "ishtar_common.importertype", + "fields": { + "description": "Documentation d'op\u00e9ration", + "created_models": [ + 17, + 8, + 5 + ], + "is_template": true, + "unicity_keys": "external_id", + "users": [], + "slug": "ishtar-operations-sources", + "associated_models": 8, + "name": "Ishtar - Op\u00e9rations - Documentation" + } + }, + { "pk": 19, "model": "ishtar_common.importertype", "fields": { @@ -287,6 +345,14 @@ } }, { + "pk": 25, + "model": "ishtar_common.importerdefault", + "fields": { + "importer_type": 22, + "target": "authors" + } + }, + { "pk": 26, "model": "ishtar_common.importerdefaultvalues", "fields": { @@ -332,6 +398,15 @@ } }, { + "pk": 31, + "model": "ishtar_common.importerdefaultvalues", + "fields": { + "default_target": 25, + "target": "author_type", + "value": "main_author" + } + }, + { "pk": 336, "model": "ishtar_common.importercolumn", "fields": { @@ -1307,6 +1382,201 @@ } }, { + "pk": 376, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 1, + "description": "Code UNIQUE pour une op\u00e9ration (par exemple : code PATRIARCHE)", + "regexp_pre_filter": null, + "required": true, + "label": "Code op\u00e9ration", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 379, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 2, + "description": "Num\u00e9ro unique par op\u00e9ration", + "regexp_pre_filter": null, + "required": true, + "label": "Index (num\u00e9ro par op\u00e9ration)", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 378, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 3, + "description": "", + "regexp_pre_filter": null, + "required": true, + "label": "Type de document", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 377, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 4, + "description": "Titre du document (max. 300 caract\u00e8res)", + "regexp_pre_filter": null, + "required": true, + "label": "Titre", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 380, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 5, + "description": "R\u00e9f\u00e9rence libre (max. 100 caract\u00e8res)", + "regexp_pre_filter": null, + "required": false, + "label": "R\u00e9f\u00e9rence", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 381, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 6, + "description": "R\u00e9f\u00e9rence interne libre (max. 100 caract\u00e8res)", + "regexp_pre_filter": null, + "required": false, + "label": "R\u00e9f\u00e9rence interne", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 382, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 7, + "description": "Adresse web compl\u00e8te (avec la partie http:// ou https://)", + "regexp_pre_filter": null, + "required": false, + "label": "Adresse web associ\u00e9e", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 383, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 8, + "description": "Date de r\u00e9ception (format JJ/MM/AAAA ou AAAA-MM-JJ)", + "regexp_pre_filter": null, + "required": false, + "label": "Date de r\u00e9ception", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 384, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 9, + "description": "Date de cr\u00e9ation (format JJ/MM/AAAA ou AAAA-MM-JJ)", + "regexp_pre_filter": null, + "required": false, + "label": "Date de cr\u00e9ation", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 385, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 10, + "description": "Date de r\u00e9ception en documentation (format JJ/MM/AAAA ou AAAA-MM-JJ)", + "regexp_pre_filter": null, + "required": false, + "label": "Date de r\u00e9ception en documentation", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 386, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 11, + "description": "Texte libre", + "regexp_pre_filter": null, + "required": false, + "label": "Commentaire", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 387, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 12, + "description": "Texte libre", + "regexp_pre_filter": null, + "required": false, + "label": "Description", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 388, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 13, + "description": "Texte libre", + "regexp_pre_filter": null, + "required": false, + "label": "Information suppl\u00e9mentaire", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 390, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 14, + "description": "", + "regexp_pre_filter": null, + "required": false, + "label": "Existe en doublon", + "importer_type": 22, + "export_field_name": "" + } + }, + { + "pk": 389, + "model": "ishtar_common.importercolumn", + "fields": { + "col_number": 15, + "description": "Nom (en casse haute) suivi du pr\u00e9nom de l'auteur (maximum 300 caract\u00e8res). Exemple : DUPONT Jean.", + "regexp_pre_filter": null, + "required": false, + "label": "Auteur principal", + "importer_type": 22, + "export_field_name": "" + } + }, + { "pk": 303, "model": "ishtar_common.importercolumn", "fields": { @@ -1623,12 +1893,12 @@ "model": "ishtar_common.importercolumn", "fields": { "col_number": 14, - "description": "Contient ou non du mobilier (oui/non).", + "description": "Champ \u00e0 choix multiple (s\u00e9par\u00e9 par \u00ab & \u00bb) permettant de pr\u00e9ciser : contient du mobilier, dispose d'une photo, etc.", "regexp_pre_filter": null, "required": false, - "label": "Contient du mobilier", + "label": "Documentations", "importer_type": 18, - "export_field_name": null + "export_field_name": "" } }, { @@ -3692,20 +3962,6 @@ } }, { - "pk": 348, - "model": "ishtar_common.importtarget", - "fields": { - "comment": "", - "target": "has_furniture", - "column": 323, - "formater_type": 19, - "concat_str": "", - "regexp_filter": null, - "concat": false, - "force_new": false - } - }, - { "pk": 351, "model": "ishtar_common.importtarget", "fields": { @@ -4098,6 +4354,20 @@ } }, { + "pk": 348, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "documentations", + "column": 323, + "formater_type": 52, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { "pk": 395, "model": "ishtar_common.importtarget", "fields": { @@ -4308,6 +4578,104 @@ } }, { + "pk": 402, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "title", + "column": 377, + "formater_type": 4, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 404, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "index", + "column": 379, + "formater_type": 1, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 406, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "internal_reference", + "column": 381, + "formater_type": 51, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 408, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "receipt_date", + "column": 383, + "formater_type": 25, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 410, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "receipt_date_in_documentation", + "column": 385, + "formater_type": 25, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 412, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "description", + "column": 387, + "formater_type": 35, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 414, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "authors__person__raw_name", + "column": 389, + "formater_type": 4, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { "pk": 396, "model": "ishtar_common.importtarget", "fields": { @@ -4588,6 +4956,104 @@ } }, { + "pk": 403, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "source_type", + "column": 378, + "formater_type": 12, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 401, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "operation__code_patriarche", + "column": 376, + "formater_type": 35, + "concat_str": "-", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 405, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "reference", + "column": 380, + "formater_type": 51, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 407, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "associated_url", + "column": 382, + "formater_type": 4, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 409, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "creation_date", + "column": 384, + "formater_type": 25, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 411, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "comment", + "column": 386, + "formater_type": 35, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { + "pk": 413, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "additional_information", + "column": 388, + "formater_type": 35, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { "pk": 295, "model": "ishtar_common.importtarget", "fields": { @@ -4602,6 +5068,20 @@ } }, { + "pk": 415, + "model": "ishtar_common.importtarget", + "fields": { + "comment": "", + "target": "duplicate", + "column": 390, + "formater_type": 19, + "concat_str": "", + "regexp_filter": null, + "concat": false, + "force_new": false + } + }, + { "pk": 310, "model": "ishtar_common.importtarget", "fields": { @@ -4931,6 +5411,15 @@ } }, { + "pk": 52, + "model": "ishtar_common.formatertype", + "fields": { + "formater_type": "TypeFormater", + "many_split": "&", + "options": "archaeological_context_records.models.DocumentationType" + } + }, + { "pk": 24, "model": "ishtar_common.formatertype", "fields": { @@ -5147,6 +5636,15 @@ } }, { + "pk": 51, + "model": "ishtar_common.formatertype", + "fields": { + "formater_type": "UnicodeFormater", + "many_split": "", + "options": "100" + } + }, + { "pk": 16, "model": "ishtar_common.formatertype", "fields": { @@ -5738,5 +6236,27 @@ "concat": false, "force_new": false } + }, + { + "pk": 52, + "model": "ishtar_common.importerduplicatefield", + "fields": { + "column": 376, + "concat_str": "-", + "field_name": "external_id", + "concat": false, + "force_new": false + } + }, + { + "pk": 53, + "model": "ishtar_common.importerduplicatefield", + "fields": { + "column": 379, + "concat_str": "-", + "field_name": "external_id", + "concat": false, + "force_new": false + } } ]
\ No newline at end of file |