I would like to use smart_attr to determine the weight_unit of a product variation. It works great for finding the weight but it doesn't seem to work for weight_units.
Does this have to do with the weight_units database field being varchar instead of decimal? This hack works but maybe there is a better way: product/models.py: 752c752 < if val is None: --- > if val is None or val == "": --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
