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

Bug #898556 reported by conexus.at
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

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,

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kuldeep Joshi(OpenERP) (kjo-openerp) wrote :

Hello, Thanks For Reporting.
It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-898556-kjo
revision-id: <email address hidden>
revno: 5871
It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

landed in trunk
revno: 6007
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.