Webhook

Technical Name:
webhook
Version:
10.0
License:
Author:
Vauxoo
  • Odoo Version

Webhook

Module to receive webhook events. This module invoke methods to process webhook events.

Configuration

You will need create a new module to add your logic to process the events with methods called: def run_CONSUMER_EVENT*

Example with gihub consumer and push event.

Where CONSUMER is the name of you webhook consumer. e.g. github (Extract from field name of webhook model) Where EVENT is the name of the event from webhook request data. Where * is your particular method to process this event.

To configure a new webhook you need add all ip or subnet address (with ip/integer) owned by your webhook consumer in webhook.address model as data.

Example with github:

You need to add a python code to extract event name from webhook request info into python_code_get_event field of webhook model. You can get all full data of request webhook from variable request Example with github:

Full example of create a new webhook configuration data.

alternative description

Usage

To use this module, you need to:

  1. Go to your customer webhook configuration from 3rd-party applications and use the odoo webhook url HOST/webhook/NAME_WEBHOOK
Try me on Runbot

Bug Tracker

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 smash it by providing detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Funders

The development of this module has been financially supported by:

  • Vauxoo

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products