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>
2 lines
19 B
Python
2 lines
19 B
Python
from . import main
|