Skip to content

Commit

Permalink
[IMP] Add error messages for deprecated '_check_recursion' and '_chec…
Browse files Browse the repository at this point in the history
…k_m2m_recursion' methods, replaced by '_has_cycle'

More info here: odoo/odoo#162656
  • Loading branch information
lef-adhoc committed Nov 14, 2024
1 parent 9014d66 commit e0028d5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.py:
\b\w+\._check_recursion\([^)]*\):
"[Error] The method '_check_recursion' is deprecated and replaced by '_has_cycle' for performance improvements. More details: https://github.com/odoo/odoo/pull/162656"

\b\w+\._check_m2m_recursion\([^)]*\):
"[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 comments on commit e0028d5

Please sign in to comment.