{
  "doctype": "DocType",
  "name": "CONFOTUR Application",
  "module": "OTOV7 CONFOTUR",
  "custom": 1,
  "is_submittable": 1,
  "naming_rule": "By \"Naming Series\" field",
  "autoname": "naming_series:",
  "title_field": "projet",
  "search_fields": "projet,dossier_vente,referencia_autoridad",
  "track_changes": 1,
  "track_seen": 1,
  "editable_grid": 1,
  "engine": "InnoDB",
  "field_order": [
    "naming_series",
    "sb_identification_0",
    "projet",
    "dossier_vente",
    "cliente",
    "entite_porteuse",
    "sb_incitation_confotur__ley_158_01_1",
    "referencia_autoridad",
    "fecha_deposito",
    "fecha_aprobacion",
    "sb_pieces_du_dossier__suivi_interne_2",
    "piece_titularidad",
    "piece_faisabilite",
    "piece_identidad_cliente",
    "piece_descriptivo_proyecto",
    "sb_statut___suivi_3",
    "estado",
    "notas"
  ],
  "fields": [
    {
      "fieldname": "naming_series",
      "fieldtype": "Select",
      "label": "Serie de nommage",
      "options": "CONF-.YYYY.-",
      "default": "CONF-.YYYY.-",
      "read_only": 1
    },
    {
      "fieldname": "sb_identification_0",
      "fieldtype": "Section Break",
      "label": "Identification"
    },
    {
      "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": "OTO Dossier Vente",
      "in_standard_filter": 1
    },
    {
      "fieldname": "cliente",
      "fieldtype": "Link",
      "label": "Client",
      "options": "Customer"
    },
    {
      "fieldname": "entite_porteuse",
      "fieldtype": "Select",
      "label": "Entite porteuse",
      "options": "WAF\nWA SRL\nAC Arias Cuevas\nConsortium ECR DR\nHelios RD\nPloutos\n9060 QC",
      "reqd": 1,
      "in_standard_filter": 1
    },
    {
      "fieldname": "sb_incitation_confotur__ley_158_01_1",
      "fieldtype": "Section Break",
      "label": "Incitation CONFOTUR (Ley 158-01)"
    },
    {
      "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
    },
    {
      "fieldname": "sb_pieces_du_dossier__suivi_interne_2",
      "fieldtype": "Section Break",
      "label": "Pieces du dossier (suivi interne)"
    },
    {
      "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"
    },
    {
      "fieldname": "sb_statut___suivi_3",
      "fieldtype": "Section Break",
      "label": "Statut & suivi"
    },
    {
      "fieldname": "estado",
      "fieldtype": "Select",
      "label": "Statut du depot",
      "options": "\nconfotur_depose\nconfotur_approuve",
      "in_list_view": 1,
      "in_standard_filter": 1
    },
    {
      "fieldname": "notas",
      "fieldtype": "Small Text",
      "label": "Notes"
    }
  ],
  "permissions": [
    {
      "role": "OTO Legal Directeur",
      "permlevel": 0,
      "read": 1,
      "write": 1,
      "submit": 1,
      "report": 1
    },
    {
      "role": "OTO Legal ONAPI",
      "permlevel": 0,
      "read": 1,
      "write": 1,
      "create": 1
    },
    {
      "role": "OTO Ventes CONFOTUR",
      "permlevel": 0,
      "read": 1,
      "write": 1,
      "create": 1,
      "print": 1
    }
  ]
}
