FreeGeekTwinCities / portero

A volunteer-management frontend for OpenERP, used at Free Geek Twin Cities.
http://freegeektwincities.org
GNU General Public License v3.0
3 stars 2 forks source link

Hours import script (issue #8) errors if user has already signed in #20

Closed bdunnette closed 11 years ago

bdunnette commented 11 years ago

If we try to import old timesheets for a user who's already signed in, OpenERP gives an error to the effect that "Sign in (resp. Sign out) must follow Sign out (resp. Sign in)"

Current work-around is to do import before user signs in to OpenERP (added reminder to do this in d6bf95afd061d751813ad036d97ee49b56320bf5)

bdunnette commented 11 years ago

Fixed in commit 3a7a40c895aea1528fc38a99865b2048eba0061e by importing timesheets "backwards" (latest-first)