openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08386
[Bug 933571] Re: Some python time function not working in Open Office report designer
Hello Nicolas Réau,
Thanks for you gentle reply. So I am closing this Issue.
Thanks!
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
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):
Invalid
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