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

Module: Spain - Point of Sale

Entity: pos.config

Compute Method: _compute_is_spanish

Inputs Method Outputs
  • company_id
  • company_id.country_code
for pos in self:
            pos.is_spanish = pos.company_id.country_code == "ES"

Back to entity