It is currently Sun Feb 12, 2012 11:04 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 72 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: ANNOUNCE: new module report_openoffice released
PostPosted: Tue Oct 20, 2009 11:51 am 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
Hi all,
I just released the new module 'report_openoffice'.
You can find on trunk-addons-community.
You also find a module called report_openoffice_samples which contains examples (only invoice, till now) on how to create openoffice reports.

I must say that just right now I found that there's another module, called relatorio_report, which makes use of relatorio to generate reports.

I had a look at it and it seems to me that it loses many things, for example:
- it overrides completly the create_odt method of OE thus you can generate odt report with the std system anymore;
- it doesn't support PDF attachment storing;
- it doesn't generate PDFs trough openoffice;

BTW, I'm sure we can work together with Wei Li, the author of that module, to improve this module.

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 1:02 pm 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
Hi, thank you for this module but I have an error when i try to install this module:
Environment Information :
System : Windows-32bit-SP2
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 244, in dispatch
File "netsvc.pyo", line 73, in __call__
File "service\web_services.pyo", line 639, in execute
File "service\web_services.pyo", line 619, in _execute
File "wizard\__init__.pyo", line 178, in execute
File "wizard\__init__.pyo", line 74, in execute_cr
File "C:\Program Files\OpenERP Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
File "pooler.pyo", line 62, in restart_pool
File "pooler.pyo", line 40, in get_db_and_pool
File "addons\__init__.pyo", line 728, in load_modules
File "addons\__init__.pyo", line 578, in load_module_graph
File "addons\__init__.pyo", line 400, in register_class
File "C:\Program Files\OpenERP Server\addons\report_openoffice\__init__.py", line 1, in <module>
File "C:\Program Files\OpenERP Server\addons\report_openoffice\report_openoffice.py", line 30, in <module>
ImportError: No module named relatorio.templates.opendocument
thanks,

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 1:36 pm 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
Hi logic_openerp,
sorry, my fault... I forgot to add the file REQUIRES.txt in the module.

BTW, you need the following packages to be installed in the system:

- relatorio
- openoffice-python

You can install them via easy_install:
easy_install relatorio
easy_install openoffice-python

- openoffice.org


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 2:03 pm 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
simahawk wrote:
Hi logic_openerp,
sorry, my fault... I forgot to add the file REQUIRES.txt in the module.

BTW, you need the following packages to be installed in the system:

- relatorio
- openoffice-python

You can install them via easy_install:
easy_install relatorio
easy_install openoffice-python

- openoffice.org


Thank you,
But what is "easy_install"?
thanks

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 2:09 pm 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
Hi,
since you are on Windows, the fastest way to have it is:
download ez_setup.py from http://peak.telecommunity.com/dist/ez_setup.py
and launch it with python ez_setup.py

Then you will have the command easy_install.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 3:20 pm 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
It's not working. Is there an other way to install relatorio and openoffice-python?
Thanks

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 3:43 pm 
Offline

Joined: Fri Oct 21, 2005 12:40 pm
Posts: 170
Location: Turin, Italy
logic_openerp wrote:
It's not working. Is there an other way to install relatorio and openoffice-python?
Thanks


easy_install is the official way to install python modules

if you use MS Windows, you need to specify the path of python and easy_install into the enviroment variable PATH.

if this procedure is too complex, ask MS for a refund :)
On GNU/Linux and Mac you need to do nothing, it just works

_________________
Davide Corio
http://www.domsense.com - http://www.agilebg.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 3:44 pm 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
What do you mean exactly with "It's not working"?

BTW, if you google for "easy_install windows" you can find something useful, such as:

http://blog.sadphaeton.com/2009/01/20/p ... ython.html


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 3:59 pm 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
I can install easy_install command but when I want to use it, the window of the command appear and then disappear!!!
Thank you

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 20, 2009 4:19 pm 
Offline

Joined: Fri Oct 21, 2005 12:40 pm
Posts: 170
Location: Turin, Italy
logic_openerp wrote:
I can install easy_install command but when I want to use it, the window of the command appear and then disappear!!!
Thank you


how do you launch it?

You have to open a msdos prompt, and then run:
easy_install nome_of_the_module

_________________
Davide Corio
http://www.domsense.com - http://www.agilebg.com


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 21, 2009 9:34 am 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
I succeeded in installing relatorio and openoffice-python with easy_install but I have again the same error!!!
Thanks

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 21, 2009 10:05 am 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
Do you mean the first error "ImportError: No module named relatorio.templates.opendocument" ?

In that case I think you have some problem with the location of your python libs.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 21, 2009 10:55 am 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
simahawk wrote:
Do you mean the first error "ImportError: No module named relatorio.templates.opendocument" ?

Yes, this is the first error.

In that case I think you have some problem with the location of your python libs.


So, where I must put relatorio and openoffice-python? In C:\Program Files\OpenERP Server\library.zip?
Thanks

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 21, 2009 4:39 pm 
Offline

Joined: Wed Apr 08, 2009 2:30 pm
Posts: 73
Sorry, I don't know :)

I'm not use to develop on Win... but I'll try asap on a virtual machine and I'll let you know if I win ;)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 21, 2009 5:19 pm 
Offline

Joined: Mon Mar 30, 2009 3:10 pm
Posts: 52
OK!!
Thank you for everything!

_________________
Cordialement,
Guillaume Roche.
Logical Soft


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 72 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP