From eb0658693076846df03e7754d931d4b0cf770ad9 Mon Sep 17 00:00:00 2001 From: lafetz Date: Fri, 26 Jun 2026 21:49:39 +0300 Subject: [PATCH] odoo sample --- odoo/amp.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 odoo/amp.yaml diff --git a/odoo/amp.yaml b/odoo/amp.yaml new file mode 100644 index 0000000..8fa566f --- /dev/null +++ b/odoo/amp.yaml @@ -0,0 +1,51 @@ +specVersion: 1.0.0 +integrations: + - name: odooIntegration + displayName: Odoo Integration + provider: odoo + read: + objects: + - objectName: crm.iap.lead.role + destination: odooWebhook + schedule: "*/10 * * * *" + requiredFields: + - fieldName: id + - fieldName: name + - fieldName: write_date + optionalFieldsAuto: all + backfill: + defaultPeriod: + days: 15 + + - objectName: crm.lead + destination: odooWebhook + schedule: "*/10 * * * *" + requiredFields: + - fieldName: id + - fieldName: name + - fieldName: write_date + optionalFieldsAuto: all + backfill: + defaultPeriod: + days: 15 + + - objectName: res.partner + destination: odooWebhook + schedule: "*/10 * * * *" + requiredFields: + - fieldName: id + - fieldName: name + - fieldName: write_date + optionalFieldsAuto: all + backfill: + defaultPeriod: + days: 15 + + write: + objects: + - objectName: crm.iap.lead.role + - objectName: crm.lead + - objectName: res.partner + + proxy: + enabled: true