From e11dcecd98d4fa615ff6d55c06854627a0124fdf Mon Sep 17 00:00:00 2001 From: Celina Devigili Date: Wed, 24 Sep 2025 13:17:15 -0300 Subject: [PATCH] [ADD] Add warning for deprecated _notify_progress in favor to _commit_progress --- .../text_warnings/migrate_180_190/cron_progress.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml new file mode 100644 index 00000000..067650a3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml @@ -0,0 +1,2 @@ +.py: + _notify_progress\(: "[19] _notify_progress is deprecated. Use _commit_progress instead. IMPORTANT: _commit_progress automatically commits the transaction, so remove any subsequent self.env.cr.commit() calls. Review documentation and examples: https://github.com/odoo/odoo/pull/207082/commits"