Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Social Media Base

Entity: social.post

Compute Method: _compute_any_failed_post

Inputs Method Outputs
for post in self:
            post.any_failed_post = any(
                post_account.state == "failed" for post_account in post.post_account_ids
            ) or (post.state == "publishing" and not post.post_account_ids)

Back to entity