Aeroo Reports Linux server

Aeroo Reports Linux server

http://www.alistek.com/wiki/index.php/Aeroo_Reports_Linux_server

# cd /opt

# bzr branch https://launchpad.net/aeroo

# bzr branch https://launchpad.net/aeroolib

Please check the directory containing bzrlib is on your PYTHONPATH.

解決: 切換到python2.6再安裝

# bzr branch https://launchpad.net/aeroo

# bzr branch https://launchpad.net/aeroolib

Aeroo Reports Installation

1.Install Aeroo Reports Library - Python module:

# su - openerp

$ bzr branch lp:aeroolib

$ cd aeroolib/aeroolib

-- $ python ./setup.py install

$ /opt/openerp/GreenOdoo/runtime/python/bin/python ./setup.py install

結果:

Installed /opt/openerp/GreenOdoo/runtime/python/lib/python2.7/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg

Searching for lxml==2.3

Best match: lxml 2.3

Processing lxml-2.3-py2.7-linux-x86_64.egg

lxml 2.3 is already the active version in easy-install.pth

Using /opt/openerp/GreenOdoo/runtime/python/lib/python2.7/site-packages/lxml-2.3-py2.7-linux-x86_64.egg

Finished processing dependencies for aeroolib==1.2.0

重啟

2.Restart openerp-server

3.Install Aeroo - OpenERP module via Administration-> Modules Management

a)Manually: Copy Aeroo modules to $serverpath/openerp-server/addons/..

b)Through OpenERP interface: Administration/Modules/Update Modules List

c)Install necessary modules via OpenERP standard module installation interface:

OpenERP module - report_aeroo

Description of module: This is base Aeroo Report Engine module. It can be installed alone and does only basic .odt/.ods output for reports. No need for OpenOffice/LibreOffice UNO environment setup if you use this module only.

OpenERP module - report_aeroo_ooo

(Do not install at this point! Installation is described in section report_aeroo_ooo installation)

Description of module: This is module for adding additional reports outputs such as .pdf, .doc, .xls. As it depends on OpenOffice/LibreOffice conversion capabilities, an OpenOffice/LibreOffice UNO environment setup is necessary.

OpenERP module - report_aeroo_printscreen

Description of module: This is module for printing any GTK client interface object to desired output. Note: It doesn't work from web client, cause it has no Print Screen capabilities.

OpenERP module - report_aeroo_sample

Description of module: This is module for adding sample reports for easier understanding basic reporting templates.

4.Restart OpenERP server.

If everything went well, system is ready for reports printing basic .odt reports.

瀏覽報錯:

File "/opt/openerp/GreenOdoo/source/addons/report_aeroo/check_deps.py", line 33, in <module>

ImportError: No module named osv

Ubuntu解决办法

在/etc/apt/soureces.list中加入:

deb http://ftp.de.debian.org/debian sid main

不支持8.0 ?

猜你喜欢

转载自wuhuizhong.iteye.com/blog/2076369