{ "version": "1.0.0", "_comment": "Sprint 5 · ONAPI/Legal (roadmap L55 « Refactor oto_module_confotur_application.py -> depots automatiques »). Structure metier du DocType custom porteur `CONFOTUR Application` (incitation touristique Ley 158-01 / CONFOTUR, RD). ZERO chiffre OTO (#6) : ce fichier ne porte que des libelles, types de champ et drapeaux de mise en page. Le NOM du DocType, ses PERMISSIONS et son caractere soumissible sont DERIVES du contrat rbac_50_roles.json (roles referencant le doctype `CONFOTUR Application`) -> jamais reecrits en dur. Les options des champs `entite_porteuse` (Select), `dossier_vente` (Link) et `estado` (Select) sont DERIVEES via `options_source` (entites CLAUDE.md / document_type et etats confotur du workflow_vente) -> anti-derive. Aucun taux d'incitation, article de loi, montant ou reference d'autorite n'est encode ; ces valeurs restent `null` cote VPS (agent ONAPI, depuis data_room P05/P07).", "doctype": { "module": "OTOV7 CONFOTUR", "naming_series": "CONF-.YYYY.-", "title_field": "projet", "search_fields": "projet,dossier_vente,referencia_autoridad", "track_changes": 1, "track_seen": 1 }, "doctype_name_source": "rbac_50_roles.json#roles[].permissions_cibles[].doctype == 'CONFOTUR Application'", "entites": [ "WAF", "WA SRL", "AC Arias Cuevas", "Consortium ECR DR", "Helios RD", "Ploutos", "9060 QC" ], "entites_source": "CLAUDE.md #Entites (WAF holding · WA SRL · AC Arias Cuevas · Consortium ECR DR paymaster · Helios RD sous WAG · Ploutos · 9060 QC)", "field_groups": [ { "section": "Identification", "fields": [ {"fieldname": "projet", "fieldtype": "Link", "label": "Projet", "options": "Project", "reqd": 1, "in_list_view": 1, "in_standard_filter": 1}, {"fieldname": "dossier_vente", "fieldtype": "Link", "label": "Dossier de vente", "options_source": "workflow_document_type", "in_standard_filter": 1}, {"fieldname": "cliente", "fieldtype": "Link", "label": "Client", "options": "Customer"}, {"fieldname": "entite_porteuse", "fieldtype": "Select", "label": "Entite porteuse", "options_source": "entites", "reqd": 1, "in_standard_filter": 1} ] }, { "section": "Incitation CONFOTUR (Ley 158-01)", "fields": [ {"fieldname": "referencia_autoridad", "fieldtype": "Data", "label": "Reference dossier (autorite CONFOTUR)", "read_only": 1, "in_list_view": 1}, {"fieldname": "fecha_deposito", "fieldtype": "Date", "label": "Date de depot", "read_only": 1}, {"fieldname": "fecha_aprobacion", "fieldtype": "Date", "label": "Date d'approbation", "read_only": 1} ] }, { "section": "Pieces du dossier (suivi interne)", "fields": [ {"fieldname": "piece_titularidad", "fieldtype": "Check", "label": "Titre de propriete / titularite"}, {"fieldname": "piece_faisabilite", "fieldtype": "Check", "label": "Faisabilite 4 volets jointe"}, {"fieldname": "piece_identidad_cliente", "fieldtype": "Check", "label": "Pieces d'identite client"}, {"fieldname": "piece_descriptivo_proyecto", "fieldtype": "Check", "label": "Descriptif du projet touristique"} ] }, { "section": "Statut & suivi", "fields": [ {"fieldname": "estado", "fieldtype": "Select", "label": "Statut du depot", "options_source": "workflow_confotur_states", "in_list_view": 1, "in_standard_filter": 1}, {"fieldname": "notas", "fieldtype": "Small Text", "label": "Notes"} ] } ], "pieces_note": "Les cases `piece_*` sont un suivi interne NON normatif. La liste legale exacte des pieces d'un dossier CONFOTUR (Ley 158-01) est confirmee par l'agent ONAPI/Legal depuis data_room P05/P07 (#6) — aucune exigence legale n'est affirmee ici." }