sbidoul / typodoo

Towards idiomatic Python with types for Odoo models.
MIT License
39 stars 2 forks source link

Fix access to a fetched recordset after registry cleanup #5

Open lmignon opened 1 week ago

lmignon commented 1 week ago

If a method cleanup the registry, the access to a recordset already fetched will lead to the instantiation of a new class from the registry with ids and prefetch_ids as args