You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Delete all the line items
for line_item in self.line_items.all():
line_item.delete()
# Add everything back
for s in subscriptions:
self.add_subscription(s)
for d in coworking_days:
self.add_coworking_day(d)
# !!! What about events??
for c in custom_items:
c.save()
Oh, it looks like the event I was testing with got bumped onto another bill, might be because I have been messing around with the data and it's in an invalid state. Will need to investigate further.
However the code snippet above still seems like it should address EventLineItems along with the rest.
Is this intentional?
https://github.com/nadineproject/nadine/blob/master/nadine/models/billing.py#L628-L638
The text was updated successfully, but these errors were encountered: