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

Module: Asterisk connector

Entity: res.users

Compute Method: _compute_asterisk_chan_name

Inputs Method Outputs
for user in self:
            chan_name = False
            if user.asterisk_chan_type and user.resource:
                chan_name = f"{user.asterisk_chan_type}/{user.resource}"
            user.asterisk_chan_name = chan_name

Back to entity