I need some assistance to know what alternative can be used to return a many2one field domain within a method with the api.onchange decorator, and avoid the warning: onchange method 'any_method_name' returned a domain, this is deprecated.
I know about the existence of the web_domain_field module, but I would like to know if there is any alternative using odoo's own functionalities.
Thank you very much in advance.