Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/modules/ROOT/pages/adr/0033-event-based-billing-oddo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,33 @@ status:
value: "3"
timestamp: "2025-06-20T13:00:00Z"
state: "sent|pending|failed"
itemDescription: "Human readable description"
itemGroupDescription: "My Item Group"
unitID: "yunit"
- type: "scaled"
productId: "Y"
value: "3"
timestamp: "2025-05-20T13:00:00Z"
state: "sent|pending|failed"
itemDescription: "Human readable description"
itemGroupDescription: "My Item Group"
unitID: "yunit"
- type: "scaled"
productId: "Y"
value: "2"
timestamp: "2025-04-20T13:00:00Z"
state: "sent|pending|failed"
itemDescription: "Human readable description"
itemGroupDescription: "My Item Group"
unitID: "yunit"
- type: "created"
productId: "X"
value: "1"
timestamp: "2025-03-20T13:00:00Z"
state: "sent|pending|failed"
itemDescription: "Human readable description"
itemGroupDescription: "My Item Group"
unitID: "xunit"
conditions:
- lastTransitionTime: "2024-05-25T15:35:02Z"
reason: ReconcileSuccess
Expand All @@ -238,6 +250,11 @@ status:
<9> `spec.value` for a generic naming, as not all product quantities can be described as a size.
<10> Events track the state of each of the products associated.

[NOTE]
====
Because product items in `spec` can be deleted, we store the full item details in `status.events` to retain history.
====

[NOTE]
====
For a complete reference of all fields in this CR, see the https://docs.central.vshn.ch/event-billing-ingestion.html[Odoo documentation].
Expand Down