Community mailing list archives

community@mail.odoo.com

Re: Cannot Print Report

by
stefanus Januar
- 12/02/2015 19:39:44
Hi Karthik,

This error comes from default report module in layouts.xml, in this line :

<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>

I suspect there is a missing configuration in database but I couldn't find it.
I've attached the file.

Regards,

Stefanus Januar

On Thu, Dec 3, 2015 at 1:07 AM, KARTHIK ARUMUGAM <karthik.bect@gmail.com> wrote:
Will you please send the code file that contains

"context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"


On Wednesday 02 December 2015 08:57 PM, Stefanus Januar wrote:
> context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe