gestion de notariat avec openerp
-
Upload
nextma -
Category
Technology
-
view
1.829 -
download
5
Embed Size (px)
description
Transcript of gestion de notariat avec openerp

2008-2009
�������������������� ������������� ������������� ������������� ���
����������������� � ����������� � ����������� � ����������� � ������
���������������������� ��������������� ��������������� ��������������� �����
��������� ��� ������������������������������������


��������� ��� � � � � �� ��� � � � � �� ��� � � � � �� ��� � � � � � ������������
� �� ��� �� ��� �� ��� �� ������
� � � � � � �� � ��� � � � � � � �� � ��� � � � � � � �� � ��� � � � � � � �� � �������
��������
� �� � � � �� � �� �� � � � �� � �� �� � � � �� � �� �� � � � �� � �����
���� �������� �������� �������� ��������
UNIVERSITE HASSAN II FACULTE DES SCIENCES BEN M'SIK
-CASABLANCA-
«…L'imagination est plus importante que la connaissance…»


SOMMAIRE
PREFACE ……………………………………………………………………………………………………..…7
REMERCIEMENTS …………………………………………………………………………….………….…..9
INTRODUCTION …………………………………………………………………………………….……….11
PREMIÈRE PARTIE: ETUDE TECHNIQUE ………………………………………………………...………………………………13
1. LES ERP ………………………………………………………………………………………….………….15 1-1-C'est quoi un ERP? ....................................................................................................................................15 1-1-A- Définition …………………………………………………………………………………………...15 1-1-B- Pour qui? Pourquoi? .......................... .......................... .......................... ........................................16 1-1-C- Architecture technique .......................... .......................... .......................... ....................................17
2. OpenERP (TinyERP) .......................... .......................... .......................... .......................... ..........................18 2-1-Qu'est ce qu'un OpenERP? .......................... .......................... .......................... ........................................18 2-2- NEXTMA & TinyERP.......................... .......................... .......................... ..............................................20 3. UML .......................... .......................... .......................... .......................... .......................... .............................21 3-1-Présentation .......................... .......................... .......................... .......................... .......................................21 3-2- Description .......................... .......................... .......................... .......................... .......................................22 4. POWER AMC .......................... .......................... .......................... .......................... .......................................24 4-1-Présentation & Interface .......................... .......................... .......................... ............................................24 4-1-A- Diagramme de cas d’utilisation .......................... .......................... .......................... ........................25 4-1-B- Diagramme de classe .......................... .......................... .......................... ..........................................26 4-1-C- Diagramme d’objet .......................... .......................... .......................... .............................................27 4-1-D- Diagramme de collaboration .......................... .......................... .......................... .............................28 4-1-E- Diagramme d’états-transitions .......................... .......................... .......................... ..........................29 4-1-F- Diagramme d’activités .......................... .......................... .......................... .......................................30 5. POSTGRESQL .......................... .......................... .......................... .......................... .....................................31 5-1- Caractéristiques .......................... .......................... .......................... .......................... .............................31
5

CONCLUSION .......................... .......................... .......................... .......................... ................................90
1. ANALYSE ET CONCEPTION .......................... .......................... .......................... .................................46 1-1-Introduction .......................... .......................... .......................... .......................... .................................46 1-2-Le notaire au Maroc .......................... .......................... .......................... ..............................................46 1-2-A-Rôles .......................... .......................... .......................... .......................... ....................................47 1-2-A-a-Rôle de conseil .......................... .......................... .......................... .......................................47 1-2-A-b-Rôle de sécurité et de prévention .......................... .......................... ...................................47 1-2-A-c-Rôle de conciliation et de médiation .......................... .......................... ..............................47 1-3-Frais .......................... .......................... .......................... .......................... ..............................................48 1-4-Cabinet notaire .......................... .......................... .......................... .......................... ............................48 1-5- Modélisation UML .......................... .......................... .......................... ...............................................49 1-5-A-Diagramme de cas d'utilisation .......................... .......................... .............................................49 1-5-B-Scénarios .......................... .......................... .......................... .......................... .............................50 1-5-C-Dictionnaire de données .......................... .......................... .......................... ..............................53 1-5-D-Diagramme de classes .......................... .......................... .......................... .................................57 1-5-E-Diagrammes de séquences .......................... .......................... .......................... ..........................58 1-5-F-Diagramme d'états-transitions .......................... .......................... ...............................................62 1-5-G-Diagramme d'activités ........................... .......................... .......................... ................................63
6. PYTHON .......................... .......................... .......................... .......................... ...............................................34 6-1-Présentation .......................... .......................... .......................... .......................... ......................................34 6-1-A- Historique .......................... .......................... .......................... .......................... .................................34 6-1-B- Caractéristiques .......................... .......................... .......................... .......................... ........................34 6-1-C- Le typage .......................... .......................... .......................... .......................... ..................................34 6-1-D- Les types de base .......................... .......................... .......................... ...............................................34 6-1-E- Programmation objet .......................... .......................... .......................... .........................................35 6-1-F- Modules .......................... .......................... .......................... .......................... .....................................35 6-1-G- Fonctions .......................... .......................... .......................... .......................... ..................................35 7. XML .......................... .......................... .......................... .......................... .......................... ............................36 7-1- Définition .......................... .......................... .......................... .......................... ..........................................36 7-2- Mise en page de XML .......................... .......................... .......................... ...............................................36 7-3- Structure des documents XML .......................... .......................... .......................... ................................37 7-4-Les avantages de XML .......................... .......................... .......................... ...............................................37 8. DIA .......................... .......................... .......................... .......................... .......................... ..............................38 9. RAD .......................... .......................... .......................... .......................... .......................... .............................41 10. NOTEPAD++ .......................... .......................... .......................... .......................... .....................................43
2. RÉALISATIONS .......................... .......................... .......................... .......................... ..............................64
BIBLIOGRAPHIE .......................... .......................... .......................... .......................... ...........................93
WEBOGRAPHIE .......................... .......................... .......................... .......................... ............................94
ABREVIATIONS & SIGLES .......................... .......................... .......................... ..................................96
6
DEUXIEME PARTIE: CAHIER DES CHARGES & REALISATION .......................... .......................... ...........................................44

P R E FAC E
�������������������� ����������������������������������������������� ������ �� ��������� �� ������ ������ �� ��� �� ������ �� �������� ���
������������������������������������������������������������
��� ������� �� ���� � ���� !��"#� ���� ��� ������ ��� ��� ��� ���������� ��������������������������������������������������������������������
$��������������������������� �����������%����&������������ �������������� ���������������������� ���������������������'���
����������(����������)��� �������� ��������������������������������*�'���� ������� ��� �������� ��� �����)�������� ��+��� ��� ��������� ������ ��,� ������������������������������������������������������������ ���������
�-��������������)��� ������������������.�������/0�1��� �/0�1��� �/0�1��� �/0�1��� ����� �������
���� ������ �� �������� ��� ���2��� ��� )������� �������������)��������-���-���-���-����34343434������������������������5�������6������������������������� ���� �� ���������� ��� ���������'� �� ��)������� �� ������� ��� �� ��������� ����������������������������������
4� ��� �����'�-����� ������ ��������)����� ��� �� ���)�������������������������� �����-"78�4-"78�4-"78�4-"78�4���
Le
7


REMERCIEMENTS
44444444����� �� ���������� �� ������������ �� ������ �� ���� �� �����'� ������������ 9���� ���� ����� �� �������'� �� ����� ��� �� ������ ��:�� ����� �� ������������������������������������
4������� ��� ������ �� ������ ���������� ��� ������ �� �������� ������������������ ��� �������2������,� � ����������� ������������ ���������5�������6�;�����
���������������������������������-�34���������������������������4<=>4<�-�34���������������������������4<=>4<�-�34���������������������������4<=>4<�-�34���������������������������4<=>4<�������������������������4?<4/��������������������@4-=>-"��������������������4?<4/��������������������@4-=>-"��������������������4?<4/��������������������@4-=>-"��������������������4?<4/��������������������@4-=>-"����������������������-4��?��������������������������������������-4��?��������������������������������������-4��?��������������������������������������-4��?�������������������������5"-455=>�����5"-455=>�����5"-455=>�����5"-455=>���������������������8?41@4�����������������������84��44�����������������8?41@4�����������������������84��44�����������������8?41@4�����������������������84��44�����������������8?41@4�����������������������84��44�������������������������������������5"�4-1=>?���������������������������������5"�4-1=>?���������������������������������5"�4-1=>?���������������������������������5"�4-1=>? =����������������������������������,� ������'� �����������������������
)���������������=�� ��������� ������ ������� �� ���)�� �� -"78�4-"78�4-"78�4-"78�4'� ���4��������4��������4��������4�����������������
"�/4���"�/4���"�/4���"�/4�������!�����������������������-�,���#!�����������������������-�,���#!�����������������������-�,���#!�����������������������-�,���#� �������)��������������������� ������,�������'�������)����������� ������'���������)����������������������������� �� ��������������������������������������������������������������������������������
��������"����'������������� ��������������� ��������,���������������������
����������������������������������
9

REMERCIEMENTS

INTRODUCTION
��������������)��������������������������������:���� �������������'���������'���������������������������������������������������������������������������� ���������������'� �������2����������������:��������'������ ����,�� �'�����������������������������������������A��A��A��A������8�����8�����8�����8������������������������������(��2���(��2���(��2���(��2������:�, ��������:�, ��������:�, ��������:�, ������������ ����,�����,�����,�����,�� 4����'� �� ����������� ����� ������ ��� )������������� �����������������)���������������(��2����:�����������������������������������������������"�������������'����������������������������)������������������������������������� ��,� �)������ �� ���������'� ��� ���������'� ��� �1��1��1��1�� !���)������ ��1����������)���#��"�������'����"?�"?�"?�"?�����!"���� �����?��������������)#�������;�8��("?�8��("?�8��("?�8��("?�'�B�� ����B�� ����B�� ����B�� ����� ��� ������������������������� ��������� ���������� �� ���������� ��� � ��������� �� ������������������$4�$4�$4�$4�'�=?4B�"'=?4B�"'=?4B�"'=?4B�"'����544-544-544-544-'����C�B� �����'�����( ��:� �����������������D��������)��������������������� ��������������������������������������������������������-"78�4-"78�4-"78�4-"78�4������� ������� ����������8888��(��(��(��("?�"?�"?�"?�������)�����;�������������� ��������������� �����)���� ����� �������� 8888��(��(��(��('� )������� ���� �������� �� ������� ��� ����� �������������������������� ���)���������������� ��������������)�������-"78�4� �� �� ��� 8888��(��(��(��("?�"?�"?�"?�� ���� E���� ��� ������ ��,� ������� ��� ���������������������������4����������������)�'������������������������������ �������������������������8��("?�8��("?�8��("?�8��("?�'� �� ������ ��� ����� �� )������� ���� �������� -������� ��� �� ����)���� ����������,����� �����������8��("?�8��("?�8��("?�8��("?���
11




PREMIÈRE PARTIE: ETUDE TECHNIQUE
1- LES ERP
1-1- C'est quoi un ERP?
1-1-A- Définition
��������������"?�"?�"?�"?��!�����)����"���� �����?��������������)#'�������� �������)�����������)�����������)�����������)��������1�����������)����!�11�����������)����!�11�����������)����!�11�����������)����!�1�#'�#'�#'�#'���������� ����������������������������������������������� ���������� ����� ����� ����� !���������� ����� ���������� ����� ���� �� ��������'��� ���������������������������F������������������6����)'������������������'� ��)�����������������������������'�����#�������������E����(��2������������������������������������������������������ ���)������ �� 1������� ����)������� ���)������ �� 1������� ����)������� ���)������ �� 1������� ����)������� ���)������ �� 1������� ����)���� �� ������ )����������� ��� ������ ��1��� A���1��� A���1��� A���1��� A���� ��� �� G ��6��AG��6��AG��6��AG��6��A� ����� ��������� �� �������������� ��� �� ����������� ��������������������������������������������������� �������������������������H"?�"?�"?�"?�H� ��������������������������?��?��?��?��!������������)�?��������������)#� �������� � ���� ��� ������� IJ� ���� �� )������� ��� �� ������������ �� �� ��������������������������������� ������ ��� �� �)����'� ��� "?�"?�"?�"?�� ���� ��� ��������� ������ �������� ��������)������� ������ ���� ����� �)����� ��� ����� ����� ��)���������� ��� ����� ����������� ��������'� ��� ���� ��� ��*��� �� �������� ���)���������9������� ���� �������� ��� �������� ������ ����� �����K��� ��� ������������� �� ��������� ��� ��������� �� ������������)����� ������ ��� �� �(���� 4����'� ��� �����2��� ���� �� ��*�� �� ������ �)������� ����������������0JL�����*����������������� ������������(��2����
15

1-1-B- Pour qui? Pourquoi? A-Pour qui? ������������ "?�� ����� ����� ������� �������� ��,� )������ ����� ������ ������������������ �� ����� ���� ��*�� �� �������B�������� �������� ���+������� ���"?�"?�"?�"?������������� ��������( ���������������"����'����,��������"?�"?�"?�"?��� �����������������������������������'� ����������(��� �������*�����������!��������)�������#����"����������'������������������������������*�������������������'�������������������������������������������������������B-Pourquoi?���������B����2������'����������)��������������� ��������"?�"?�"?�"?������������������;�����������������)����� ��� ����������� $�$�$�$�'� ������ ������ ������"?�"?�"?�"?�� ���������� �)����� ������� ��)���������������� �������� ����������������'� ��� �������������������������H�)����H�� B���� ��� ������� ��� ������� ����� ���� �,������ �������� ������ �� �������H �(������H� ����� �������� ��� ������� �� �E��� ����������� 5���'� ��� "?�"?�"?�"?�� ������������������������������������������������������$�$�$�$���������� ����������������������� ���������������� ���������������������2�����������'�������������� �������)������.�>��������)���� ������'���������������������������������������������������������������� ��������� �� �)��������������������������������>��"?��"?��"?��"?��������������������)���������������'������������� ������������������'���� ������������,����������������������������������������������������'� ��(������(���������������������������������� ����������� ��� ��������� �� )�������� 9�� �E��'� �� ������������ ����������� ������� ���������������������������������������� ������������������ ��� �������������������������� �� ������ ������ !B������� )���� ���������� ����� ��� ��� ���������� �������������� ��������;� ������������ �����������������'� ��������� ��� �2)��� ��)������'�����#����������>��"?�"?�"?�"?�� ����������K�������������6�!��������� ������� ������ � ������������ �����'� ���� ��� ����6�� ��*����� �����#'� ���� ����������'� ��� "?�"?�"?�"?�� )2����� ��� ���������������)�� �������� �������! ��������,����������� ������ ����,�� �#'� �������� ������'� �������� ��)���� ���� ��� ������������ ��� ��� ������'� ���������)��������'� ���������,�������(���������������������������������������������� ��� ��������� ��� ����� �������� �������;� ��� �������� ��)�������������!�� ��)�����������)������������������ ���������������������#'���������������������� ������� !��� ������� ���������� ����������#'� ��� �������� ������������ !������������������� ��� �� ��)����� ��� �� ���� ��,� ���������� ��������#'� ��� ������������������'� ��� �������� ������������ ������ �������� ��� ������ ����� ��� ������ ���������������������������������������������������
16

PREMIÈRE PARTIE: ETUDE TECHNIQUE
1-1-C- Architecture technique
�������B���������� �� � �������� ���� "?�"?�"?�"?�'� �������� ���� �� � ���� �� ��� �������M����������������������������������������;��
������������"?�"?�"?�"?��������������������������������������"?��"?��"?��"?���������� ����������������������� =?4B�"=?4B�"=?4B�"=?4B�"�� 9�� ��'� ��� "?�"?�"?�"?�� ����� ��� ������� ����� ��� ��6�� =�����=�����=�����=�����'� ��� ���������� ���� ��A�� ������A�� ������A�� ������A�� ����� ��� ",��",��",��",���� "�� �����'� �� ������� ������ ����� ���� ���������������������,��"?�"?�"?�"?���������������������� ����������������� ����������������� �� ����M�, ����� �� �������� "����'� ��� "?�"?�"?�"?�� ����� ������ ��� ������� ����� ��������� �� �� �����)� !B�(���?� ���B�(���?� ���B�(���?� ���B�(���?� ���� ��� )�����#�� ��� �� �����)� ������ ������� ��� ���������� �������������)����������������������
17

18
2- OpenERP (TinyERP)
2-1-Qu'est ce qu'un OpenERP? ��������= ��"?��������� ��)�������)������������)�����)���������!= ���$�����#�������)�������� ���������������������������� ���������������������������������������;������������'���������'� ���������������������'���B�������'���)���'����C��$������������������ ������������������0���NJJ��� �(�����$��)�������,����������������� �������)�O������������������������� ����������������������������������������������� ����,�)�������� ��,�:� ���������(����������� 5������������ ������������ ���������)����� ����)���������� 2��������=��������� ���� 4�����������������M�����������A����� ���)�)�� (����'������ ���)������� ����,'�G ���A��7�'�0JJJ'�����=$�7��

PREMIÈRE PARTIE : ETUDE TECHNIQUE
19
9��������� ��������������������P���������������� ���������������������� ���������������������� ���������������������� ��������;�������� �����)�����'����(�����������,������'��������������'��������������'���)��'����(�����'��������,�������������'�8Q4'������P�1�����������������1�����������������1�����������������1������������������;�B?�'�)���������� ��� ����'�)������������������'�����������������������������'������������������'�)����������� ���'������P��������������������������������������;�1�4='��?�'��?����'�������������'�)�����'����+������'�)��������������6�'����������������'�)������������������M���������M� ����������'������P�4����M�����4����M�����4����M�����4����M������;�9����'���������'���������'��������������������������������'��������� ��,'��������������� ������������������'���� ��������������'������P�1��������� ������1��������� ������1��������� ������1��������� �������;�$���� ������������������,'�)��������������������'���)��������1����'������������'������D�������*��'������P�������������� �������������� �������������� �������������� ����������;�>��������������������� ���������� ���������������������������������2���������;��������������5�������'�"9�'����������������������������'������ �

20
2-2- NEXTMA & TinyERP �������-"78�4����� ���8��("?��8��("?��8��("?��8��("?�� ����E������� ��������,����������� ��������������������8���������'���� ����������;���������������������������������������������������P�4����������������'�������������������������P�B�� ��������)������'����(�����������)��������Q�����Q�����Q�����Q������P�4�������������������������P��������'������������������������� ��,��P�"���� D������$���6���P����������'������������������ �����)��P�8��+��������P������������������� �����P����������P�?��������������P����6����)��P�?��������������������P�?���E������������'�������:����������������� �������������� �������������� �������������� ��������P�����������������P�Q��������������������P�4������������P�R�������$=SJJT�P�"9���P�B���������������������������������������������������������������������������������������������P�B����)������������������������������� ������������������� ������������������� ������������������� �����������P�����������������������P�9������� ���� ������P�4���������P�9���� �������������������U$B?>�V��P�-���������P�B������������ ���������P�4)����������(�)���P�1��������������������������������"�����

PREMIÈRE PARTIE: ETUDE TECHNIQUE
3- UML
3-1- Présentation ����������������������������>��>��>��>���!>�����������)����)��)�#��������������������������������������������'����� �������� ��������� �� �������������� ���:=�1=�1=�1=�1����!=����������)������1��� #�������������������������������������� ��������������������� �����������������������:����:���������������"���������������� ��������������������������������=�8=�8=�8=�8����!=�����������)8��������#�����==$"==$"==$"==$"����!=������=�������$���A����"�)�������)#����5����5����5����5����������������� ����� ��,����������������������>��>��>��>��������1��(�5����'������W�����������W���?�����)����������>��>��>��>��������������������������������� ������������)�� �������������>�������� ������������������'�:�, ���������������������:�����,����, ��������������������������������������'� ������:���������������)��������:���)��:������ ������������)�� ���������������� �������,������������������ �������������,�������
B���������*���8��("?��XB���������*���8��("?��XB���������*���8��("?��XB���������*���8��("?��X��������Q������� �(�F����� ����������������������� ���������� �������������� �������*����������� ��� ������������������� ���������
21

3-2- Description
���������������( �������)�������>���� Q�����������������(��2���;���
� 9��9��9��9��)�����)�����)�����)������������������������������������������������������������������������������������������B:��������(������������������>��>��>��>������������ ���������������,������(��2���!4 �����������)�������������,��#����������:��������������������������(��2�������������������������������������������� 9��)�����9��)�����9��)�����9��)���������������������������������������������B���( ������)������>��>��>��>��������������������!������������������������������� ���������#������������������������������
��� 9��)�9��)�9��)�9��)�����������������������������������������������������������������9������������:���������������������������������������������������� 9��)�����9��)�����9��)�����9��)����������� ������������ ������������ ������������ �������������� >��>��>��>��� ���������� ���������)�� ���������������� ��������)��������������� ��������;������� �����'�������������� ��)������������'������������2���'���� ��)�������,�������'��������������� 9��)�����9��)�����9��)�����9��)��������� ����������� ����������� ����������� ��������������� ������)���������� ��������������������� �������� �(������������������������� ���������(��2���������� ��������������� ��������������������������� Q����(������������(��2���;��
� 9��)�����9��)�����9��)�����9��)��������������������������������������������������������������������� �:�����������)��������������������������������� ���K�������������'�� ��������:���)������������������������������������������������������� ������������������������)��������)������
��
22

PREMIÈRE PARTIE: ETUDE TECHNIQUE
�� 9��)�����9��)�����9��)�����9��)����������������������������������������������������������������������)�������������������� �������������������������������:�����������'� ������� ���������)�������:� ������������� 2�������)�������������:�����������������������������������������������������������������:��� �������������� ������� 9��)�����9��)�����9��)�����9��)������������������������������������������������������������������������������������������������������������������ ���������:���������>��'����������������9"8������� ��������������������������������.�:�������������:��������������� �����������:���������������������� �����������������������������)������� 9��)�����9��)�����9��)�����9��)������������������������������������������������� >��>��>��>��� ���������� ���������)�� ��������������� ��������������������������������������������:����������������������)�������������������������>�������������� �������������,���������������������'������������������ ����������������
23

PREMIERE PARTIE : ETUDE TECHNIQUE
4- POWER AMC: 4-1-Présentation & Interface powerAMC :
�������������A��4�B���A��4�B���A��4�B���A��4�B����2��=�������=�����!�==#������>���==���������������������������������������� �������2��:����(��2�����:���������)�������>�������9����������A��4�B����������Y��������Y���2��=��������=������
24

PREMIÈRE PARTIE : ETUDE TECHNIQUE
4-1-A- Diagramme de cas d’utilisation ������������$�����������Z�9��)������������:�����������[��
25

4-1-B-Diagramme de classe ��������Y��������Y���2��=��������=���������������$�������������������Z�9��)���������������[���
26

PREMIÈRE PARTIE : ETUDE TECHNIQUE
4-1-C- diagramme d’objet
��������Y��������Y���2��=��������=�������������$�������������������Z�9��)������:������[��
27

4-1-D- Diagramme de collaboration ��������Y��������Y���2��=��������=�������������$�������������������Z�9��)��������������������[��
28
PREMIERE PARTIE : ETUDE TECHNIQUE

PREMIERE PARTIE : ETUDE TECHNIQUE
4-1-E- Diagramme d’Etats-Transitions ��������Y��������Y���2��=��������=�������������$�������������������Z�9��)������:������������������[��
29

PREMIERE PARTIE : ETUDE TECHNIQUE
4-1-F- Diagramme d’activités ��������Y��������Y���2��=��������=������������$�������������������Z�9��)������:����������[��
30

PREMIERE PARTIE : ETUDE TECHNIQUE
5- POSTGRESQL
5-1- Caractéristiques
����������������������������)��$R�����)��$R�����)��$R�����)��$R��! �������� ���)�2���������� ���)�2��#���������$159?$159?$159?$159?��!$(��2�����)����������������������������������#����������������������(��2�������( ��>-�7>-�7>-�7>-�7�! ����,�� ������,'�����5$9'�4�7'�@��>7'��?�7'�$�����'����#������������������� ����� ������������������)��$R�����)��$R�����)��$R�����)��$R�������E��������)���������'��������������)�������������������������������� �������������������������������������)��$R�����)��$R�����)��$R�����)��$R�� ���2����������������������������������������������$159?�$159?�$159?�$159?������������ �������;��T��9��������������)�� ������� ����)���������������0��9����������2����� �������������,���)�)���!� �����������,#���������������������,�����)������������� �������� ��)�����������������;�� W����!W95B#�MM���)�)��BMB\\�MM�����MM�8�M86�W����!W95B#�MM���)�)��BMB\\�MM�����MM�8�M86�W����!W95B#�MM���)�)��BMB\\�MM�����MM�8�M86�W����!W95B#�MM���)�)��BMB\\�MM�����MM�8�M86�����N��>���4���=95B4���=95B4���=95B4���=95B� ���������������� ����������� ���������� ����������������( ��������������������������������������������( ������)��$R������)��$R������)��$R������)��$R�����������������)��$R�����)��$R�����)��$R�����)��$R����������������������������������������M�������'�����������������������;�] �9����� ����������������������������������'������������������ �����������������������������������������)���������������������!��������������������������#'��� ���������������������E������������������������������)�������������������)��$R�����)��$R�����)��$R�����)��$R������ ��)��������������������������� ���Z� ��������� ��������� ��������� �������������[[[[���
31

PREMIERE PARTIE : ETUDE TECHNIQUE
] �9����� ���������������������������������E��������������������������������������������������������������������������������������������!>�������� �����������������������������������������������E��#�
������������!������������������������������������)��$R�����)��$R�����)��$R�����)��$R������������#� ��������������)�������������������������������������������E����$R�$R�$R�$R�����
32

PREMIERE PARTIE : ETUDE TECHNIQUE
33

Santé, vision 2020
PREMIERE PARTIE : ETUDE TECHNIQUE
6. PYTHON
6-1-Présentation �������(�����(�����(�����(��������������)�)���� ��)��������������� ����'�������������������� ��������������������,����� ���� ����������������(��2����:�, ����������������������������+�� ����� ���������� �������������� ��)��������'�������������������������������������������(���,����� ��������������
6-1-A-Historique : �������)�)���� ��)�������������� ��������������������������������������������������TSSJTSSJTSSJTSSJ� ���1���1���1���1�����������������������?�����?�����?�����?�������B:�������������������������������)�)���)�)���)�)���)�)�����45B45B45B45B���
6-1-B-Caractéristiques : ����(��������������)�)�������'�������������������������������(���,�������������������,���)�)�������������'���������B'B'B'B'���� �� �� �� ������������������ ���� ���� ���� ���������4����'���� (���� (���� (���� (�������� ���2�� �����������2���������:��������������
6-1-C-Le typage : �������"�� (����'����( �)������(��������.�������������������������:���������������������������������������������E������ ����
6-1-D-Les types de base : �������=�����������������( ������������,�)����������)�����.�������������������������������������������.��������������������������'���������������'���'���'���'������)'��)'��)'��)'��������������������������������������� �,��� �,��� �,��� �,����� ������������������������������������������'�������������'����'����'����'��������������������� ��'� ��'� ��'� ��'��������������������������������������������������
34

PREMIERE PARTIE : ETUDE TECHNIQUE
6-1-E-Programmation objet : ��(�����(�����(�����(��������������)�)���� ��)����������������.� �������+�'���������������;���>����������������������������������������������'���������B\\B\\B\\B\\��
������������������� �����:������)������ ��.������'�:� ��������8���8���8���8�������B\\B\\B\\B\\������������������������ (������
35
Example:
class Personne : def init ( self,nom, prenom ) : self.nom = nom self.prenom = prenom def afficher nom ( self ) : print self.nom+ ’ ’+ self.prenom
6-1-F- Modules : ��������������������������������������������� ��)��������������������,��������2��������BBBB���������,������������������� ��������������������;������)������)������)������)''''��������'����'����'����'�����(�'�(�'�(�'�(�'������'��'��'��'���������'�����'�����'�����'��������������������C���
�6-1-G- Fonctions :�
��������������������������������������������������������������������������:�������������������������!���� ̂����#!���� ̂����#!���� ̂����#!���� ̂����#����;;;;� Example: def some(x,y) : return (x+y)

PREMIERE PARTIE : ETUDE TECHNIQUE
7. XML 7-1- Définition 7��7��7��7���!������F������F������F������F�����7��������7��������7��������7��������������6� ���6� ���6� ���6� �������)��)����)��)����)��)����)��)������������F����)�)����������������'�������)�)������������,�������#��������������������������)�)��@8����������� ������������������������������������������)�����������������������)�)�� ����������������������������������������)�O��������������������7-2- Mise en page de XML �������7��7��7��7������������������������ ������������������������������ �����������'������������������������@8��������������� �)������������������������ ��������)�)������������ �)���������4������������������,�������������������� �������������������������������7���;���B$$�;!B������)�$�(�$����#'������������� ���������������������'��������������������)��������������������������������� ������������@8�����7$��;!�7��������$�(�$��������)��)�#'������)�)���������������(���,������������ ��� ���������� ����7����8��������'��������������)�)�������� ����������� ��������������������������������������7$�8�;!�7��������$�(�$��������)��)��8�������������#�������)����������������������GNB���T_����������TSSS'� �����������������������������������7��������������@8�������� �)����������������(���
36

PREMIERE PARTIE : ETUDE TECHNIQUE
7-3- Structure des documents XML 7��7��7��7����������������(�����������������(���,��������������)�O�����,�989989989989�!9��������8( ��9���������#�������)������������������������������������������������(�������������������)�O����������)�)���� ����4����'������������7��7��7��7������������������ ������������������������������������7��7��7��7������ ����������������'�����������������������989989989989���������������������������������� ���������>����������������������2)�����7��7��7��7�������� �����������������������������������������������������������������������������>����������7��7��7��7��� ������������989989989989��������������������������������� ��������������������������������������������������������������� 7-4- Les avantages de XML ���������������������������������������������;������������������������������������������E��������������� ������� �����������������������������7��7��7��7�������4�������� ���4�������� ���4�������� ���4�������� ��������������������,��������,��������,��������,�����������>��>��>��>�����������������������������������������������������������������������������������������������;� ���������������������������������� ���2�������������������>����������>����������>����������>�������������������������� ��������� ��������� ��������� ����������;�����������������,���������2��������� ���������� ����9� �(���9� �(���9� �(���9� �(�������;��� ����E����������������������� ������� ���������� �������������E�������� ����������,��'�������@88��@88��@88��@88�������)�����������)�����������)�����������)��������;������������7���������������� ���������� �������� ����������� ����� ����� ����� ������!����������������)����� ��������������(�����������7��#�",�����",�����",�����",��������������������������;������������7������� �������E����������������������������������� ����������4����'�7��7��7��7������� �������2��������� �����������)������������������������������
37

PREMIER PARTIE : ETUDE TECHNIQUE
8-DIA
����������9��9��9��9�����������)�������������������������)���������� �������������� �������� ������1-=�" ������1-=�" ������1-=�" ������1-=�"����� �����9��9��9��9����������+�� �������������������������������� ��)������Q����������������Q����������������Q����������������Q���������������� �� � �����9��9��9��9����������+��������2���������������� �������� ������)������������ ��������������� ���������� ;� ��)������ ����,����)������ �� �������� ���������'� ��)������>��>��>��>��'������������������ ������)���������� ������������������������7��7��7��7��'�������������������������������$Q1�$Q1�$Q1�$Q1�!$������Q������1�� ����#�� ����������������������� ������������9�������)����� ������ �����)��������������� �� ����������7��7��7��7���!��� ������ ���)F� )F� )F� )F� � ��������#���� �����, �������������$��� ������ �������$��� ������ �������$��� ������ �������$��� ������ ����!"�$#'�$Q1'�97�'�B1�'�!"�$#'�$Q1'�97�'�B1�'�!"�$#'�$Q1'�97�'�B1�'�!"�$#'�$Q1'�97�'�B1�'��-1'����-1'����-1'����-1'���������������������������������� �����9��� ����E���� ���� �������� �� ��)�)���� ��)�����������(��������������������������� ��� ������� �� �� ������� 1->�1�� �� ��� �� ���� ������ �� )���������� �� �����@�%'�B\\'�W����@�%'�B\\'�W����@�%'�B\\'�W����@�%'�B\\'�W������(����'� ����(����'� ����(����'� ����(����'� ����� ����������� � ���� �� ��)������>��>��>��>�������� �����9�4;���� ;MM��0 � %�F ��)����M���,� � �!����������������, �������������������7$��!P����##����������9�49�49�49�4� ���� ���� ��� ���������� ����� �� ��)������ Q�$�=� �Q�$�=� �Q�$�=� �Q�$�=� ��������������������������������������.� �����������������������)������� ���
���
���
���
���
���
���
���
���
���
���
���
��

PREMIERE PARTIE: ETUDE TECHNIQUE
����

��������������������9�4������>��,'��������������;���1�6\���������T�0�J����>�����������������������������������,��!�6��)�����,�#����)6̂ ����'���������T�&�0���������������������������������������;��
�M�����)������6�� ������9�4� �������������;���������������������9��)�������������������������9��)�����������������������������������9��)������:����������9��)������������������������������9��)������:��������9��)��������� ��������������������9��)������������������9��)����������� �������������������9��)������:����������������!"����������������#��������
40
PREMIERE PARTIE: ETUDE TECHNIQUE

PREMIERE PARTIE: ETUDE TECHNIQUE
9-RAD
�������$���� ���� ��'� ����� ��)������.� ��� ������� ?49?49?49?49� ������ �� �������� ������� ��������!����#���� 2��������8��("?��������������������� ����"����������, ���������)�������>��>��>��>��� ����8��("?�8��("?�8��("?�8��("?�����������������������������������������!����'����������C#'�������'��������������!4������#�������������)�O�����9�49�49�49�4;�
�

PREMIERE PARTIE: ETUDE TECHNIQUE
���������� 9�49�49�49�4� ������ ������ �� ����������� �� ��,� �� ������� !G��6��A#� ���� ��������������������������������������, ��������A��6��A� ����8��("?�8��("?�8��("?�8��("?�� ���������������������������.������������������� �)���������>�� 9̂�4>�� 9̂�4>�� 9̂�4>�� 9̂�4� ����8��("?�8��("?�8��("?�8��("?���������������� ���������'��� ���� ����������������������)�������8��("?�8��("?�8��("?�8��("?��������������������������������-/4"?$��-/4"?$��-/4"?$��-/4"?$'� ���� ���� ��� �� ������� ��������� ����� ���'� ������� �� ����� ����������$Q-�!$����������������������������� �����#������9������!�������������#�;�4 ���������������������������"�� ���� ���� ����� ��� �������� �� �)��� >�� 9̂�4>�� 9̂�4>�� 9̂�4>�� 9̂�4'� �� ������ ����� ������� ���������'�������;�$��������� ;MM�������(�� M���M�,��� �̂���M����6M�� ̂���>��������� ���������A��� ����������"������'��������)������������������������9�49�49�49�4����������������������;�4 ����������������=������������������������������������� �����������������������������������������������2)��� ��� ����������������"����� '� ��� ����� ��� ����� ���� ��� ����� ����� ��� ���� ������ ��� �������,�������� �2�����������������>��>��>��>��'��������������9�49�49�49�4��������"�� ������������>�� 9̂�4>�� 9̂�4>�� 9̂�4>�� 9̂�4'���������������)�� �̂ ���� � (���)�� �̂ ���� � (���)�� �̂ ���� � (���)�� �̂ ���� � (�!8������)�������>�� 9̂�4>�� 9̂�4>�� 9̂�4>�� 9̂�4#���������������� ���9�49�49�49�4��������������������9�49�49�49�4��������������� (���� (���� (���� (����'� ��������� ��H�� ����� ����� ����� ����������)�� �̂ ���� ���)�� �̂ ���� ���)�� �̂ ���� ���)�� �̂ ���� H�.���� ����� ��� ����� ����'� ��� ��� ����� �� ����� ������� H (9��� ����1���������!= ��"?�#H�������������� ��, ���� �� ���'� ���� ������ ��)������� ���������F� ��� �� ������ �����)�������>��>��>��>����
�

10. NOTEPAD++
-��� �\\-��� �\\-��� �\\-��� �\\������������������������������������������������(���,�������������������������������2�����B���)���������� �������)������������������������������� �������������������Q���� ����F��������� ��������������������������������������9�� ��'�-��� �\\-��� �\\-��� �\\-��� �\\� ���2����������������������������� �����������������������������������������������������������E�������������E���������������(������������0���������������������������� ���������2���������)������� �����;������ ����F�� ��������������� ������������������)�������)���������������������������������������������������������"����'�����)�����������������������������������������'�������� ����$�G ���A���
��

CAHIER DES CHARGES & REALISATION


DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1- ANALYSE ET CONCEPTION
1-1-Introduction : ���������������������������������������������������������)������������������������� ������������������������������������������;�� �̀���������M���������������� �̀������� D�����������,����������,�������������� �������������� �̀�����������������
������������������������������������������������������������D����������������������������������������� �������������������������������.�� ����,�� ����������������������������� ������'���������������������,� ���� ��������������������������������������������������������������������,�����)������������������ ���������������������������������������������������������������������� ����� ��������� ������������'������������������������������������������������������������������������������,��'����������������������������������1-2-Le notaire au Maroc: ��������������������������������������������������������������� ������������ ������������ ������������ �������������������� ������9�����?�(��!���������������������������)�������+����#��
46

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����
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
47

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

<<include>><<extend>>
<<include>>
<<include>>
<<include>>
<<include>> <<include>>
<<include>><<include>>
<<extend>>
<<include>><<extend>>
<<include>>
<<include>>
Frais du compromis de vente
Compromis de vente
Chèque
Certificats de vente
Crédit bancaire
Frais de conservation et enregistrement
rencontre finale
Acceptation de crédit
Hypothèque
Payer le prix de l'hypothèque
Reste du prix de vente
Visite du bien
Contrat final
Main levée
Vendeur AcquéreurNotaire
Banque
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-Modélisation UML: 1-5-A- Diagramme de cas d'utilisations :
49
Prix

Compromis de vente
Vente du bien
Certi ficat de vente
Achat du bien
Frais du compromis de vente
Valider le compromis de vente
Vendeur Acquereur Notaire
Système
Vente du bien
Certi ficat de vente
Achat du bien
Frais du compromis de vente
Valider le compromis de vente
Crédit bancaire
Demande du crédit d'achat d'un bien
Dossier en étude
Compromis de vente
Etude de dossier
Acquéreur Banque
Système
Demande du crédit d'achat d'un bien
Dossier en étude
Compromis de vente
Etude de dossier
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
1-5-B- Scénarios :��
50

Valider la vente
Chèque du prix de vente
Acceptation de crédit
Dossier accepté
Valider le chèque
Banque Notaire Acquéreur
Système
Valider la vente
Chèque du prix de vente
Dossier accepté
Valider le chèque
Bien en "main levée"
Frais à payer
Frais de l 'hypothèque
Hypothèque
Bien en hypothèque
Annuler l 'hypothèque
Vendeur Notaire
Système
Bien en "main levée"
Frais à payer
Frais de l 'hypothèque
Bien en hypothèque
Annuler l 'hypothèque
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
51

Bien prêt
Bien conservé
Valider le contrat final
Contrat final
Bien enregistré
Notaire
Système
Bien prêt
Bien conservé
Valider le contrat final
Bien enregistré
52
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

1-5-C- Dictionnaire des données:��
53
Sigle
code name name name pays_id name name description adresse date_signature date_livraison nameso name titre2 titre3 projetfils_ids bien_ids prix manager code certificat_acquereur_ids date1 rayon_id contrat_autre_ids state conservation_ids titre parties_acquereur_ids tache_autre_ids hypotheque_ids frais_vendeur_ids certificat_reservation_id projet_id contrat_compromi_vente_ids main_lever_ids frais_encaissesA_ids name enregistrement_ids banque_ids text_banque certificat_vendeur_ids frais_acquereur_ids contrat_finale_ids parties_vendeur_ids frais_encaissesV_ids code
ibelleL
Code Conservation Type acte Pays Pays Ville Rayon Les Garanties Adresse société Date signature Date livraison Société constructrice Code certificat Type dossier Type projet Projets fils Bien Prix de vente Responsable du projet Code projet mere Certificats acquereur Debut du projet Rayon Autres contrats Etat Conservation Type bien Acquereur Autres taches hypotheque Frais vendeur Attestation de reservation Projet Depenses Main lever Frais encaisses Numero dossier Enregistrement Banque Notes Certificats vendeur Frais acquereur Contrat final Vendeurs Frais encaisses Code bien
Type
char char char char
char char text char date date char char
selection selection
float
char
date
selection
selection
char
text
char
ègleR
Contrainte
many2one
one2many one2many required
many2one
one2many
many2one one2many
one2many
one2many one2many one2many one2many many2one many2one one2many one2many one2many required
one2many one2many
one2many one2many one2many one2many one2many
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

54
code etage millieme ville_id type_acte_id lieu_conservation_id adresse unite name titre_foncier dernier_dossier lot fraction superficie acquis_le enregistre_le titre_mere projet_id description situation_fam ville quote_part_den tel name lieu_naissance adresse nom_pere profession nom_conjoint titre cin fax titre projet_id ben quote_part_num date_naissance email situation_fam nationalite titre3 tache_statuts_ids manager frais_entreprise_ids certificat_status_ids ville_id date1 rayon_id date2
Code bien Etage Millieme _indivise_ Ville Type acte Conservation Adresse Unite Designation Titre foncier par solaire Dernier dossier Lot Fraction _divise_ superficie Acquis le Enregistre le Titre mere foncier Projet Description Situation familiale Ville Sur Tel Nom & prenom Lieu de naissance Adresse Nom du pere Profession Nom conj Titre CIN Fax Titre Projet Lien Quote part Date de naissance Email Situation familiale Nationalite Type dossier Depot des Statuts Responsable du projet Frais entreprise Statuts de la societe Ville d"investissement Debut du projet Rayon Fin du projet
char char char
char selection
char char char char char char date date char
char selection
integer
char char
char char char char
selection char char
selection
char integer
date char
selection char
selection
date
date
nom+prénom
Mr/Mme/Mlle
célibataire …
many2one many2one many2one
many2one
many2one
required
many2one
many2one readonly
one2many many2one one2many one2many many2one
many2one
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

certificat_negative_ids state tache_autreS_ids frais_encaissesS_ids titre tache_Patentes_ids depensesS_ids derecteur_id description certificat_assemble_ids description3 certificat_autre_ids certificat_souscription_ids
name Journal_ids enregistrementS_ids
tache_Immatriculation_ids certificat_Bulletins_ids situation_fam ville quote_part_den tel name lieu_naissance date_sign nom_pere profession cin agit_sur_son_propre_compte nom_conjoint fax titre projet_id adresse ben quote_part_num date_naissance email nationalite type_hypotheque description name2 name projet_id hypotheque_id date_main_lever description name date_fin name date_signature code
Certificat negative Etat Autre tache Frais encaisses Type societe Inscript. au role des pat Depenses Responsable Entreprise Description Assemblee Generale PV Domiciliation Certificat negative Acte de declar de souscrip et de versement Numero dossier Annonce Journal Enreg du capital et des statuts Immatriculation au Registre de Commerce Bulletins de souscription Situation familiale Ville sur Tel Nom & prenom Lieu de naissance Date signature contrat Nom du pere Profession CIN Agit sur compte Nom conj Fax Titre Projet Adresse Lien Quote part Date de naissance Email Nationalite En hypotheque avec Description Montant Code hypotheque Projet Code hypotheque Date main lever Description N° de volume d"inscript. Date fin compro de vente Numero Date signature Numero
selection
selection
text
text
char
selection
integer char char
date char char char char char char
selection
char char
integer date char char
selection text float char
date text char date char date char
ouvert/valide
sa/sarl/…
célibataire …
nom+prénom
Mr/Mme/Mlle
banque/autre
one2many
one2many one2many
one2many one2many many2one
one2many
one2many one2many
required
one2many one2many
one2many
one2many
many2one
required
many2one
many2one
readonly
many2one many2one
��

��
name name montant adresse code ville_id name description name agence_banque_id date1 Province date2 name name num name name name date projet_societe_id name2 name gerents_id parties_associer_ids montant nature description1
montant actionnaire_id date certificat_BanqueS_id certificat_Bulletins_id name date1 parties_associer_ids
name date1 name description name
name description certificat_negative_id certificat_assemble_id certificat_status_id certificat_souscription_id tache_Patentes_id parties_associer1_id
Type contrat Type frais Montant Adresse agence Code agence Ville agence Agence Note Nom banque Agence Date envoi Province ou prefecture Date realisation Numero consevation Numero enregistrement Numero tache Nom tache Documents Document Date Projet Nom societe Code Responsable enreprise Parties associer Montant du capital Nature des apports Prestation de la forme juridique Apport engage Actionnaire Blocage du Capital libere Attestation de blocage Bulletins de souscription Type ceryificat Date Depot Representants legaux de la societe Numero tache Date annonce Journal Nom Journal Annonce Numero enregistrement du capital et des statuts Numero Inscription au Role des Patentes Demande d"inscription Certificat negatif PV des assemblees Statuts Certificat souscription Certificat d"inscription au role des patentes Projet
char char float char char
char text char
date char date char char char char text text date
char char
float char text
float
date
char date
char date char text char
char
text
many2one required
many2one
many2one
many2one one2many
many2one
many2one many2one
one2many
many2one many2one many2one many2one many2one
many2one

*
* 0..*
1..1
1..1
1..*
*
*
*
*
*
*
*
**
1..1
1..1
1..1
1..1
Crédit
0..*
0..1
Désignation du bien
Diagramme de classes
*
*
*
*
1..1
1..*
Achat du bien
1..1 1..*
Vente du bien
1..* 1..1
Vendeur
++-##
Nom&PrenomCINSituationFamAdresseTel
: String: String: String: String: String
Notaire
+ Nom : String
--+++--
Ouvrir ()Etudier ()PayerPrix ()Enregistrer ()Conserver ()Annuler ()Valider ()
: void: Boolean: void: void: void: void: void
Acquereur
++-##
Nom&PrenomCINSituationFamAdresseTel
: String: String: String: String: String
Compromis de vente
- DateFin : Date
Amener
Certificats
+ Description : String
Bien
++--+--+++----
CodeDésignationLotTitreAdresseMill iemeIndiviseFractionDiviseConservationDateAcquisitionDateEnregistrementTypeActeEtageSuperficieUnité
: String: String: String: String: String: String: String: String: Date: Date: String: int: Float: String
Contrats
+++
N°DateSignatureDescription
: int: Date: String
Contrat final
++-
N°DateSignatureDescription
: int: Date: String
Autres contrats
- TypeContrat : String
Tâches
+++++
N°ProvinceDateEnvoiDateRéalisationNote
: int: String: Date: Date: String
Conservation
EnregistrementAutres tâches
+ Nom : String
Projet notaire
++
CodeType
: String: String
Banque
++-
CodeAgenceNote
: String: String: String
Hypothèque
++--
CodeMontantHypothèque avecDescription
: String: Float: String: String
Prix
++-
TypeMontantDescription
: String: Float: String
57
1-5-D-Diagramme de classes :��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

if hypothèque
AmenerCréer ( vendeur, certificats)
else
end if
Confirmation
AmenerCréer ( vendeur, certificats, frais-hypothèque)
Consulter
Consulter
Amener
IHM Amener Vendeur Certificats
Confirmation
Consulter
Consulter
��
1-5-E-Diagrammes de séquences :��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

Validation
Compromis de vente
Créer ( vendeur, acquéreur, bien, frais)
vendeur & certi ficats
Consulter
Saisir (bien)
Saisir (acquéreur)
Compromis de vente
IHM Compromis Acquéreur Bien Amener
Validation
vendeur & certi ficats
Consulter
Saisir (bien)
Saisir (acquéreur)
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

Main levéeConfirmation
HypothèqueCréer ( vendeur, banque, bien, frais de l 'hypothèque)
vendeur & frais de l'hypothèque
Consulter
Consulter
Consulter
Hypothèque
IHM Hypothèque BanqueBien Amener
Confirmation
vendeur & frais de l'hypothèque
Consulter
Consulter
Consulter
�
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

N° de conservation
vendeur, acquéreur, bien ...
Confirmation
Contrat finalCréer ( vendeur, bien, acquéreur, ...)
N° d'enregistrement
Consulter
Consulter
Consulter
Contrat final
IHM Contrat final ConservationCompromis de vente Enregistrement
N° de conservation
vendeur, acquéreur, bien ...
Confirmation
N° d'enregistrement
Consulter
Consulter
Consulter
�
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

vérification du bien [l ibre]
Enregistrement / Enregistrer()
Fermeture du dossier / Annuler()
Etude du bien / Etudier()
Diagramme d'état-transition : Bien
Etude du bien / Etudier()
Fermeture du dossier / Annuler()
Enregistrement / Enregistrer()
vérification du bien
Ouv erture / Ouv rir()
Etude du bien / Etudier()
vérification du bien
[Hypothèque]
Main lev ée / PayerPrix()
Enregistrement / Enregistrer()
Conservation / Conserv er()
Livraison du bienFermeture du dossier /
Valider()
Bien en vente
Bien certifié
Bien aquis
Bien enregistré
Bien conservé
Bien hypothèqué
Bien propreBien libre
Bien non certifié
�
1-5-F-Diagramme d'états-transitions :
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

Notaire Acquéreur Vendeur
BanqueSans banque
Proposer un bien
achter un bienRencontre Amener les certificats du bien
Amener les frais du compromis +docs
Etablir le compromis de vente
Prix Prix + docs banque
Contrat final Récuperer le bienRécuperer le reste du prix de vente
Tâches
Fermer le projet
Ouvrir un projet
Prix de vente
��
1-5-G-Diagramme d'activités:
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

��
2-Réalisation :
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION
�������������������������������������������������������������������������� �����������������8��("?�8��("?�8��("?�8��("?���������������)�������������)��������� �,����'�����������L�TJJ���������<�������������4���������������
�������������������������������������������������������������������������������8��("?�8��("?�8��("?�8��("?������� ��������)��������������������������O���������������� ���������������������������������'���������)�����������������!=����������Q����#���������������������������������������������������������,���
�����������������������M:����������:������'�:���� ������ ����������������������������������������������'���������������:������ ����'������)���������� D�����������,���������,�������������
��������������:��������� ����'�����������:�������� ����������������������������'����������������������������������������������������������������������,��( �������������;������������ ��������������������������� ������������ ������������

����9������������9������������9������������9����������������;�;�;�;������
���������������������)������������ �����������������B:������ �������� ����������������������������������������� ������ �����������������������������������.����'�����F�����������������������������������������������9������������'� ���������)������������������������� �������:��������� ������������������������������)������.�8��("?�8��("?�8��("?�8��("?�������������������������
������)��������������� ��������:������������������������;���
'�'�'�'�@( ���2���@( ���2���@( ���2���@( ���2���'�'�'�'�����������������������������������������������������������������'�'�'�'�����������������������������������������������������'�'�'�'�-������-������-������-������;����)���&���(����� B�������B�������B�������B�������'�'�'�'�8�����8�����8�����8�����'�'�'�'�5��������������� �����5��������������� �����5��������������� �����5��������������� ����������
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPPPPPPPPPPP����=�)�=�)�=�)�=�)���-��������-��������-��������-����������;�PPP;�PPP;�PPP;�PPP������B:������ ���������)��.�������������������������������������������� ����������������������������;������
��������.��-���������)������� �����������������;��-���������������������������� ������(��2�������
)������.������-���:��������������(��2��B:��;��?�� ��������� ������������������������
�����2������;��������,�������,��( ����� �����;�8( �� ������� ���������� ���������� ���'�$�����( �� �������������( �����;��B��� �������2��
�����������������������2����'����������'��������'������'�����;����( �����������_�(����;��8( ��������
�����)�'� ����)����������������B��� ���������������� ������������,�����������( ���������;�8( �������
������� ��������������������� ��,���'�9�����������������;�������,���������������
����)���������������������a9�����������;������������������������4��������������'����������� ���������� ��� ��������:�������������������������'������� �������������������������������
������������,��� �������������:�� ����������a��������������B��� ;��?�(�� � ������
������������������������ ������(��2���������.������B��� ;��9������� �����:����������:���������������������
������������ ��������)��������������;��5����������� ������ ����������'�9�����������a��� �������������( ���2��;�������������
���� �������������������� ������ �������������������������������������������;�������������� ������������:�������������������B��� ;��"���
������
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���Q�����=�)���Q�����=�)���Q�����=�)���Q���������;;;;�PPP�PPP�PPP�PPP�������9�����������,�;���������������������������������9�����������������������!����������� ������������)����������������� ���� �����!8�##�
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���4��������=�)���4��������=�)���4��������=�)���4������������;;;;�PPP�PPP�PPP�PPP�������R������������������:��)���Q�������!����������� ����)����������'��:���������� ���� �����!8�#�������#�
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���@( ���2���=�)���@( ���2���=�)���@( ���2���=�)���@( ���2�������;;;;�PPP�PPP�PPP�PPP����
�������������2���������� ������ ������� ���'�����( ���2�������( ���2�������( ���2�������( ���2��������������a������������9���������������������;���9������ �������( ���2���'��������������������� �����������;��PB����( ���2����;�B��� ���,��������� ���������������P������������( ���2������P"���( ���2���������;�B��� ����������������������� �����������( ���2�����������;���������������������������P9����� �������
�9������ �����������������������'���������������������� �����������;�P-��������������:������ �����;�B��� ���,���� ����������������������������:������ ����������������������P9��������������;���������a�:�( ���2������������������P9����� ��������
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���B�������=�)���B�������=�)���B�������=�)���B�����������;;;;�PPP�PPP�PPP�PPP���������B����� �������������������� �������� ������������������ ��������������'���������������� �����������������������������������������������������������������������M������:�������'�������������� ���������� �������������� ������ �������������'��������������������������������������������������( ���������'����������'������)����� ����)�'����������������������� �����������������������
��
�
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���8O����=�)���8O����=�)���8O����=�)���8O��������;;;;�PPP�PPP�PPP�PPP�������B��������������� ������ �����,��O��������)��������;�:����)��������������)��������������)��������������)����������������������������������������������������������������������������
��9��������������'���������������� �����:����)���������������������������'����� ������ ���������������O����� ������� ����������:�������������������,��O��������
�
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

=�)���5�����=�)���5�����=�)���5�����=�)���5���������;;;;�PPP�PPP�PPP�PPP�PPPPPPPPPPPP��������9�����������a�:��������������� ���������������������������( ������'�������������������������������������������������������:�)����������������������"�� ��'���(���������� �����,��� �������������������������������������������������������������������������������������������������
�
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��������=�)��������=�)��������=�)������������;;;;�PPP�PPP�PPP�PPP����������������������%� �������;����� �������������������������������������������������������������������'����������� �������������������������������������������������������'�����������������������������������������������������������������!!!!������������������������������������#'�����������������������������������������������������������������!!!!������������������������####����������������� ��������� ��������� ��������� ����������
�B������ ������������������( ����������������������������
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

����4 �2����:���������������������������� ��������������������'���������������� ������:�� ��������������������!��� �������������'�������������#'����������������:������������������������������ ��������������������������� � ��������)��������)��������������������������:�������������� ���������������������2������;�����������������������������������)�������)������������������������������������������������'���������������)����������������������,�����
����������������� ��������( ���9��������������������)�������'�8��("?�8��("?�8��("?�8��("?����1�O�����������������4� ��������� �����( ��������������! ����2������� ��������������������������#�������������������� ���������������'������ ����������������������� ���������������������Q��������)������ �����������������������:�� ��������;��
����
���(���&���������:�� ����������������������;��������T����������0���� ������������������������N���������b���� ���������������������������������%���'���_���������I���� �����������������"�� ���������'������������������-5-5-5-5����;;;;�����HH�B������������������� ����������.���� ������������:���������������������������������.� ����,�� ����� ���������������������� ���������������������'����������� �����������������������'�����C�HH��
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

",�� ��B�����������",�� ��B�����������",�� ��B�����������",�� ��B���������������c�c�c�c�B�� �B�� �B�� �B�� �����������������������������������������������������;;;;����
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

",�� ��",�� ��",�� ��",�� ��9999����������������������������������������������������������������������������c�c�c�c���������������������;;;;����
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

",�� ������������������",�� ������������������",�� ������������������",�� ������������������c�c�c�c�5���5���5���5�������;;;;����
��
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

�9������������� ����9������������� ����9������������� ����9������������� ��������;;;;��
������������ ��������������� ��������������� ��������������� �����������������������������������������������������'�������������������������� ������������������������'�������������������������������������������,������ ��������B����� �������������������� ����'� ����E������������������ �����������������������������������������������D�����������������:������'��������������������������D�����������:���� ���'������������� �����:������ ���������9���������� ������ ������������������)�������!�������'�������'����������#�� ���������������)���������������������( ������� ������
80
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

9��������)������������'���� �������������� �����������-"78�4����( ���������������(���!$4#��������������������������������������������������������0I�0I�0I�0IMMMMTJTJTJTJMMMM0JJ00JJ00JJ00JJ0���B����������������� ����������������������������459?4@�4-�4�/4���459?4@�4-�4�/4���459?4@�4-�4�/4���459?4@�4-�4�/4������������������������������������� ����� ����� ��� �������������� ��������:����� ����� �������������������������������� ���2�������������.�4�������� ��������������'��������'�C���������� ����'��������������)�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�'�'�'���������������������������������'�'�'�'�:���������)�������:���������)�������:���������)�������:���������)�������!!!!�Q�Q�Q�Q####'�'�'�'��������������������������������� �������������������� �������������������� �������������������� ����'�'�'�'���������������������������� ��������������������������������������� ��������������������������������������� ��������������������������������������� �������������������������� ���2�'����������������������������������������������������������������O�������O�������O�������O����'�������:����)�������������� �����������������:����)�������������� �����������������:����)�������������� �����������������:����)�������������� �����������������'�'�'�'���������� D������������� D������������� D������������� D������������''''���������������� ������������������������'�'�'�'�::::�����������������������)�����������������������������������)�����������������������������������)�����������������������������������)�����������������������
H��������������������������������'����������� ���� ������:����� ���������������������������������������������H��
�����(���I���)����;�-������-������-������-������'�'�'�'�B����������� �����B����������� �����B����������� �����B����������� �����TTTT'�'�'�'�B����������� �����B����������� �����B����������� �����B����������� �����0000'�'�'�'�8O���� �����8O���� �����8O���� �����8O���� �����TTTT'�'�'�'�8O����8O����8O����8O���� ����� ����� ����� �����0000'�'�'�'������� ����������� ����������� ����������� �����'�'�'�'�9�����9�����9�����9������������
PPP�PPP�PPP�PPP�=�)���-������=�)���-������=�)���-������=�)���-����������;;;;�PPP�PPP�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
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��=�)��=�)��=�)���B����������� ��������B����������� ��������B����������� ��������B����������� �������;;;;�PPP�PPP�PPP�PPP����
�( �����N���������������T�T�T�T�:��)��������������� ������:��)��������������� ������:��)��������������� ������:��)��������������� ������� �������������������)�����������0�'�����)���������������:����� ���� ������9��������������9��������������9��������������9��������������������T�;�������������
��������$��������:����� �����$��������:����� �����$��������:����� �����$��������:����� ����� ������������������������� �������������������� �������� ���� ����������������������������:����� ���������������������:4�������)�������:4�������)�������:4�������)�������:4�������)�������!!!!�Q�Q�Q�Q#�#�#�#�����
Certificat Dénomination
Statut
PV
82
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��=�)��=�)��=�)���B����������� ���������B����������� ���������B����������� ���������B����������� ��������;;;;�PPP�PPP�PPP�PPP����
;���( ����������������N���������������0�0�0�0���)��������������� ��������)��������������� ��������)��������������� ��������)��������������� ������:������ ��������������)��������T�������5���������������� ������5���������������� ������5���������������� ������5���������������� ������ ��������)���������������:����� ����'���0����9����������9����������9����������9������������������� ���������������������������� ���������������������������� ���������������������������� ��������������������������������������������!4�����������������)�'�B� ��������������������5��������������� ����#�������������������������� ������������������������������
9������������9������������9������������9������������������� ����������������� ����������������� ����������������� ����������������������������������������������
5���������5���������5���������5���������������� ������������� ������������� ������������� ������
4����4����4����4����CCCC����
83
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��=�)��=�)��=�)���8O����� ��������8O����� ��������8O����� ��������8O����� �������;;;;�PPP�PPP�PPP�PPP����
B�����)��� ������������O���������������� �����)���������"�� ���������� �'������������)�������������� ������� ������� ������� ���������������������������������������'� ������� D����������� D����������� D����������� D������������������������� ��������� ��������� ��������� ���������������������������
Enregistrer le capital et le statut
Dépôt de statut
Patente
84
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��=�)��=�)��=�)���8O����� ���������8O����� ���������8O����� ���������8O����� ��������;;;;�PPP�PPP�PPP�PPP����
������������2����O������������0�0�0�0��������������� ����� ����� ����� ���������������'�TTTT����O��������� ����������O��������� ����������O��������� ����������O��������� ������4 �2������������������:��������������:��������������:��������������:���������������:����.����������������� ���������������O����� ��������������
��)������������������)������������������)������������������)������������������"������������������ ������ ����������� ����������������O����� ������������������������ ���������������
��������������������������������������������������������������)�������������)�������������)�������������)����������������������������������������
85
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)��������� �����=�)��������� �����=�)��������� �����=�)��������� �����;;;;PPPPPPPPPPPP����
���������������N� �������;����� ������������������ ������������������ ������������������ ������������������ ����'����� ��������������������������������������������������������������������������������������������� ��������� ��������� ��������� ����������
B������ ������������������( ���������������������������
86
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

PPP�PPP�PPP�PPP�=�)���9=�)���9=�)���9=�)���9��������������������;;;;PPPPPPPPPPPP����
���9�����������,� �������;��� ����2��� ����:������������������:������������������:������������������:���������������������:��������������� ������������������������� ������������������������� ������������������������� �������������������������
87
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION

���1�O�������������:�� ��������� '���� ����)�����������9�����������������������������������������",�� ��;��
----����5555����;�;�;�;��H�������������������:�� �������'����������� ������������ �������������������
)������ ����������������)��������������������������������������H�
88
DEUXIEME PARTIE : CAHIER DES CHARGES & REALISATION


CONCLUSION
90
��
��������4������������� �������������������!�������$���������$���������$���������$��####'�'�'�'������������������������:��������������������������������8��("?�8��("?�8��("?�8��("?�������� �������������������������'����������� ���������������������������������������� ������������
��
��������"�������'�������)��������������2����������������������������������� ������ ������������������������������������������������������������������������������������������� ������:� �����������������������������������������'������������:��������������, ���������� �����������,��E������������������������������������������������������������������������������ ���������'�������������������������� ����
��
��������B�����)�������������� ����������E��������������������2����������������.�=���� ������������ ������������������������������������������������������������������
��
�������9��������������a������2��� �������������������������������������������
���������������������� ��������'���������������E����������,�:������������������, ������������������ ������������ ������������������������)������������������������������������������������������������������ �������;��������������������������������������)� �������������������������������������������������, �������� ������������������"��������������;�H��������������:��������� 2��� �����������������������������������H��

������������������������������� ���� ��������������������������� ���� ��������������������������� ���� ��������������������������� ���� ��������������������� ��������� ��������� ��������� ��������������������

BIBLIOGRAPHIE
93
Harold,�Elliote Rusty, 2000. XML. Le guide de l'utilisateur. Eyrolles.
Apprendre à programmer avec Python De Gérard Swinnen
Gestion de projet de V. Giard Edition Economica - 1991
Management de projet, principes et pratique Afnor - 1998
Tiny ERP, Open ERP ��De Fabien Pinckaers et Geoff Gardiner - Eyrolles
PostgreSQL - Administration et exploitation d’une base de données De Sébastien Lardière -��
UML 2 par la pratique ��De Pascal Roques - Eyrolles
………

WEBOGRAPHIE
http://www.nextma.com
http://www.tinyerp.org
3. http://uml.free.fr 4. http://www.internethic.com 5. http://www.python.org 6. http://fr.wikibooks.org
1.
2.
94
���...
7. fr.wikipedia.org
8. http://www.developpez.com
9. http://www.casavisa.com/notaire-maroc��
10. www.bleu-maroc.com/notaire.htm
11. www.babfinance.net/

Abréviations et sigles

96
: : : : : : : : : : : : : : : : : : : : : : : : :
PGI
ERP
MRP
CRM
GPAO
EDI
UML
OMG
OMT
OOSE
SGBDR
JDBC
XML
CSS
XSL
XSLT
W3C
DTD
SVG
EPS
DXF
PNG
RAD
SA
SARL
���)�������1�����������)�� "���� �����?��������������) ������������)�?���������������)��
B��������?��������� �����)����� 1����������� ������������������ ������������ "���������9�������������)���
>�����������)����)��)���
=����������)������1��� �
=�����������)8����������
=������=�������$���A����"�)�������) $(��2�����1���������5������9�������?����������
W����9��������B����������(�
�7�����������6� ����)��)���
B������)�$�(��$�������
�7��������$�(����������)��)����7��������$�(����������)��)��8��������������
G���G ���G ���B��������� 9��������8( ��9��������� $������Q������1�� ���� "��� ����������$��� ��
9��A��)�",����)���������
��������-��A��6�1�� ������
?� ��4 ��������9���� ������
$�������4���(��
$���������?�� �������������������
�� �� �� ���� �� �� �� ����