← Back to team overview

openerp-india team mailing list archive

[Bug 988732] Re: [trunk] report_sxw localcontext does not contain a parameter 'tz' required for the conversion time

 

*** This bug is a duplicate of bug 979550 ***
    https://bugs.launchpad.net/bugs/979550

** This bug has been marked a duplicate of bug 979550
   Needing standard/good functions for date/time output in user's timezone for account reports

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

Title:
  [trunk] report_sxw localcontext does not contain a parameter 'tz'
  required for the conversion time

Status in OpenERP Server:
  New

Bug description:
  class rml_parse(object):
  ...
  def formatLang:
  ....
  # Convert datetime values to the expected client/context timezone
  date = datetime_field.context_timestamp(self.cr, self.uid,
                                                          timestamp=date,
                                                          context=self.localcontext)

  but self.localcontext['tz'] not exist
  Namely, it influences the further conversion of time

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


References