diff options
| author | Adrian Torres <adt@odoo.com> | 2018-09-24 12:22:45 +0200 |
|---|---|---|
| committer | Adrian Torres <adt@odoo.com> | 2018-09-27 12:10:23 +0200 |
| commit | 3f4f77fd9d5c79c21665fa08d703bba7571decd8 (patch) | |
| tree | cb4c161d09ead94255ea40e545ed5225ab113a8a /addons/website_livechat/models | |
| parent | 52a8ed3c0c72b21baf589bc9b91a030d9da661a8 (diff) | |
[REF] *: adapt code to new related default behaviour
This commit adapts the business code to changes introduced by
the parent commit in order to keep the same behaviour as before.
All readonly=False fields will have to be checked afterwards to confirm
that the business case requires write access to the source field.
Diffstat (limited to 'addons/website_livechat/models')
| -rw-r--r-- | addons/website_livechat/models/res_config_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_livechat/models/res_config_settings.py b/addons/website_livechat/models/res_config_settings.py index 6b0c96cd2e0..9c47f28b83e 100644 --- a/addons/website_livechat/models/res_config_settings.py +++ b/addons/website_livechat/models/res_config_settings.py @@ -7,4 +7,4 @@ from odoo import fields, models class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' - channel_id = fields.Many2one('im_livechat.channel', string='Website Live Channel', related='website_id.channel_id') + channel_id = fields.Many2one('im_livechat.channel', string='Website Live Channel', related='website_id.channel_id', readonly=False) |
