Closed ivantodorovich closed 9 months ago
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-1500-by-simahawk-bump-patch, awaiting test results.
Congratulations, your PR was merged at f833d61106af30554d726953b35bc29676fb68cc. Thanks a lot for contributing to shopinvader. ❤️
This context manager has been deprecated since many versions now, and it's not doing absolutely anything.
It was originally used to prevent computed fields to be recomputed when their dependencies are updated, but that's not the case anymore since the apparition of
flush
, where the recomputation is delayed.See: https://github.com/odoo/odoo/blob/be4c1502/odoo/api.py#L823-L826 Also: https://github.com/odoo/odoo/commit/9920f20e