Hello, I need help to understand what has happened in Odoo v15 regarding the 'get_object_reference' method call is now called '_xmlid_lookup'
modifying my migration compiler when I use that method I can't call '_xmlid_lookup' because it is private
Is there another way to get to use the equivalent of self.env.ref('') but for XMLRPC?
In Odoo V13 and Odoo V14 I used:
self.ServerProxyObjects.execute_kw('db', '4', '12345','ir.model.data', 'get_object_reference', ['base.USD'])
In Odoo v15 would be similar:
self.ServerProxyObjects.execute_kw('db', '4', '12345','ir.model.data', '_xmlid_lookup', ['base.USD'])
But _xmlid_lookup is private, result in console:
xmlrpc.client.Fault:xmlrpc.client.Fault: Fault 4: 'Private methods (such as _xmlid_to_res_id) cannot be called remotely