← Back to team overview

openerp-india team mailing list archive

[Bug 1060224] [NEW] hr_timesheet: list of month should be locale independent

 

Public bug reported:

Hello,

In module hr_timesheet, there are two places where the list of months
for a selection field is built using strftime().

This creates issues when the server locale is not EN and/or does not
match the user locale. For instance, when exporting translations, the
system crashes on unicode errors (eg. when a month name is Août in
french).

In other addons, the list of months is enumerated in english.

We'll attach a merge proposal.

Best regards,

-sbi

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  hr_timesheet: list of month should be locale independent

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  In module hr_timesheet, there are two places where the list of months
  for a selection field is built using strftime().

  This creates issues when the server locale is not EN and/or does not
  match the user locale. For instance, when exporting translations, the
  system crashes on unicode errors (eg. when a month name is Août in
  french).

  In other addons, the list of months is enumerated in english.

  We'll attach a merge proposal.

  Best regards,

  -sbi

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


Follow ups

References