[FIX] im_livechat: fix wrong demo data
This commit fixes an issue in the demo data leading to a crash when consulting the ratings on the website. Steps to reproduce: - Go to livechat channel form - Click on "Go to website" - Error 500 closes odoo/odoo#131640 X-original-commit: 04b6831816425592b9ab9077c6d0caf20b95c93e Signed-off-by: Didier Debondt (did) <did@odoo.com> Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
This commit is contained in:
@@ -71,6 +71,6 @@
|
||||
<field name="res_id" ref="im_livechat.livechat_channel_session_10"/>
|
||||
</record>
|
||||
<function model="discuss.channel" name="rating_apply"
|
||||
eval="([ref('im_livechat.livechat_channel_session_10')], 2, 'LIVECHAT_10', None, 'Not so good')"/>
|
||||
eval="([ref('im_livechat.livechat_channel_session_10')], 1, 'LIVECHAT_10', None, 'Not so good')"/>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user