{
  "generated_from": "doctype_spec.json",
  "workflow_source": "workflow_vente_spec.json",
  "rbac_source": "rbac_50_roles.json",
  "source_version": "1.0.0",
  "workflow_version": "1.0.0",
  "doctype_name": "OTO Dossier Vente",
  "custom": true,
  "is_submittable": true,
  "workflow_state_field": "workflow_state",
  "pipeline_value_field": "statut_pipeline",
  "counts": {
    "fields": 30,
    "data_fields": 23,
    "sections": 7,
    "permissions": 7,
    "pipeline_states": 9,
    "pipeline_values": 9
  },
  "module_a_confirmer": "OTO Ventes",
  "doctypes_lies_a_confirmer": [
    "Customer",
    "Lead",
    "User"
  ],
  "roles_rbac_utilises": [
    {
      "role_id": "direction-cco",
      "erpnext_role_name": "OTO Direction Commerciale",
      "permissions": [
        "amend",
        "cancel",
        "read"
      ]
    },
    {
      "role_id": "ventes-chef-equipe",
      "erpnext_role_name": "OTO Ventes Chef Équipe",
      "permissions": [
        "create",
        "read",
        "write"
      ]
    },
    {
      "role_id": "ventes-confotur",
      "erpnext_role_name": "OTO Ventes CONFOTUR",
      "permissions": [
        "read",
        "submit",
        "write"
      ]
    },
    {
      "role_id": "ventes-conseiller",
      "erpnext_role_name": "OTO Ventes Conseiller",
      "permissions": [
        "create",
        "read",
        "write"
      ]
    },
    {
      "role_id": "ventes-contrats",
      "erpnext_role_name": "OTO Ventes Contrats",
      "permissions": [
        "read",
        "submit",
        "write"
      ]
    },
    {
      "role_id": "ventes-directeur",
      "erpnext_role_name": "OTO Ventes Directeur",
      "permissions": [
        "amend",
        "cancel",
        "read",
        "write"
      ]
    },
    {
      "role_id": "ventes-reservations",
      "erpnext_role_name": "OTO Ventes Réservations",
      "permissions": [
        "read",
        "submit",
        "write"
      ]
    }
  ],
  "hand_off_vps": "Importer ce DocType (bench migrate / import-fixtures) AVANT le Workflow 'OTO Vente Pipeline' qui le cible (crm/workflow_vente/out/)."
}
