KoalixSwitzerland / koalixcrm

koalixcrm is an Open Source Python CRM and ERP based on django
www.koalix.org
BSD 3-Clause "New" or "Revised" License
531 stars 218 forks source link

Failing to create work report for a human resoure when containing December #242

Closed scaphilo closed 5 years ago

scaphilo commented 5 years ago

When the user wants to create a work report for the range between "dont care" and December, the user receives an unhandled exception "Value Error" The month must be in range between 1..12. The issue is caused by year transition is not properly handled in the function: /var/www/koalixcrm/koalixcrm_env/lib/python3.6/site-packages/koalixcrm/crm/reporting/human_resource.py in serialize_to_xml