← Back to team overview

openerp-india team mailing list archive

[Bug 949516] Re: default date values improperly set in UTC during actions triggered via workflows

 

The correction described in previous comment was applied in 7.0 server
at revision 4783 rev-id: odo@xxxxxxxxxxx-20130111175717-u8r1t7s8872bz2rx

Thanks for reporting!

** Summary changed:

- Workflow doesn't propagate context - needed for correct date generation 
+ default date values improperly set in UTC during actions triggered via workflows

** Changed in: openobject-server
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/949516

Title:
  default date values improperly set in UTC during actions triggered via
  workflows

Status in OpenERP Server:
  Fix Released

Bug description:
  The function in fields.date, context_today, uses the context variable
  'tz'.  Since context is not passed by workflow triggers, dates
  generated by workflow transitions are picking up UTC date, not the
  client's timezone date.

  For example, validating a customer invoice that has no invoice date.

  This is possibly related to bug:434266

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


References