This commit is contained in:
PCoder 2019-04-13 14:43:39 +02:00
parent a4427dd3af
commit 869f74e4e6

View file

@ -351,7 +351,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model):
# found in the line item
unit_amount=item.unit_amount if hasattr(item, "unit_amount") else 0
)
line_item_instance.assign_permission(instance.customer.user)
line_item_instance.assign_permissions(instance.customer.user)
instance.assign_permissions(instance.customer.user)
return instance