Skip to content

Commit

Permalink
[FIX] CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasfrancke committed Feb 24, 2025
1 parent a9dc59b commit c925334
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions payment_bitcoin/models/bitcoin.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import codecs
import logging
from datetime import datetime, timedelta as td
from datetime import date, datetime, timedelta as td
from hashlib import sha256

import requests
from dateutil.relativedelta import relativedelta
from datetime import date

from odoo import _, api, fields, models
from odoo.exceptions import UserError, ValidationError
Expand Down Expand Up @@ -389,10 +388,10 @@ def send_bitcoin_address_goes_low_notification(self):
group = self.sudo().env.ref("account.group_account_user", False)
if group:
groups += group

partners = groups.mapped("users").mapped("partner_id")
activity_type = self.env.ref("mail.mail_activity_data_todo")

for partner in partners:
self.env["mail.activity"].create(
{
Expand Down

0 comments on commit c925334

Please sign in to comment.