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

Module: Website

Entity: res.config.settings

Compute Method: _compute_has_cookie_policy

View 20.0
Inputs Method Outputs
  • website_id
  • website_id.cookie_policy_id
+ for config in self:
+             config.has_cookie_policy = bool(config.website_id.cookie_policy_id)
  • has_cookie_policy

Back to entity