Hi all. The function _get_remaining_leaves appear to have an error. The days should be reset to 0 after every holiday_user iteration, i.e. :
result[holiday_user.id] = days days = 0 Otherwise the days will be cumulative and the subsequent result will be wrong. I am checking 5.0.0-rc3. I don't know if this has been fixed in the trunk. Thanks. Mugoma, Yengas. _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
