35a20247f8
DocType custom porteur des dossiers d'incitation touristique CONFOTUR (Ley 158-01, RD), référencé par RBAC (3 rôles) et le workflow vente mais jamais généré. Permissions = permissions_cibles RBAC mot pour mot ; is_submittable déduit de l'action submit ; estado/dossier_vente dérivés du workflow ; aucun taux/loi/montant fabriqué (#6). 14 invariants, 44 tests, hand-off dans out/. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"generated_from": "confotur_spec.json",
|
|
"rbac_source": "rbac_50_roles.json",
|
|
"workflow_source": "crm/workflow_vente/workflow_vente_spec.json",
|
|
"source_version": "1.0.0",
|
|
"rbac_version": "1.0.0",
|
|
"workflow_version": "1.0.0",
|
|
"doctype_name": "CONFOTUR Application",
|
|
"custom": true,
|
|
"is_submittable": true,
|
|
"counts": {
|
|
"fields": 18,
|
|
"data_fields": 14,
|
|
"sections": 4,
|
|
"permissions": 3,
|
|
"roles": 3,
|
|
"depot_events": 2
|
|
},
|
|
"module_a_confirmer": "OTOV7 CONFOTUR",
|
|
"doctypes_lies_a_confirmer": [
|
|
"Customer",
|
|
"OTO Dossier Vente",
|
|
"Project"
|
|
],
|
|
"roles_rbac_utilises": [
|
|
{
|
|
"role_id": "legal-directeur",
|
|
"erpnext_role_name": "OTO Legal Directeur",
|
|
"portail": "direction",
|
|
"permissions": [
|
|
"read",
|
|
"report",
|
|
"submit",
|
|
"write"
|
|
],
|
|
"custom": true
|
|
},
|
|
{
|
|
"role_id": "legal-onapi",
|
|
"erpnext_role_name": "OTO Legal ONAPI",
|
|
"portail": "direction",
|
|
"permissions": [
|
|
"create",
|
|
"read",
|
|
"write"
|
|
],
|
|
"custom": true
|
|
},
|
|
{
|
|
"role_id": "ventes-confotur",
|
|
"erpnext_role_name": "OTO Ventes CONFOTUR",
|
|
"portail": "ventes",
|
|
"permissions": [
|
|
"create",
|
|
"print",
|
|
"read",
|
|
"write"
|
|
],
|
|
"custom": true
|
|
}
|
|
],
|
|
"depot_events": [
|
|
{
|
|
"action": "Approuver CONFOTUR",
|
|
"next_state": "CONFOTUR approuvé",
|
|
"update_value": "confotur_approuve",
|
|
"role_id": "ventes-confotur",
|
|
"erpnext_role_name": "OTO Ventes CONFOTUR",
|
|
"portail": "ventes"
|
|
},
|
|
{
|
|
"action": "Déposer CONFOTUR",
|
|
"next_state": "CONFOTUR déposé",
|
|
"update_value": "confotur_depose",
|
|
"role_id": "ventes-confotur",
|
|
"erpnext_role_name": "OTO Ventes CONFOTUR",
|
|
"portail": "ventes"
|
|
}
|
|
],
|
|
"note_anti_invention": "Aucun taux d'incitation, article de loi, montant ni reference d'autorite CONFOTUR n'est encode (#6). Ces valeurs restent vides jusqu'a confirmation de l'agent ONAPI/Legal depuis data_room P05/P07.",
|
|
"hand_off_vps": "Creer le module Frappe 'OTOV7 CONFOTUR' puis importer ce DocType (bench migrate / import-fixtures) AVANT de cabler les evenements de depot du Workflow 'OTO Vente Pipeline' (crm/workflow_vente/out/)."
|
|
}
|