openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #02429
[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
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-898556-kjo
--
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/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 Committed
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