I see there is a function in odoo15 to update XML id of existing record.
'record': obj().env.ref('point_of_sale.desk_organizer').product_tmpl_id, 'noupdate': True,
}]"/>
I have records in hr.leave.type.
i want to update one of its XML id. which is currently set as '/'.
how can i resue this function?