Différences entre versions de « TinyErp »

De Cliss XXI
Sauter à la navigation Sauter à la recherche
Ligne 52 : Ligne 52 :
 
   * ln -s tinyerp-client-2.1.2 /opt/TinyERP/client
 
   * ln -s tinyerp-client-2.1.2 /opt/TinyERP/client
 
   * ln -s ../../opt/TinyERP/client/bin/tinyerp-client /usr/bin/tinyerp
 
   * 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

Version du 23 février 2006 à 15:30

Installation du serveur de TinyErp

Preparation

telechargement 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 su postgres
 * createuser -U postgres --no-createdb --no-adduser -P terp
 * createdb -U postgres -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 deuxieme etape est de mettre l'interface client en Francais.

  * Recuperer 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

Preparation

telechargement 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