From b27266074f74bc99464f3c502cb7faf91dd7d91f Mon Sep 17 00:00:00 2001 From: SodexisTeam Date: Thu, 14 Dec 2023 16:42:30 +0530 Subject: [PATCH] [MIG] mail_outbound_static: Migration to 17.0 --- mail_outbound_static/README.rst | 5 ---- mail_outbound_static/__manifest__.py | 2 +- mail_outbound_static/models/ir_mail_server.py | 6 ++--- mail_outbound_static/readme/ROADMAP.md | 1 - .../static/description/index.html | 25 ++++++++----------- 5 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 mail_outbound_static/readme/ROADMAP.md diff --git a/mail_outbound_static/README.rst b/mail_outbound_static/README.rst index f17d7fa39..39a848017 100644 --- a/mail_outbound_static/README.rst +++ b/mail_outbound_static/README.rst @@ -66,11 +66,6 @@ Usage - Set the Email From option to an email address - Set the Domain Whitelist option with the domain whitelist -Known issues / Roadmap -====================== - - - Bug Tracker =========== diff --git a/mail_outbound_static/__manifest__.py b/mail_outbound_static/__manifest__.py index 5f7bbc7b3..2c209a8bd 100644 --- a/mail_outbound_static/__manifest__.py +++ b/mail_outbound_static/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Mail Outbound Static", "summary": "Allows you to configure the from header for a mail server.", - "version": "16.0.1.0.2", + "version": "17.0.1.0.0", "category": "Discuss", "website": "https://github.com/OCA/social", "author": "brain-tec AG, LasLabs, Adhoc SA, Odoo Community Association (OCA)", diff --git a/mail_outbound_static/models/ir_mail_server.py b/mail_outbound_static/models/ir_mail_server.py index d115e9801..f4778f227 100644 --- a/mail_outbound_static/models/ir_mail_server.py +++ b/mail_outbound_static/models/ir_mail_server.py @@ -136,13 +136,13 @@ class IrMailServer(models.Model): @api.model_create_multi def create(self, vals_list): - self.clear_caches() + self.env.registry.clear_cache() return super().create(vals_list) def write(self, values): - self.clear_caches() + self.env.registry.clear_cache() return super().write(values) def unlink(self): - self.clear_caches() + self.env.registry.clear_cache() return super().unlink() diff --git a/mail_outbound_static/readme/ROADMAP.md b/mail_outbound_static/readme/ROADMAP.md deleted file mode 100644 index 8b1378917..000000000 --- a/mail_outbound_static/readme/ROADMAP.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/mail_outbound_static/static/description/index.html b/mail_outbound_static/static/description/index.html index 0a2ca88ef..9e17aeec0 100644 --- a/mail_outbound_static/static/description/index.html +++ b/mail_outbound_static/static/description/index.html @@ -1,4 +1,3 @@ - @@ -400,12 +399,11 @@ is not mail server configured in the system.
-
-

Known issues / Roadmap

-
-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -430,9 +425,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • brain-tec AG
  • LasLabs
  • @@ -440,7 +435,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
-

Contributors

+

Contributors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose