Skip to content

Commit

Permalink
Change translation method
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbristow committed Jan 9, 2025
1 parent 47fc8c4 commit 3e16cb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mail_debrand/tests/test_mail_debrand_digest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from werkzeug.urls import url_join

from odoo import _
from odoo.tests import common, tagged


Expand Down Expand Up @@ -41,7 +40,7 @@ def test_mail_digest(self):
engine="qweb_view",
add_context={
"title": self.mail_digest_id.name,
"top_button_label": _("Connect"),
"top_button_label": self.env._("Connect"),
"top_button_url": url_join(web_base_url, "/web/login"),
"company": self.env.user.company_id,
"user": self.env.user,
Expand Down

0 comments on commit 3e16cb9

Please sign in to comment.