Skip to content
Snippets Groups Projects
Commit 0a6689ea authored by Kevin Baptiste's avatar Kevin Baptiste
Browse files

[FIX] google_drive: fix deprecation date check


Original PR: #96572

closes odoo/odoo#97168

X-original-commit: 5a53d0d6
Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent 2433d5da
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ class GoogleDrive(models.Model):
_description = "Google Drive templates config"
def _module_deprecated(self):
return GOOGLE_AUTH_DEPRECATION_DATE > fields.Date.today()
return GOOGLE_AUTH_DEPRECATION_DATE < fields.Date.today()
def get_google_drive_url(self, res_id, template_id):
if self._module_deprecated():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment