Mostly following changes at 7f8631a913 closes odoo/odoo#30072
7f8631a913
57e387b645
TestCursor
Cursor