cseg-michigan / chez-betty

UM CSEG Food Co-Op Management Software
24 stars 22 forks source link

Manually adding user purchase results in exception #331

Closed westbl closed 5 years ago

westbl commented 5 years ago

Adding a user purchase in the admin panel results in an exception; the relevant part of the error log seems to be ValueError: invalid literal for int() with base 10: 'user-0000' (where 0000 is the ID of the user whose account the purchase is being applied to). Probably just need to parse a string to remove the user- text before converting to an int.

westbl commented 5 years ago

Fixed in 6acf05d