Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

Hey everyone,

I’m working on integrating Odoo subscriptions with my app through webhooks, and I’ve been able to make some progress — but I’m stuck on a few fields.


What I Have So Far


I managed to set up a webhook that triggers when the “next invoice date” of a subscription changes. The webhook is connected to my Edge Function, and it’s receiving data correctly.


What I’m Trying to Add


I’d like to include a few more details in the webhook payload, but I couldn’t find them in the subscription model:


Last invoice ID


Status (active, expired, canceled, etc.)


Current period end (right now I’m just using the “next invoice date” as a placeholder)


The Problem


When creating the webhook in Odoo, I couldn’t find a clear way to include these variables — especially the status field. I’m not sure if it’s missing from the subscription model or if it’s stored in a related model (like invoices or analytic accounts).


Has anyone worked with subscription webhooks before or figured out how to include these kinds of fields in the payload? Any pointers or examples would be really helpful.


Thanks!


Avatar
Zrušit

Can you clarify what you're missing exactly, how you're trying to create the webhook and what your configuration is?

Related Posts Odpovědi Zobrazení Aktivita
2
zář 25
552
0
dub 25
1082
0
zář 25
404
0
říj 25
127
2
čvc 25
1348