← Back to team overview

openerp-india team mailing list archive

[Bug 1072195] Re: when creating new task work time line the automatic date is not in user timezone

 

In file project/project.py @ class project_work:

  _defaults = {
        'user_id': lambda obj, cr, uid, context: uid,
        'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S')
    }

should be replaced:

  _defaults = {
        'user_id': lambda obj, cr, uid, context: uid,
        'date': fields.datetime.now
    }

** Branch linked: lp:openobject-addons/6.1

-- 
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/1072195

Title:
  when creating new task work time line the automatic date is not in
  user timezone

Status in OpenERP Addons (modules):
  New

Bug description:
  openerp 6.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1072195/+subscriptions


References