Skip to content

Commit

Permalink
Fix issue with date
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap committed Mar 27, 2024
1 parent 29a7388 commit 7904691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion membership_subscription/models/sale_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class SaleSubscription(models.Model):

def calculate_recurring_next_date(self, start_date):
if self.account_invoice_ids_count == 0:
self.recurring_next_date = date.today
self.recurring_next_date = date.today()
else:
if self.sale_subscription_line_ids.mapped("product_id").filtered(
lambda x: x.first_of_period_billing_policy
Expand Down

0 comments on commit 7904691

Please sign in to comment.