_api_record_usage now resolves the target subscription via the source app's own id (x_fc_nexacloud_subscription_id, scoped to the service) before falling back to a direct Odoo sale.order id. This is what lets NexaCloud push usage against the shadow subscriptions the importer created from NexaCloud UUIDs — closing the flip-day mapping gap the review flagged. Authz unchanged (partner must be linked to the service).
14 KiB
14 KiB