after odoo/cc4fba60, accept Registry in close_all
Merge pull request #67 from yvaucher/fixes-66

after odoo/cc4fba60, accept Registry in close_all