Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Live Chat
Entity: im_livechat.channel
Compute Method: _compute_script_external
| Inputs | Method | Outputs |
|---|---|---|
|
values = {
- "dbname": self._cr.dbname,
+ "dbname": self.env.cr.dbname,
}
for record in self:
values["channel_id"] = record.id
values["url"] = record.get_base_url()
record.script_external = self.env['ir.qweb']._render('im_livechat.external_loader', values) if record.id else False
|
|
