46. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1- ANALYSE ET CONCEPTION
1-1-Introduction :
)
;
` M
` D , ,
`
D
. ,
' ,
, )
'
, '
1-2-Le notaire au Maroc:
9 ? (
! ) + #
46
47. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-2-A-Rôles:
1-2-A-a- Rôle de conseil :
4 D ' E
; ' ' '
' )
) '
))
1-2-A-b- Rôle de sécurité et de prévention:
9 '
)
) )
) )
1-2-A-c- Rôle de conciliation et de médiation :
H ' ,
, )
H
D
'
2
47
48. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-3-Frais :
D
" ) ;H H D
B ;
` , ; J'%L
` ; TL'
0%JJ9 8 Q 4 IL
, ' ) 2
J'%L ,
R , ' '
)
9 ' J %L TL ,
'
1-4- Cabinet notaire:
,
;
` ;? )
F C
`4 ; ) ,' ) '
C
`" K
48
49. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-Modélisation UML:
1-5-A- Diagramme de cas d'utilisations :
Notaire Acquéreur
Vendeur
Certificats de vente
<<include>>
Compromis de vente
<<include>>
Reste du prix de vente
<<include>>
<<extend>>
Frais du compromis de vente
rencontre finale <<include>> Prix
Chèque
Crédit bancaire
<<include>> <<include>>
Payer le prix de l'hypothèque Contrat final
<<include>> <<include>>
<<include>> <<include>>
<<extend>>
Visite du bien
Hypothèque
<<extend>> Frais de conservation et enregistrement
Acceptation de crédit <<include>>
Main levée
Banque
49
50. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-B- Scénarios :
Compromis de vente
Système
Vendeur Acquereur Notaire
Vente du bien
Certificat de vente
Achat du bien
Frais du compromis de vente
Valider le compromis de vente
Crédit bancaire
Système
Acquéreur Banque
Demande du crédit d'achat d'un bien
Compromis de vente
Etude de dossier
Dossier en étude
50
51. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
Acceptation de crédit
Système
Banque Notaire Acquéreur
Dossier accepté
Valider le chèque
Chèque du prix de vente
Valider la vente
Hypothèque
Système
Vendeur Notaire
Bien en hypothèque
Frais de l'hypothèque
Frais à payer
Annuler l'hypothèque
Bien en "main levée"
51
52. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
Contrat final
Système
Notaire
Bien enregistré
Bien conservé
Bien prêt
Valider le contrat final
52
53. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-C- Dictionnaire des données:
Sigle Libelle Type Règle Contrainte
code Code char
name Conservation char
name Type acte char
name Pays char
pays_id Pays many2one
name Ville char
name Rayon char
description Les Garanties text
adresse Adresse société char
date_signature Date signature date
date_livraison Date livraison date
nameso Société constructrice char
name Code certificat char
titre2 Type dossier selection
titre3 Type projet selection
projetfils_ids Projets fils one2many
bien_ids Bien one2many
prix Prix de vente float required
manager Responsable du projet many2one
code Code projet mere char
certificat_acquereur_ids Certificats acquereur one2many
date1 Debut du projet date
rayon_id Rayon many2one
contrat_autre_ids Autres contrats one2many
state Etat selection
conservation_ids Conservation one2many
titre Type bien selection
parties_acquereur_ids Acquereur one2many
tache_autre_ids Autres taches one2many
hypotheque_ids hypotheque one2many
frais_vendeur_ids Frais vendeur one2many
certificat_reservation_id Attestation de reservation many2one
projet_id Projet many2one
contrat_compromi_vente_ids Depenses one2many
main_lever_ids Main lever one2many
frais_encaissesA_ids Frais encaisses one2many
name Numero dossier char required
enregistrement_ids Enregistrement one2many
banque_ids Banque one2many
text_banque Notes text
certificat_vendeur_ids Certificats vendeur one2many
frais_acquereur_ids Frais acquereur one2many
contrat_finale_ids Contrat final one2many
parties_vendeur_ids Vendeurs one2many
frais_encaissesV_ids Frais encaisses one2many
code Code bien char
53
54. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
code Code bien char
etage Etage char
millieme Millieme _indivise_ char
ville_id Ville many2one
type_acte_id Type acte many2one
lieu_conservation_id Conservation many2one
adresse Adresse char
unite Unite selection
name Designation char
titre_foncier Titre foncier par solaire char
dernier_dossier Dernier dossier char
lot Lot char
fraction Fraction _divise_ char
superficie superficie char
acquis_le Acquis le date
enregistre_le Enregistre le date
titre_mere Titre mere foncier char
projet_id Projet many2one
description Description char
situation_fam Situation familiale selection
ville Ville many2one
quote_part_den Sur integer
tel Tel char required
name Nom & prenom char nom+prénom
lieu_naissance Lieu de naissance many2one
adresse Adresse char
nom_pere Nom du pere char
profession Profession char
nom_conjoint Nom conj char
titre Titre selection
cin CIN char
fax Fax char
titre Titre selection Mr/Mme/Mlle
projet_id Projet many2one
ben Lien char readonly
quote_part_num Quote part integer
date_naissance Date de naissance date
email Email char
situation_fam Situation familiale selection célibataire …
nationalite Nationalite char
titre3 Type dossier selection
tache_statuts_ids Depot des Statuts one2many
manager Responsable du projet many2one
frais_entreprise_ids Frais entreprise one2many
certificat_status_ids Statuts de la societe one2many
ville_id Ville d"investissement many2one
date1 Debut du projet date
rayon_id Rayon many2one
date2 Fin du projet date
54
55. certificat_negative_ids Certificat negative one2many
state Etat selection ouvert/valide
tache_autreS_ids Autre tache one2many
frais_encaissesS_ids Frais encaisses one2many
titre Type societe selection sa/sarl/…
tache_Patentes_ids Inscript. au role des pat one2many
depensesS_ids Depenses one2many
derecteur_id Responsable Entreprise many2one
description Description text
certificat_assemble_ids Assemblee Generale PV one2many
description3 Domiciliation text
certificat_autre_ids Certificat negative one2many
certificat_souscription_ids
Acte de declar de one2many
souscrip et de versement
name Numero dossier char required
Journal_ids Annonce Journal one2many
enregistrementS_ids Enreg du capital et des one2many
statuts
tache_Immatriculation_ids Immatriculation au one2many
Registre de Commerce
certificat_Bulletins_ids Bulletins de souscription one2many
situation_fam Situation familiale selection célibataire …
ville Ville many2one
quote_part_den sur integer
tel Tel char required
name Nom & prenom char nom+prénom
lieu_naissance Lieu de naissance many2one
date_sign Date signature contrat date
nom_pere Nom du pere char
profession Profession char
cin CIN char
agit_sur_son_propre_compte Agit sur compte char
nom_conjoint Nom conj char
fax Fax char
titre Titre selection Mr/Mme/Mlle
projet_id Projet many2one
adresse Adresse char
ben Lien char readonly
quote_part_num Quote part integer
date_naissance Date de naissance date
email Email char
nationalite Nationalite char
type_hypotheque En hypotheque avec selection banque/autre
description Description text
name2 Montant float
name Code hypotheque char
projet_id Projet many2one
hypotheque_id Code hypotheque many2one
date_main_lever Date main lever date
description Description text
name N° de volume d"inscript. char
date_fin Date fin compro de vente date
name Numero char
date_signature Date signature date
code Numero char
56. name Type contrat char
name Type frais char
montant Montant float
adresse Adresse agence char
code Code agence char
ville_id Ville agence many2one
name Agence char required
description Note text
name Nom banque char
agence_banque_id Agence many2one
date1 Date envoi date
Province Province ou prefecture char
date2 Date realisation date
name Numero consevation char
name Numero enregistrement char
num Numero tache char
name Nom tache char
name Documents text
name Document text
date Date date
projet_societe_id Projet many2one
name2 Nom societe char
name Code char
gerents_id Responsable enreprise many2one
parties_associer_ids Parties associer one2many
montant Montant du capital float
nature Nature des apports char
description1 Prestation de la forme text
juridique
montant Apport engage float
actionnaire_id Actionnaire many2one
date Blocage du Capital libere date
certificat_BanqueS_id Attestation de blocage many2one
certificat_Bulletins_id Bulletins de souscription many2one
name Type ceryificat char
date1 Date Depot date
parties_associer_ids Representants legaux de one2many
la societe
name Numero tache char
date1 Date annonce Journal date
name Nom Journal char
description Annonce text
name Numero enregistrement char
du capital et des statuts
name Numero Inscription au char
Role des Patentes
description Demande d"inscription text
certificat_negative_id Certificat negatif many2one
certificat_assemble_id PV des assemblees many2one
certificat_status_id Statuts many2one
certificat_souscription_id Certificat souscription many2one
tache_Patentes_id Certificat d"inscription many2one
au role des patentes
parties_associer1_id Projet many2one
57. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-D-Diagramme de classes :
Diagramme de classes
Notaire
Acquereur
Vendeur + Nom : String
+ Nom&Prenom : String
+ Nom&Prenom : String 1..* 1..1 - Ouvrir () : void 1..1 1..* + CIN : String
+ CIN : String - Etudier () : Boolean - SituationFam : String
- SituationFam : String Vente du bien + PayerPrix () : void Achat du bien # Adresse : String
# Adresse : String + Enregistrer () : void # Tel : String
# Tel : String + Conserver () : void
- Annuler () : void
0..*
* - Valider () : void
* 0..* 1..1 Crédit
1..*
1..1 Prix
0..1
Compromis de vente + Type : String
Banque
+ Montant : Float
- DateFin : Date
- Description : String + Code : String
1..1 *
+ Agence : String
* * - Note : String
*
Certificats 1..* *
1..1
+ Description : String
Contrat final
Amener
+ N° : int
Désignation du
bien 1..1 + DateSignature : Date
* - Description : String
Contrats
1..1
+ N° : int
1..1 + DateSignature : Date
+ Description : String
Bien
+ Code : String *
* + Désignation : String
- Lot : String Autres contrats
- Titre : String - TypeContrat : String
+ Adresse : String
- MilliemeIndivise : String
Hypothèque - FractionDivise : String
* *
+ Conservation : String
+ Code : String + DateAcquisition : Date Projet notaire Conservation
+ Montant : Float
+ DateEnregistrement : Date + Code : String
- Hypothèque avec : String
- TypeActe : String + Type : String
- Description : String - Etage : int
- Superficie : Float
- Unité : String *
*
Tâches
+ N° : int *
Autres tâches + Province : String
Enregistrement
+ Nom : String + DateEnvoi : Date
+ DateRéalisation : Date
+ Note : String
57
58. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-E-Diagrammes de séquences :
Amener
IHM Amener Vendeur Certificats
Consulter
Consulter
Créer ( vendeur, certificats, frais-hypothèque)
if hypothèque Amener
Créer ( vendeur, certificats)
else Amener
end if
Confirmation
59. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
Compromis de vente
IHM Compromis Acquéreur Bien Amener
Saisir (acquéreur)
Saisir (bien)
Consulter
vendeur & certificats
Créer ( vendeur, acquéreur, bien, frais) Compromis de
vente
Validation
60. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
Hypothèque
IHM Hypothèque Bien Banque Amener
Consulter
Consulter
Consulter
vendeur & frais de l'hypothèque
Créer ( vendeur, banque, bien, frais de l'hypothèque)
Hypothèque
Confirmation Main lev ée
61. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
Contrat final
IHM Contrat final Compromis de vente Conservation Enregistrement
Consulter
vendeur, acquéreur, bien ...
Consulter
N° de conservation
Consulter
N° d'enregistrement
Créer ( vendeur, bien, acquéreur, ...)
Contrat final
Confirmation
62. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-F-Diagramme d'états-transitions :
Diagramme d'état-transition : Bien
vérification
du bien
Bien certifié [Hypothèque]
Bien hypothèqué
Etude du bien /
Etudier()
Ouv erture /
Ouv rir() vérification du bien
vérification Main lev ée /
[libre]
du bien PayerPrix()
Bien libre
Bien en vente
Bien propre
Etude du bien /
Etudier()
Enregistrement / /
Enregistrement
Enregistrement / Enregistrer()
Enregistrer()
Bien non certifié Enregistrer()
Bien enregistré
Fermeture du dossier / /
Fermeture du dossier
Annuler()
Annuler()
Conserv ation
/ Conserv er()
Bien aquis
Livraison du
Fermeture du dossier / bien Bien conservé
Valider()
63. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-G-Diagramme d'activités:
Notaire Acquéreur Vendeur
Proposer un bien
Rencontre Amener les certificats du bien
achter un bien
Amener les frais du compromis +docs
Ouvrir un projet
Prix de vente
Etablir le compromis de vente
Sans banque Banque
Tâches Prix Prix + docs banque
Récuperer le reste du prix de vente
Contrat final Récuperer le bien
Fermer le projet
64. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
2-Réalisation :
8 ("? )
4 < TJJL ' ) ,
8 ("? )
O ' ) !=
Q # ,
: ' : : M
) D , , ' : '
: ' : '
, ( ;
65. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
9 ;
B: )
. ' F
9 ' ) :
) . 8 ("?
) : ;
( & ) ;- ' ' ' @( 2 '
B '8 '5
78. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
9 ;
'
'
,
B ' E
D : '
D : ' :
9 ) ! ' ' #
) (
80
79. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
9 ) ' -"78 4 (
( !$4#
0IMTJM0JJ0 B
0IMTJM
459?4@ 4- 4 /4
:
2 .4 ' 'C '
)
' ' : ) Q#
! Q#' '
2'
O ' : ) ' D '
' : )
H ' :
H
( I ) ;- 'B T' B 0' 8O T' 8O
0' '9
PPP = ) - ; PPP
B: ) .
"
- ;- ) .
( 2
? ; B: : ( 2 )
8( ; ( % ( ; ' ' '
'
8( ;B , (
, ; Z $4 [ Z $4? [ Z $B4 [ Z $B$ [
? " ; :
? ( ;B , : a
9 ;B . ( 2
: :
Q : ; a :
9
" ;B : ;
81
80. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
PPP = ) B ; PPP
) : ) T N (
; T 9 ) : ' 0
$ :
: :4 )
Q#
! Q#
Certificat
Dénomination
Statut PV
82
81. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
PPP = ) B ; PPP
) : ) 0 N ( ;
T 5 ) : ' 0
9 !4 )'
B 5 #
9
5 4 C
83
82. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
PPP = ) 8O ; PPP
B ) O )
" ' ) ' D
Dépôt de statut
Enregistrer
le capital et
le statut
Patente
84
83. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
PPP = ) 8O ; PPP
4 2 O T' 0 2 O
O . : :
) " O
)
85
84. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
PPP = ) ;PPP
N ; '
B (
86
86. DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1O : ' ) 9
", ;
-5;
H : '
) ) H
88
88. CONCLUSION
4 ! $ #'
: 8 ("? '
" ' ) 2
: '
: , , E
'
B ) E 2 .=
9 a 2
' E , :
, )
;
)
,
" ;H : 2
H
90
90. BIBLIOGRAPHIE
Harold, Elliote Rusty, 2000. Apprendre à programmer avec
XML. Le guide de l'utilisateur. Python
Eyrolles. De Gérard Swinnen
Gestion de projet de V. Giard Management de projet, principes
Edition Economica - 1991 et pratique Afnor - 1998
Tiny ERP, Open ERP PostgreSQL - Administration et
De Fabien Pinckaers et Geoff exploitation d’une base de données
Gardiner - Eyrolles De Sébastien Lardière -
UML 2 par la pratique
De Pascal Roques - Eyrolles
………
93