TinyErp

De Cliss XXI
Révision datée du 3 juin 2008 à 12:12 par imported>SylvainBeucler (corrections de syntaxe + simplification des commandes psql)
Sauter à la navigation Sauter à la recherche

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 -P terp
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.