Closed jerzyk closed 1 year ago
@jerzyk Thanks for the information. I didn't know that Odoo has that feature. I will add support for custom auth methods in a future release.
Hi @jerzyk . The new version 2023.6.2 has been released with support for custom auth methods. The Odoo plugin now also provides the ability to navigate to auth method implementations.
works perfectly! thanks!
route decorator (odoo.http.route) accepts
auth
arguments that has 3 optionsif you would like to add additional auth method, there is a false positive error
you can add new methods, by adding
_auth_method_<name>
class method to ir.http modelso there is a possibility to check for valid newly defined methods