← Back to team overview

openerp-india team mailing list archive

[Bug 949516] Re: Workflow doesn't propagate context - needed for correct date generation

 

Indeed, it seems important else the date of many records will simply be wrong...
Please also consider merging NaN and Akretion work to have workflow passing the context into 6.2 as it didn't make it into 6.1:
https://code.launchpad.net/~openerp-community/openobject-server/context-in-workflows/+merge/85518

-- 
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:
  Workflow doesn't propagate context - needed for correct date
  generation

Status in OpenERP Server:
  New

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