Set decommission_date on Odoo sale order when org is decommissioned #565
No reviewers
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
servala/servala-portal!565
Loading…
Reference in a new issue
No description provided.
Delete branch "org-decommissioning-odoo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.