← 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

 

landed in trunk
revno: 6007
revision-id: rco@xxxxxxxxxxx-20111216155153-lt4au03b2vq1b3hj


** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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