Successfully reported this slideshow.
Como instalar Aeroo en Open ERP 6.1 en Ubuntu 12.04Esta es una guía modificada basada en este enlace:
$ sudo nano /etc/init.d/openoffice.shPaste the following below this line--------------------------------------------------...
Nächste SlideShare
Wird geladen in …5

Como instalar aeroo en open erp 6

904 Aufrufe

Veröffentlicht am

  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Como instalar aeroo en open erp 6

  1. 1. Como instalar Aeroo en Open ERP 6.1 en Ubuntu 12.04Esta es una guía modificada basada en este enlace: Log-in to your OpenERP server using ssh.2. Install Bazaar and download Aeroo module using bzr.$ sudo apt-get update$ sudo apt-get install python-setuptools$ sudo apt-get install bzr$ cd /home/username/$ sudo bzr branch$ sudo bzr branch$ bzr branch lp:aeroolib3. Install Aeroo Reports library - Python module$ cd /home/username/aeroolib/aeroolib$ sudo python ./ install4. Restart your computer$ sudo shutdown -r now5. Download aeroo reports module from this link I suggestyou download all four modules related to aeroo reports including the sample. You canalso copy the modules downloaded earlier using bzr from /home/username folder.6. Extract all four modules and paste it to your OpenERP server under this path/usr/lib/pymodules/python2.7/openerp/addons. You can mount your OpenERP server toyour Ubuntu desktop as root using SSH. Ex. ssh://root@openerp-server-IP and paste itto the path I mention. (root should be enabled first in your server to do this)6B. If you are using Ubuntu 12.04 Desktop then chances are you already haveLibreOffice installed, otherwise if you are using Ubuntu 12.04 Server you need toinstall it first before proceeding to the next step. I used aptitude because it is smartenough to know that OpenOffice had been replace by LibreOffice and will use itinstead. (I don’t know the exact commands to install LibreOffice headless anyway.)$ sudo apt-get install aptitude$ sudo aptitude install$ sudo shutdown -r now7. Open your browser and log-in to your OpenERP installation as admin. Make sure youenabled extended view then go to Settings->Modules->Update Module List. Then clickOpen Modules and search for keyword aeroo. Install all the Aeroo report modulesafterwards.8. Now we need to create a script to start LibreOffice headless as a service every timethe OpenERP server boots up.
  2. 2. $ sudo nano /etc/init.d/openoffice.shPaste the following below this line--------------------------------------------------------------#!/bin/bash# headless server script## chkconfig: 2345 80 30# description: headless openoffice server script# processname: openoffice#OOo_HOME=/usr/binSOFFICE_PATH=$OOo_HOME/sofficePIDFILE=/var/run/openoffice-server.pidset -ecase “$1” instart)if [ -f $PIDFILE ]; thenecho “OpenOffice headless server has already started.”sleep 5exitfiecho “Starting OpenOffice headless server”$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=”socket,host=,port=8100;urp” & > /dev/null 2>&1touch $PIDFILE;;stop)if [ -f $PIDFILE ]; thenecho “Stopping OpenOffice headless server.”killall -9 soffice && killall -9 soffice.binrm -f $PIDFILEexitfiecho “Openoffice headless server is not running.”exit;;*)echo “Usage: $0 {start|stop}”exit 1esacexit 0------------------------------------------------------------------9. Exit the nano editor and save the file you just did. Make the script executable andmake it start automatically at boot$ sudo chmod 0755 /etc/init.d/$ sudo update-rc.d defaults$ sudo /etc/init.d/ start10. Go to Settings->Customization->Aeroo Reports->Configure OpenOffice.orgconnection. Click Connect. It should display that connection was successfull and PDFconvertion is working.