Skip to content

Commit 147a98c

Browse files
committed
Merge PR #157 into master
Signed-off-by jjscarafia
2 parents bf49cee + c470951 commit 147a98c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.py:
2+
pytz\.timezone\(\s*self\.env\.(context\.get\(\s*['"']tz['"']|user\.tz):
3+
"[19] Replace manual timezone handling with 'self.env.tz'. This new property provides automatic timezone resolution with proper fallbacks (context -> user -> UTC). More info: https://github.com/odoo/odoo/pull/221541"
4+
timezone\(\s*self\.env\.(context\.get\(\s*['"']tz['"']|user\.tz):
5+
"[19] Replace manual timezone handling with 'self.env.tz'. This new property provides automatic timezone resolution with proper fallbacks (context -> user -> UTC). More info: https://github.com/odoo/odoo/pull/221541"
6+
(\w+)\.env\.context\.get\(\s*['"']tz['"']:
7+
"[19] Replace manual timezone context access with 'env.tz'. This new property provides automatic timezone resolution with proper fallbacks (context -> user -> UTC). More info: https://github.com/odoo/odoo/pull/221541"

0 commit comments

Comments
 (0)