openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08370
[Bug 933571] Re: Some python time function not working in Open Office report designer
Hello Amit!
I tried again and I can't reproduce it systematically anymore so you can
close it for now. I don't know why but I suspect that some formatting of
OpenOffice sometimes disturb it.
If I find a way to reproduce the bug systematically I will re-open.
Thanks!
--
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