openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08337
[Bug 933571] Re: Some python time function not working in Open Office report designer
Hello Nicolas Réau,
I have checked your issue with the use of different python function in
report. But I did not face any problem. I have attached the report. So
would you please check it and notify us where you have faced the
problem.
Thank you and waiting for your reply!
** Attachment added: "report working fine with [[ time.strftime(time.ctime()[-4:]) ]]"
https://bugs.launchpad.net/openobject-addons/+bug/933571/+attachment/2796924/+files/report_ctTime.pdf
** Changed in: openobject-addons
Status: New => Incomplete
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/933571
Title:
Some python time function not working in Open Office report designer
Status in OpenERP Addons (modules):
Incomplete
Bug description:
I'm currently writing new reports using the Open Office designer. I
need to display the current date. I tried a few things according to
this documentation:
http://doc.openerp.com/v6.0/developer/3_11_reports/11_1_openoffice_report.html
#dynamic-content-in-openoffice-reports
As a result,
[[ time.ctime() ]] does york correctly and output the date and time in
the report.
BUT, [[ time.strftime(time.ctime()[0:10]) ]] or [[
time.strftime(time.ctime()[-4:]) ]] to prints only date (that would be
handy) doesn't work and is output as is, as normal text in the
report.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/933571/+subscriptions
References