Maintainers
This module is part of the cetmix/cetmix-tower project on GitHub.
You are welcome to contribute.
This module implements incoming webhooks for Cetmix Tower. Webhooks are authorised using customisable authenticators which can be pre-configured and reused across multiple webhooks. Webhooks and authenticators can be exported and imported using YAML format, which makes them easily sharable.
This module is a part of Cetmix Tower, however it can be used to manage any other odoo applications.
Please refer to the official documentation for detailed information.
Table of contents
Although Odoo has native support of webhooks staring 17.0, they still have some limitations. Another option is the OCA ‘endpoint’ module which although is more flexible still makes it usable with Cetmix Tower more complicated.
⚠️ WARNING: You must be a member of the “Cetmix Tower/Root” group to configure authenticators.
Complete the following fields:
The code returns the result variable in the following format:
result = {"allowed": <bool, mandatory, default=False>, "http_code": <int, optional>, "message": <str, optional>}
eg:
result = {"allowed": True} result = {"allowed": False, "http_code": 403, "message": "Sorry..."}
⚠️ WARNING: You must be a member of the “Cetmix Tower/Root” group to configure webhooks.
Complete the following fields:
Webhook code returns a result using the Cetmix Tower Python command pattern:
result = {"exit_code": <int, default=0>, "message": <string, default=None}
To configure the time for which the webhook call logs are stored:
Please refer to the official documentation for detailed configuration instructions.
When a request is received, Cetmix Tower will search for the webhook with the matching endpoint and authenticate the request using the selected authenticator. In case of successful authentication webhook code is run. Each webhook call is logged. Logs are available under the “Cetmix Tower > Logs > Webhook Calls” menu or under the “Logs” button directly in the Webhook.
Please refer to the official documentation for detailed usage instructions.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
This module is part of the cetmix/cetmix-tower project on GitHub.
You are welcome to contribute.