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

Module: Field Service - Current Location

Entity: fsm.template

Compute Method: _compute_show_use_current_location

View 17.0
Inputs Method Outputs
- config_restrict = (
-             self.env["ir.config_parameter"]
-             .sudo()
-             .get_param("fieldservice.restrict_current_location_in_templates", False)
-         )
- for record in self:
-             record.show_use_current_location = config_restrict
  • show_use_current_location

Back to entity