Daily updates from Odoo
Saturday, November 22, 2025
1 change · 17.0
Resolved issues and error corrections
This update corrects how Facebook statistics are computed for connected social accounts and posts. It addresses Facebook’s deprecation of older metrics so the reported audience and post activity data stays accurate and avoids broken stats.
Original PR description
Bug === Facebook deprecated some of the endpoints related to statistics https://developers.facebook.com/docs/platforminsights/page/deprecated-metrics For the accounts, `page_fan_adds` and `page_fan_removes`, we are still unsure about unfollow, and so to get a fix quickly, we set the audience trend to zero, and we will fix it later. For live post, we used `post_impressions` in the API call, but that metric was not used, so we just remove it. For stream post, `post_impressions` has been replaced by `post_media_view`, as suggested in the migration note from Facebook. Task-5346965 Forward-Port-Of: odoo/enterprise#100119