False into pdf or oo created files
8 posts • Page 1 of 1
False into pdf or oo created filesHi,
I am trying since 2 days to get the openoffice.org reporting engine to work with openErp 5.0.7 on debian lenny. The only thing I get in my report (pdf or oo) are False value. I did a sample invoice and did put objects[0].name into a text placeholder field. Also tried the inputfield with the same result. I can get the correct pdf with correct content but the values are always replaced by False. Do you know what I could try or how to debug this. Here are the package I did install on lenny : apt-get install libxml2-dev libxslt1-dev python-uno python-genshi python-yaml python-cairo python-pycha easy_install relatorio apt-get install openoffice.org-calc openoffice.org-core openoffice.org-draw \ openoffice.org-headless openoffice.org-impress openoffice.org-writer openoffice.org-java-common Thanks, Herve
Re: False into pdf or oo created filesHi,
let's start with the simplest example - are you able to reproduce this by following the tutorial: http://kndati.lv/index.php/en/openerp/open-erp-addons/reporting-engine/78-first-report If you have no luck with it, check the log file and console. You may want to start server in the debug mode. Please try and report back... Kaspars
Re: False into pdf or oo created filesI am able to reproduce the sample except that in the generated pdf, I get "False" as the value replaced for the objects[0].name.
Screenshot of the configured report : http://couplet.be/temp/erp/rapportXLM.gif Screenshot of the configured action : http://couplet.be/temp/erp/action.gif OO template : (using OO 3.2 on mac OS X) http://couplet.be/temp/erp/Sample_Invoice Screenshot of the invoice screen with the sample invoice button : http://couplet.be/temp/erp/invoice.gif The generated pdf with the False replaced : http://couplet.be/temp/erp/openerp_invo ... output.pdf Herve
Re: False into pdf or oo created filesI sorry, but I can not download the screenshots...
I get "The connection has timed out" B.R., Kaspars
Re: False into pdf or oo created filesCould you try again.
We had a Power outage at home. Also to complete my previous response. I did try to enable debug on the server and I get no debug/info/error message when I open the pdf report except some debug msg on connection pool. I used options : --log-level=debug and --debug options. Herve
Re: False into pdf or oo created filesI tried to upgrade to openoffice 3.1.1-15 from debian backports.
This didn't change anything. I still have the False in the generated pdf. Packages list with version : http://couplet.be/temp/erp/pkglist.txt
Re: False into pdf or oo created filesThis is normal, in this case... You have "name" field, which is "Description" on the form - which is empty for this invoice. Try to print the same report for other invoice which has something written in the field.
Ok, I agree, that this is a bit awkward, we would expect empty string. Still this is how it is, at least now. Kaspars
Re: False into pdf or oo created files
Thanks for your help. This solve my problem. Herve
8 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED

