← Back to team overview

credativ team mailing list archive

[Bug 898556] Re: Addons rev. 5820 pcalendar.py localization Issue: ValueError: 14.0h is not a valid duration: valid units are: d w m y M H

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/898556

Title:
  Addons rev. 5820 pcalendar.py localization Issue: ValueError: 14.0h is
  not a valid duration: valid units are: d w m y M H

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  Hello,

  Addons rev. 5820

  If the Users language ist set to german and you run the Schedule Phases Wizard, pcalender.py throws the following error:
  ValueError: 14.0h is not a valid duration: valid units are: d w m y M H

  It works fine in english.

  TIME_DELTA_PATTERN = re.compile("([-+]?\\d+(\\.\\d+)?)([dwmyMH])")

  with kind regards,

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


References