I was trying to call a function when the page is loaded, I made some changes to the XML but none worked, for example:
field name="code">action = env['res.config.settings'].set_values()
I didn't find any viable method for odoo 14, does anyone have any suggestions?