Closed echarlie closed 3 years ago
interesting quirk. We don't have any DB constraints that would cause this problem, do we?
Not that I can think of...
Okay, I think this is why:
def set_shipped(self, shipped_date=None):
if self.premiums is not None:
If premiums is None
, set_shipped
does nothing; in this case, we should hide the "Set as Shipped" button.
Looks good otherwise, this will be a great improvement.
discussion should continue in wuvt/donormotor#22
fixes #278 partially resolves #220