@@ -201,21 +201,33 @@ status:
201201 value: "3"
202202 timestamp: "2025-06-20T13:00:00Z"
203203 state: "sent|pending|failed"
204+ itemDescription: "Human readable description"
205+ itemGroupDescription: "My Item Group"
206+ unitID: "yunit"
204207 - type: "scaled"
205208 productId: "Y"
206209 value: "3"
207210 timestamp: "2025-05-20T13:00:00Z"
208211 state: "sent|pending|failed"
212+ itemDescription: "Human readable description"
213+ itemGroupDescription: "My Item Group"
214+ unitID: "yunit"
209215 - type: "scaled"
210216 productId: "Y"
211217 value: "2"
212218 timestamp: "2025-04-20T13:00:00Z"
213219 state: "sent|pending|failed"
220+ itemDescription: "Human readable description"
221+ itemGroupDescription: "My Item Group"
222+ unitID: "yunit"
214223 - type: "created"
215224 productId: "X"
216225 value: "1"
217226 timestamp: "2025-03-20T13:00:00Z"
218227 state: "sent|pending|failed"
228+ itemDescription: "Human readable description"
229+ itemGroupDescription: "My Item Group"
230+ unitID: "xunit"
219231 conditions:
220232 - lastTransitionTime: "2024-05-25T15:35:02Z"
221233 reason: ReconcileSuccess
@@ -238,6 +250,11 @@ status:
238250<9> `spec.value` for a generic naming, as not all product quantities can be described as a size.
239251<10> Events track the state of each of the products associated.
240252
253+ [NOTE]
254+ ====
255+ Because product items in `spec` can be deleted, we store the full item details in `status.events` to retain history.
256+ ====
257+
241258[NOTE]
242259====
243260For a complete reference of all fields in this CR, see the https://docs.central.vshn.ch/event-billing-ingestion.html[Odoo documentation].
0 commit comments