Streamline previous impl to simply calling self.env.ref as there are no perf penalties in doing so with Odoo 16 (cache works fine).
self.env.ref
--HG-- branch : 16.0