summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-26 10:41:44 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-26 10:41:44 +0200
commit2d894ea2f3e782624f4ed5dc447907610cbca404 (patch)
tree1bf31698e756686f509468fd4560d490ae01f118
parent01360486e29c4df8c06bb4772324e7f62fa2fb07 (diff)
downloadIshtar-2d894ea2f3e782624f4ed5dc447907610cbca404.tar.bz2
Ishtar-2d894ea2f3e782624f4ed5dc447907610cbca404.zip
Update importer fixture
-rw-r--r--ishtar_common/fixtures/initial_importtypes-fr.json1534
1 files changed, 1534 insertions, 0 deletions
diff --git a/ishtar_common/fixtures/initial_importtypes-fr.json b/ishtar_common/fixtures/initial_importtypes-fr.json
index 438a023e0..97c0856a2 100644
--- a/ishtar_common/fixtures/initial_importtypes-fr.json
+++ b/ishtar_common/fixtures/initial_importtypes-fr.json
@@ -382,6 +382,22 @@
}
},
{
+ "model": "ishtar_common.importertype",
+ "fields": {
+ "name": "Chantier des d\u00e9p\u00f4ts",
+ "slug": "inventory_combo",
+ "description": "Importer format\u00e9 selon l'ordre pr\u00e9vu pour un chantier des collections. Importe \u00e9galement les UE et les parcelles. NE CR\u00c9E PAS LES OP\u00c9RATIONS.",
+ "associated_models": [
+ "archaeological_finds.models_finds.Find"
+ ],
+ "is_template": true,
+ "unicity_keys": "external_id",
+ "available": true,
+ "users": [],
+ "created_models": []
+ }
+},
+{
"model": "ishtar_common.regexp",
"fields": {
"name": "Num\u00e9ro INSEE",
@@ -3356,6 +3372,510 @@
}
},
{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Code op\u00e9ration",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 9,
+ "description": "Code PATRIARCHE ou code num\u00e9rique (entier) UNIQUE pour une op\u00e9ration.",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "base_finds__context_record__operation__code_patriarche"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "INSEE",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 11,
+ "description": "Commune (via num\u00e9ro INSEE).",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "base_finds__context_record__parcel__town__numero_insee"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Section de parcellaire",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 12,
+ "description": "Section (identifiant externe), soit des lettres formant la section . Exemple : \"ZA\".",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "base_finds__context_record__parcel__section"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Num\u00e9ro de parcelle",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 13,
+ "description": "Num\u00e9ro de la parcelle, soit des chiffres sans espaces. Exemple : \"253\".",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "base_finds__context_record__parcel__parcel_number"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Identifiant UE",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 10,
+ "description": "Label / Identifiant (externe) de l'UE. Exemple : \"US 145\", \"Tranch\u00e9e 145\", \"145\", \"St 17\", etc. Doit \u00eatre unique pour une parcelle donn\u00e9e.",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "base_finds__context_record__label"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Identifiant objet ou lot",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 14,
+ "description": "Identifiant libre pour le mobilier. Exemple : \"12\", \"Lot 24\", \"Sac vert\", etc.\r\nDoit \u00eatre unique \u00e0 l'\u00e9chelle de l'UE associ\u00e9e.",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "label"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "R\u00e9f\u00e9rence contenant",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 1,
+ "description": "Label du contenant, si possible visible et identifiable facilement sur celui-ci.",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Type de contenant",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 2,
+ "description": "Type de contenant, fait r\u00e9f\u00e9rence \u00e0 une typologie de contenant",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": ""
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 1",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 3,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la premi\u00e8re localisation. Par exemple si la premi\u00e8re localisation du d\u00e9p\u00f4t concern\u00e9 est \u00ab b\u00e2timent \u00bb mettre : \u00ab A \u00bb pour b\u00e2timent A.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_1"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 2",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 4,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la seconde localisation.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_2"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 3",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 5,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la troisi\u00e8me localisation.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_3"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 4",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 6,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la quatri\u00e8me localisation.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_4"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Identifiant pr\u00e9c\u00e9dent",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 15,
+ "description": "Identifiant pr\u00e9c\u00e9dent, li\u00e9 \u00e0 une base de donn\u00e9e ou un autre mode d'enregistrement. Exemple : \"400.01.05\", \"Beau biface\", \"inv. 4523\", \"Iso.4220\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Lot ou objet",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 16,
+ "description": "D\u00e9finit si on enregistre ici un objet seul (parfois appel\u00e9 Isolation) ou un lot d'objets. Exemple : \"lot\", \"objet\", \"Iso\", \"vrac\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Type(s) d'objet(s)",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 18,
+ "description": "Type(s) d'objet(s), s\u00e9par\u00e9s par des \"&\". Exemple : \"tesson & charbon\", \"os & m\u00e9tal\", \"faune\", \"fibule & bague\", \"lame & lamelle\", \"\u00e9clat & nucl\u00e9us\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Description",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 19,
+ "description": "Description du mobilier, objet ou lot. Exemple : \"Fibule aviforme\". Texte libre.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Nombre",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 20,
+ "description": "Nombre d'objet(s) li\u00e9(s) \u00e0 cet enregistrement (entier). Exemple : \"12\".\r\nAttention, ce champ n'est pas contraint par l'information de type OBJET/LOT.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Poids (g)",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 21,
+ "description": "Poids en grammes. Nombre \u00e0 virgule, exemple : 12.6, 50, 15200",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "\u00c9tat sanitaire",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 22,
+ "description": "\u00c9tat de conservation. Exemple : \"Instable\", \"Stable\", \"Inconnu\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Types d'alt\u00e9ration",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 23,
+ "description": "Type d'alt\u00e9ration observ\u00e9e, choix multiples possibles s\u00e9par\u00e9s par des \"&\", exemple : \"corrosion active&fissuration\", etc. Fait r\u00e9f\u00e9rence \u00e0 une typologie, pr\u00e9sent au sein du MODULE CONSERVATION",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Causes d'alt\u00e9ration",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 24,
+ "description": "Causes d'alt\u00e9ration estim\u00e9e(s), choix multiples possibles s\u00e9par\u00e9s par des \"&\". Fait r\u00e9f\u00e9rence \u00e0 une typologie, pr\u00e9sent au sein du MODULE CONSERVATION",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Type de traitement recommand\u00e9",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 25,
+ "description": "Actions de conservation-restauration \u00e0 mener. Il est possible de proposer plusieurs choix s\u00e9par\u00e9s d'un \"&\", exemple : \"remonter&reconditionner\"",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Urgence du traitement",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 26,
+ "description": "Niveau d'urgence des actions de conservation \u00e0 mener (Type), pr\u00e9sent au sein du MODULE CONSERVATION",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Commentaire sur la conservation",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 27,
+ "description": "Commentaire relatif \u00e0 la conservation. Exemple : \"Devrait \u00eatre conserv\u00e9 dans une chambre climatis\u00e9e\", \"Ne sera plus qu'une poudre, si on ne s'en occupe pas sous peu\", \" \u00e0 jeter\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Int\u00e9grit\u00e9 / int\u00e9r\u00eat",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 28,
+ "description": "Type(s) d'int\u00e9r\u00eat scientifique ou d'int\u00e9grit\u00e9, s\u00e9par\u00e9s par des \"&\". Exemple : \"Arch\u00e9ologiquement complet\", \"absent\", \"perdu\", etc.\r\nPeut \u00e9galement qualifier (selon votre usage) des qualit\u00e9s de fragmentation : \"proximal\", \"distal\", \"fragmentaire\", \"complet&fragmentaire\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Remarquabilit\u00e9",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 29,
+ "description": "Type(s) de remarquabilit\u00e9(s), s\u00e9par\u00e9s par des \"&\". Exemple : \"Mus\u00e9able\", \"Publication\", \"Tessonier & Publication\", etc.\r\nA pr\u00e9ciser dans la typologie ad\u00e9quate pour l'adapter \u00e0 votre usage.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Image",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 36,
+ "description": "Nom exact du fichier image, sous la forme XXXXX.jpg.\r\nAttention au respect strict des caract\u00e8res et majuscules lors d'un import de ce type, \".JPG\" ou \"*.jpg\", etc.\r\nExemple : \"P1030831.JPG\", \"IMG_6485.JPG\", \"fibule.jpg\", etc.\r\nLors de l'import il faut ajouter ces images sous la forme d'un fichier zip (joint au csv import\u00e9) pour que les images soient automatiquement int\u00e9gr\u00e9es.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Date de d\u00e9couverte",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 30,
+ "description": "Date au format JJ/MM/AAAA ou AAAA-MM-JJ. Par exemple : 2017-07-31 ou 31/07/2017.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Marquage",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 31,
+ "description": "Marquage visible sur le mobilier. Exemple : \"id1234 la Roche aux F\u00e9es\", \"MTX-45\", etc.\r\nCeci reproduit d'ordinaire un marquage r\u00e9alis\u00e9 par un arch\u00e9ologue. Il ne s'agit pas ici de reproduire une \u00e9pigraphie ou tout autre inscription arch\u00e9ologique (graffito, d\u00e9dicaces, defixio, etc.) , mais vous pouvez l'utiliser pour cela si vous n'avez pas \u00e0 utiliser de marquage arch\u00e9ologique.\r\nPeut aussi indiquer si un marquage est pr\u00e9sent ou non (oui/non).",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation topographique",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 32,
+ "description": "R\u00e9f\u00e9rence du point topo, d'ordinaire un entier mais peut \u00eatre autre chose, un lieu dit ou autre. Champ texte, max. 120 caract\u00e8res. Exemple : \"7220\", \"pt. 72\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Commentaire g\u00e9n\u00e9ral",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 33,
+ "description": "Commentaire g\u00e9n\u00e9ral en texte libre. Exemple : \"habillage en nid d'abeille, poli g\u00e9n\u00e9ralis\u00e9, encoche emmanchement lat\u00e9ral ouvert sur la face sup\u00e9rieure\", \"1 bord + bec tubulaire\", \"fibule de Langton Down\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Chronologie",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 34,
+ "description": "Chronologies associ\u00e9es (plusieurs possibles s\u00e9par\u00e9es par &). Exemple : \"Gallo-romain & M\u00e9di\u00e9val\", \"GR&MED\", \"M\u00e9solithique final & M\u00e9so moyen & Epipal\", etc.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "datings__period__label"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "CCE / d\u00e9p\u00f4t concern\u00e9",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 35,
+ "description": "Identifiant textuel du d\u00e9p\u00f4t. Cet identifiant doit correspondre \u00e0 un d\u00e9p\u00f4t existant en base de donn\u00e9es, plus pr\u00e9cis\u00e9ment \u00e0 sa clef, exemple : \"cce-49\"",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": null
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Mat\u00e9riau(x)",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 17,
+ "description": "Type(s) de mat\u00e9riau(x) s\u00e9par\u00e9s par des \"&\". Exemple : \"m\u00e9tal & os\", \"LT\", \"Min\u00e9ral\", \"Granito\u00efde & Basalte & Ardoise\".",
+ "regexp_pre_filter": null,
+ "required": true,
+ "export_field_name": "material_types__label"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 5",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 7,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la cinqui\u00e8me localisation.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_5"
+ }
+},
+{
+ "model": "ishtar_common.importercolumn",
+ "fields": {
+ "label": "Localisation 6",
+ "importer_type": [
+ "inventory_combo"
+ ],
+ "col_number": 8,
+ "description": "Localisation dans le d\u00e9p\u00f4t : r\u00e9f\u00e9rence de la sixi\u00e8me localisation.",
+ "regexp_pre_filter": null,
+ "required": false,
+ "export_field_name": "localisation_6"
+ }
+},
+{
"model": "ishtar_common.formatertype",
"fields": {
"formater_type": "IntegerFormater",
@@ -3796,6 +4316,14 @@
}
},
{
+ "model": "ishtar_common.formatertype",
+ "fields": {
+ "formater_type": "TypeFormater",
+ "options": "archaeological_finds.models.ObjectType",
+ "many_split": "&"
+ }
+},
+{
"model": "ishtar_common.importerduplicatefield",
"fields": {
"column": [
@@ -4589,6 +5117,292 @@
}
},
{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 9
+ ],
+ "field_name": "base_finds__context_record__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 9
+ ],
+ "field_name": "base_finds__context_record__parcel__operation__code_patriarche",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 9
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 9
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 11
+ ],
+ "field_name": "base_finds__context_record__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 11
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 11
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 12
+ ],
+ "field_name": "base_finds__context_record__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 12
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 12
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 13
+ ],
+ "field_name": "base_finds__context_record__external_id",
+ "force_new": false,
+ "concat": true,
+ "concat_str": null
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 13
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": true,
+ "concat_str": null
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 13
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": true,
+ "concat_str": null
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 10
+ ],
+ "field_name": "base_finds__context_record__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 10
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 10
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 14
+ ],
+ "field_name": "base_finds__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 14
+ ],
+ "field_name": "base_finds__label",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 14
+ ],
+ "field_name": "external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 1
+ ],
+ "field_name": "container__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 35
+ ],
+ "field_name": "container__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": "-"
+ }
+},
+{
+ "model": "ishtar_common.importerduplicatefield",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 35
+ ],
+ "field_name": "container__location__external_id",
+ "force_new": false,
+ "concat": false,
+ "concat_str": ""
+ }
+},
+{
"model": "ishtar_common.importtarget",
"fields": {
"column": [
@@ -8667,5 +9481,725 @@
"concat_str": null,
"comment": ""
}
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 9
+ ],
+ "target": "base_finds__context_record__operation__code_patriarche",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "12",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 11
+ ],
+ "target": "base_finds__context_record__parcel__town__numero_insee",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "5",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 12
+ ],
+ "target": "base_finds__context_record__parcel__section",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "4",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 13
+ ],
+ "target": "base_finds__context_record__parcel__parcel_number",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "6",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 10
+ ],
+ "target": "base_finds__context_record__label",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "120",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 14
+ ],
+ "target": "label",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "120",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 1
+ ],
+ "target": "container__reference",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "30",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 2
+ ],
+ "target": "container__container_type",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_warehouse.models.ContainerType",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 3
+ ],
+ "target": "set_localisation_1",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 4
+ ],
+ "target": "set_localisation_2",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 5
+ ],
+ "target": "set_localisation_3",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 6
+ ],
+ "target": "set_localisation_4",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 15
+ ],
+ "target": "previous_id",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "120",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 16
+ ],
+ "target": "base_finds__batch",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.BatchType",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 19
+ ],
+ "target": "description",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 20
+ ],
+ "target": "find_number",
+ "regexp_filter": null,
+ "formater_type": [
+ "IntegerFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 21
+ ],
+ "target": "weight",
+ "regexp_filter": null,
+ "formater_type": [
+ "FloatFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 22
+ ],
+ "target": "conservatory_state",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.ConservatoryState",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 25
+ ],
+ "target": "preservation_to_considers",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.TreatmentType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 27
+ ],
+ "target": "conservatory_comment",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 28
+ ],
+ "target": "integrities",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.IntegrityType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 29
+ ],
+ "target": "remarkabilities",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.RemarkabilityType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 36
+ ],
+ "target": "image",
+ "regexp_filter": null,
+ "formater_type": [
+ "FileFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 30
+ ],
+ "target": "base_finds__discovery_date",
+ "regexp_filter": null,
+ "formater_type": [
+ "DateFormater",
+ "%d/%m/%Y | %Y-%m-%d",
+ " | "
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 31
+ ],
+ "target": "mark",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 32
+ ],
+ "target": "base_finds__topographic_localisation",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "120",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 33
+ ],
+ "target": "comment",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 35
+ ],
+ "target": "container__responsible__external_id",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 17
+ ],
+ "target": "material_types",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.MaterialType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 34
+ ],
+ "target": "datings__period",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_operations.models.Period",
+ "&"
+ ],
+ "force_new": true,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 18
+ ],
+ "target": "object_types",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.ObjectType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": "",
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 7
+ ],
+ "target": "set_localisation_5",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 8
+ ],
+ "target": "set_localisation_6",
+ "regexp_filter": null,
+ "formater_type": [
+ "UnicodeFormater",
+ "200",
+ ""
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 23
+ ],
+ "target": "alterations",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.AlterationType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 24
+ ],
+ "target": "alteration_causes",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.AlterationCauseType",
+ "&"
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
+},
+{
+ "model": "ishtar_common.importtarget",
+ "fields": {
+ "column": [
+ "inventory_combo",
+ 26
+ ],
+ "target": "treatment_emergency",
+ "regexp_filter": null,
+ "formater_type": [
+ "TypeFormater",
+ "archaeological_finds.models.TreatmentEmergencyType",
+ null
+ ],
+ "force_new": false,
+ "concat": false,
+ "concat_str": null,
+ "comment": ""
+ }
}
]