Allow third parties services to contact a base_automation via the route "/web/hook/<uuid>" Base Automations now have an additional field "record_getter", which contains a python expression that should return a record set on which the webhook will apply. A base automation configured as a webhook takes in its eval_context, the "payload", that is, a shortcut to the request's data. task-id-3450200 Part-of: odoo/odoo#135932 Co-authored-by: Damien Bouvy <dbo@odoo.com>
6 lines
147 B
Python
6 lines
147 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import models
|
|
from . import controllers
|