addons14/base_rest_demo/services/exception_services.py
def access_error(self):
        """
        Simulate an odoo.exceptions.AccessError
        Should be translated into Forbidden without description into the json
        body
        """
        raise AccessError(_("Access error message"))

        Simulate an odoo.exceptions.AccessError
        Should be translated into Forbidden without description into the json
        body
        
Simulate an odoo.exceptions.AccessError
Should be translated into Forbidden without description into the json
body
Simulate an odoo . exceptions . AccessError Should be translated into Forbidden without description into the json body
def access_error(self):
        raise AccessError(_("Access error message"))
def access_error ( self ) : raise AccessError ( _ ( "Access error message" ) )
Simulate an odoo.exceptions.AccessError
Should be translated into Forbidden without description into the json
body
Simulate an odoo . exceptions . AccessError Should be translated into Forbidden without description into the json body
"""
        Simulate an odoo.exceptions.AccessError
        Should be translated into Forbidden without description into the json
        body
        """
self