diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-01-28 12:38:26 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-01-28 16:21:24 +0100 |
| commit | eb58572ac2720aa92cdc37f3f632af2d2b99f988 (patch) | |
| tree | 91098190197826a0c444d115307ad13ca04f04f2 /addons/website_livechat | |
| parent | cc12e1df263ccfcf5c8fbc045bec8093691c766f (diff) | |
[IMP][REF] website_customer, website_event, website_livechat, website_sale_delivery,
website_slides: use the recently introduced website.published.mixin to
replace the website_published and website_url fields defined in various
remaining modules.
In slides, some templates have been updated because share_url was basically
website_url and has been replaced.
Diffstat (limited to 'addons/website_livechat')
| -rw-r--r-- | addons/website_livechat/models/im_livechat.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/website_livechat/models/im_livechat.py b/addons/website_livechat/models/im_livechat.py index 805858eddf3..91cc458cceb 100644 --- a/addons/website_livechat/models/im_livechat.py +++ b/addons/website_livechat/models/im_livechat.py @@ -3,8 +3,7 @@ from openerp import models, fields class im_livechat_channel(models.Model): + _name = 'im_livechat.channel' + _inherit = ['im_livechat.channel', 'website.published.mixin'] - _inherit = 'im_livechat.channel' - - website_published = fields.Boolean("Website published", default=False, help="If checked, the channel and its ratings will be display on your website") website_description = fields.Html("Website description", default=False, help="Description of the channel displayed on the website page") |
