Merge pull request #4021 from expsa/dev_odex25_donation

Dev odex25 donation
This commit is contained in:
kchyounes19 2025-07-27 08:10:08 +01:00 committed by GitHub
commit b7fad73bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ class DonationRecurring(models.Model):
for record in self:
record.state = 'cancel'
record.active = False
record.date_end = fields.Date.context_today(self)
def action_reset_to_active(self):
for record in self: