Call was done in ajax to speed up the moderation and don't wait refresh at each accpet/refuse post. But the problem is that when you refuse a post, you need to be redirected to a new page to ask more infos about the reason. The fix is to do the request in ajax only when it is an 'accepted' post. This commits fixes odoo/odoo@14462