Set decommission_date on Odoo sale order when org is decommissioned #565

Merged
tobru merged 1 commit from org-decommissioning-odoo into main 2026-06-22 13:17:47 +00:00
Owner

Implements "Signal B" of the org-decommissioning Odoo integration: on Organization.decommission(), write the decommission_date marker (naive UTC, sourced from archived_at) onto the org's Odoo sale.order via XML-RPC. The write is guarded on odoo_sale_order_id and non-fatal: failures are logged, recorded in the decommission audit log, and surfaced to the operator as a warning in both the admin action and the staff decommission view.

Implements "Signal B" of the org-decommissioning Odoo integration: on Organization.decommission(), write the decommission_date marker (naive UTC, sourced from archived_at) onto the org's Odoo sale.order via XML-RPC. The write is guarded on odoo_sale_order_id and non-fatal: failures are logged, recorded in the decommission audit log, and surfaced to the operator as a warning in both the admin action and the staff decommission view.
Set decommission_date on Odoo sale order when org is decommissioned
All checks were successful
Tests / test (push) Successful in 56s
feca702839
Implements "Signal B" of the org-decommissioning Odoo integration: on
Organization.decommission(), write the decommission_date marker (naive UTC,
sourced from archived_at) onto the org's Odoo sale.order via XML-RPC. The
write is guarded on odoo_sale_order_id and non-fatal: failures are logged,
recorded in the decommission audit log, and surfaced to the operator as a
warning in both the admin action and the staff decommission view.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tobru merged commit 105ed188e1 into main 2026-06-22 13:17:47 +00:00
tobru deleted branch org-decommissioning-odoo 2026-06-22 13:17:47 +00:00
Sign in to join this conversation.
No description provided.