Skip to content

Commit 5f0b7e8

Browse files
committed
[ADD] Add warning to deprecate _notify_progress in favor of _commit_progress
1 parent 9dbc566 commit 5f0b7e8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
2+
3+
from odoo_module_migrate.base_migration_script import BaseMigrationScript
4+
5+
6+
class MigrationScript(BaseMigrationScript):
7+
pass
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.py:
2+
_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"

0 commit comments

Comments
 (0)