Skip to content

Commit 58739b8

Browse files
committed
[IMP] Add error messages for deprecated '_check_recursion' and '_check_m2m_recursion' methods, replaced by '_has_cycle'
More info here: odoo/odoo#162656
1 parent 9014d66 commit 58739b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.py:
2+
\b\w+\._check_recursion\(\):
3+
"[Error] The method '_check_recursion' is deprecated and replaced by '_has_cycle' for performance improvements. More details: https://github.com/odoo/odoo/pull/162656"
4+
5+
\b\w+\._check_m2m_recursion\([^)]*\):
6+
"[Error] The method '_check_m2m_recursion' is deprecated and replaced by '_has_cycle' for performance improvements in checking cyclic dependencies. More details: https://github.com/odoo/odoo/pull/162656"

0 commit comments

Comments
 (0)