Différences entre versions de « TinyErp »

De Cliss XXI
Sauter à la navigation Sauter à la recherche
 
imported>SylvainBeucler
 
(12 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
plop
+
== Installation du serveur de TinyErp ==
 +
 
 +
=== Préparation ===
 +
 
 +
Téléchargement du serveur: http://www.tinyerp.org/download/sources/tinyerp-server-3.2.1.tgz
 +
 
 +
apt-get install python2.3 python2.3-psycopg python2.3-libxml2 python2.3-xml
 +
apt-get install python2.3-libxslt1 python2.3-reportlab python2.3-imaging python2.3-pyparsing
 +
apt-get install postgresql postgresql-client graphviz
 +
 
 +
=== Configuration de postgreSQL ===
 +
 
 +
sudo -u postgres -i
 +
createuser terp -SDR -P
 +
createdb -O terp --encoding=UNICODE terp
 +
 
 +
=== Lancement du serveur ===
 +
 
 +
tar xzvf tinyerp_server-v...tar.gz
 +
cd server/bin
 +
tinyerp_server.py
 +
 
 +
=== Mettre en Français le serveur ===
 +
 
 +
La premiere etape est de convertir le plan comptable en Français.
 +
* Modifier le fichier addons/account/__terp__.py
 +
* Remplacer la ligne "data/account_pcmn_belgium.xml" par "data/account_pcg_france.xml"
 +
* Modifier le fichier ./addons/account/data/account_pcg_france.xml
 +
* Rechercher tous les id="equity" dans ce fichier et remplacer par id="plan..." (... et le numero du plan)
 +
* Lancer la commande tinyerp-server --without-demo=all
 +
 
 +
La deuxième étape est de mettre l'interface client en français.
 +
* Récuperer le fichier suivant : http://www.tinyerp.org/download/i18n/french_fr-3.1.0-0.csv
 +
* Lancer la commande tinyerp-server --i18n-import=french_fr-3.1.0-0.csv -lFR
 +
 
 +
C'est terminé :) Vous avez un beau tiny erp tout en français (ou presque, le reste faut le changer à la main)
 +
 
 +
== Installation du client ==
 +
 
 +
=== Préparation ===
 +
 
 +
Téléchargement du client: http://www.tinyerp.org/download/sources/tinyerp-client-3.2.1.tgz
 +
 
 +
apt-get install python2.3 python2.3-gtk2 python2.3-glade2 xpdf
 +
 
 +
=== Installation ===
 +
 
 +
tar -xzf tinyerp-client-2.1.2.tar.gz
 +
su
 +
mkdir /opt/TinyERP/
 +
mv tinyerp-client-2.1.2 /opt/TinyERP/
 +
ln -s tinyerp-client-2.1.2 /opt/TinyERP/client
 +
ln -s ../../opt/TinyERP/client/bin/tinyerp-client /usr/bin/tinyerp
 +
 
 +
=== Mot de passe ===
 +
 
 +
Les comptes default sont :
 +
 +
* login : demo / mdp : demo
 +
* login : admin/ mdp : admin
 +
 
 +
 
 +
== Module comptabilité ==
 +
 
 +
Testé rapidement en mars 2006 par notre comptable, le module a l'air correct mais il ne semble pas avoir de clôture de l'exercice en fin d'année.

Version actuelle datée du 3 juin 2008 à 12:28

Installation du serveur de TinyErp

Préparation

Téléchargement du serveur: http://www.tinyerp.org/download/sources/tinyerp-server-3.2.1.tgz

apt-get install python2.3 python2.3-psycopg python2.3-libxml2 python2.3-xml
apt-get install python2.3-libxslt1 python2.3-reportlab python2.3-imaging python2.3-pyparsing
apt-get install postgresql postgresql-client graphviz

Configuration de postgreSQL

sudo -u postgres -i
createuser terp -SDR -P
createdb -O terp --encoding=UNICODE terp

Lancement du serveur

tar xzvf tinyerp_server-v...tar.gz
cd server/bin
tinyerp_server.py

Mettre en Français le serveur

La premiere etape est de convertir le plan comptable en Français.

  • Modifier le fichier addons/account/__terp__.py
  • Remplacer la ligne "data/account_pcmn_belgium.xml" par "data/account_pcg_france.xml"
  • Modifier le fichier ./addons/account/data/account_pcg_france.xml
  • Rechercher tous les id="equity" dans ce fichier et remplacer par id="plan..." (... et le numero du plan)
  • Lancer la commande tinyerp-server --without-demo=all

La deuxième étape est de mettre l'interface client en français.

C'est terminé :) Vous avez un beau tiny erp tout en français (ou presque, le reste faut le changer à la main)

Installation du client

Préparation

Téléchargement du client: http://www.tinyerp.org/download/sources/tinyerp-client-3.2.1.tgz

apt-get install python2.3 python2.3-gtk2 python2.3-glade2 xpdf

Installation

tar -xzf tinyerp-client-2.1.2.tar.gz
su
mkdir /opt/TinyERP/
mv tinyerp-client-2.1.2 /opt/TinyERP/
ln -s tinyerp-client-2.1.2 /opt/TinyERP/client
ln -s ../../opt/TinyERP/client/bin/tinyerp-client /usr/bin/tinyerp

Mot de passe

Les comptes default sont :

  • login : demo / mdp : demo
  • login : admin/ mdp : admin


Module comptabilité

Testé rapidement en mars 2006 par notre comptable, le module a l'air correct mais il ne semble pas avoir de clôture de l'exercice en fin d'année.