-
- Downloads
[FIX] website_mail_channel: fix load more replies
On a thread with at least 21 replies, click on "show N more replies". The first time, it does the last 10 replies. Click again: it appends the same batch of 10 replies to the thread. The button loads the replies starting from the last reply id, but this id is not updated after load. This is because the code searches for a `p.well` in the DOM assumed to be the `o_mg_read_more` parent (see c40f1841). However, commit 59237ea8 removed the `.well` class of the parent. The new button is not found, the old button is not removed, and so it goes. Forward-Port of 4536764a closes odoo/odoo#60643 X-original-commit: 69dd830a15da2d7e43e6040e26d960d2e941002e Signed-off-by:Martin Trigaux (mat) <mat@odoo.com>
Please register or sign in to comment