Rapport Projet ERP - Plateforme Odoo 12 (PFE Licence)Yasmine Tounsi
Rapport Projet de Fin d'Etude 2020 - 2019 Licence Fondamentale En informatique de gestion.
Sujet : Développement et intégration des modules ERP pour
Spectrum Groupe sur la plateforme Odoo 12.
l'Ecole Supérieur de L'Economie Numérique, La Manouba.
Société Spectrum Groupe, L Kram.
The document lists the top 10 companies to work for according to Great Place to Work. Microsoft ranked number 1, followed by SAS and NetApp. The rest of the top 10 includes Google, FedEx Express, Cisco, Marriott, McDonalds, Kimberly-Clark, and SC Johnson. The document also provides tips for relaxing and emptying one's mind, as well as questions to consider about oneself.
Rapport Projet ERP - Plateforme Odoo 12 (PFE Licence)Yasmine Tounsi
Rapport Projet de Fin d'Etude 2020 - 2019 Licence Fondamentale En informatique de gestion.
Sujet : Développement et intégration des modules ERP pour
Spectrum Groupe sur la plateforme Odoo 12.
l'Ecole Supérieur de L'Economie Numérique, La Manouba.
Société Spectrum Groupe, L Kram.
The document lists the top 10 companies to work for according to Great Place to Work. Microsoft ranked number 1, followed by SAS and NetApp. The rest of the top 10 includes Google, FedEx Express, Cisco, Marriott, McDonalds, Kimberly-Clark, and SC Johnson. The document also provides tips for relaxing and emptying one's mind, as well as questions to consider about oneself.
1. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
CORRECTION DE LA SERIE 3 DU TD DU POO
Exercice 1
Soit le Programme suivant :
public class TestPoint {
public static void main (String[] args)
{
int n;
n =Clavier.lireInt();
switch(n)
{
case 0:System.out.println("case 0");
case 1:
case 2:System.out.println("case 2");
break;
case 3:System.out.println("case 3");
break;
case 4:
case 5:System.out.println("case 5");
default :System.out.println("Autre");
}
}
}
Le résultat de l’exécution de ce Programme dans le cas ou :
n=0 :
case 0
case 2
n=1 :
case 2
n=2 :
case 2
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 1
2. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
n=3 :
case 3
n=4 :
case 5
Autre
n=10 :
Autre
n=-5 :
Autre
Exercice 2
public class Complexe {
public int x;
public int y;
public Complexe(){}
public Complexe(int x, int y)
{
this.x=x;
this.y=y;
}
public String toString()
{
return x+"+"+y+"i";
}
public Complexe Produit(Complexe z1)
{
Complexe z =new Complexe( this.x*z1.x-this.y*z1.y ,
this.x*z1.y+this.y*z1.x );
return z;
}
public static Complexe Produit(Complexe z1,Complexe z2)
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 2
3. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
{
Complexe z =new Complexe( z2.x*z1.x-z2.y*z1.y ,
z2.x*z1.y+z2.y*z1.x );
return z;
}
public Complexe Somme(Complexe z1)
{
Complexe z =new Complexe( this.x+z1.x , z1.y+this.y);
return z;
}
public static Complexe Somme(Complexe z1,Complexe z2)
{
Complexe z =new Complexe( z2.x+z1.x , z1.y+z2.y);
return z;
}
}
Exercice 3
La Classe personne :
public class Personne {
private String nom ;
private String prenom;
public Personne(String nom, String prenom) {
this.nom = nom;
this.prenom = prenom;
}
public String getNom() {
return nom;
}
public void setNom(String nom) {
this.nom = nom;
}
public String getPrenom() {
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 3
4. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
return prenom;
}
public void setPrenom(String prenom) {
this.prenom = prenom;
}
public void affiche()
{
System.out.println("nom : "+ this.nom+ "nprenom
:"+this.prenom);
this.afficheid();
}
public void afficheid(){}
}
La classe Etudiant :
public class Etudiant extends Personne{
private int CNE ;
public Etudiant(String nom, String prenom, int CNE) {
super(nom, prenom);
this.CNE = CNE;
}
public void affiche() {
super.affiche();
System.out.println("CNE : "+this.CNE);
}
}
La classe Enseignant :
public class Enseignant extends Personne{
private int Somme;
public Enseignant(String nom, String prenom, int Somme) {
super(nom, prenom);
this.Somme = Somme;
}
public void afficheid() {
System.out.println("N Somme :"+this.Somme);
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 4
5. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
}
}
La classe TestPersonne :
public class TestPersonne {
public static void main(String[] args) {
Personne[] P = new Personne[2];
P[0]=new Enseignant("COMDEV","TEAM",145921);
P[1]=new Etudiant("TEAM","COMDEV",45892);
P[0].affiche();
P[1].affiche();
}
}
Exercice 4
La classe Point :
public class Point {
public int x,y;
public Point(int x, int y) throws ErrConst{
if (x<0 || y<0) throw new ErrConst(x,y);
this.x = x;
this.y = y;
}
}
La classe ErrConst :
public class ErrConst extends Exception {
public ErrConst(int x,int y) {
System.out.println("Erreur : cordoné négative x= "+x+"
y = "+y);
}
}
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 5
6. UNIVERSITE MOHAMED I
FACULTE DES SCIENCES Année Universitaire : 2011/ 2012
DEPARTEMENT DE Filières : SMI
MATHEMATIQUES Semestre : 5 (3ème année)
ET INFORMATIQUE Module : POO
OUJDA
La classe TestPoint :
public class TestPoint {
public static void main(String[] args) {
try
{
Point p = new Point(1,-22);
}
catch (ErrConst e)
{
System.exit(-1);
}
}
}
E-mail : thecomdevteam@gmail.com
WebSite : www.com-dev.net
Phone : +212618037859| +212662516524 Page 6