Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Aeroo didnt convert report from odt to pdf, How could i convert aeroo report into pdf?

By
rosey
on 12/28/13, 5:21 AM 1,905 views

I have installed openoffice.org 3.4. I have placed report_aeroo, report_aeroo_ooo, report_aeroo_sample and installed all.

bzr branch lp:aeroolib

cd aeroolib/

sudo python ./setup.py install

Worked above commands.

But when i connect openoffice with aeroo report it shows below message.

Connection to OpenOffice.org instance was not established or convertion to PDF unsuccessful!

3

Atul Arvind

--Atul Arvind--
1854
| 3 3 5
India
--Atul Arvind--

Hello, 

I am odoo Enthusiast/Consultant from Baroda, Gujarat, India. Working with odoo from v5 to v9 and other opensource technology since 4+ years. Having Strong Expertise in

Requirement gathering & Gap Analysis

Odoo Development

Odoo Customization

Odoo Training

Odoo Integration

Server Administration

Odoo Migration

Implementation

I am also active on StackOverflow.

or 


Atul Arvind
On 12/28/13, 1:25 PM

You have already installed aeroolib. I hope you have installed OpenERP Aeroo modules.
Now update openoffice script by running command

sudo nano /etc/init.d/openoffice.sh

and paste the below code in it.

OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid
set -e
case “$1″ in
start)
if [ -f $PIDFILE ]; then
echo “OpenOffice headless server has already started.”
sleep 5
exit
fi
echo “Starting OpenOffice headless server”
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=”socket,host=127.0.0.1,port=8100;urp” & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo “Stopping OpenOffice headless server.”
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo “Openoffice headless server is not running.”
exit
;;
*)
echo “Usage: $0 {start|stop}”
exit 1
esac
exit 0

Now press ctrl + x to save and close the nano editor. Make the script executable and make it start automatically at boot by

sudo chmod 0755 /etc/init.d/openoffice.sh
sudo update-rc.d openoffice.sh defaults
sudo /etc/init.d/openoffice.sh start

Now go to Settings->Customization->Aeroo Reports->Configure OpenOffice.org connection. Click Connect. it should shows the success message for connection. Courtesy: http://goo.gl/gRv8lG

0
wizardz
On 3/31/15, 7:35 AM

this is the right text for the script: 

#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid
set -e
case “$1″ in
start)
if [ -f $PIDFILE ]; then
echo “OpenOffice headless server has already started.”
sleep 5
exit
fi
echo “Starting OpenOffice headless server”
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=”socket,host=127.0.0.1,port=8100;urp” & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo “Stopping OpenOffice headless server.”
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo “Openoffice headless server is not running.”
exit
;;
*)
echo “Usage: $0 {start|stop}”
exit 1
esac
exit 0

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/28/13, 5:21 AM
Seen: 1905 times
Last updated: 3/31/15, 8:26 AM