This commit allows to specify a custom Compiler to be used by the KanbanRecord of a custom Kanban view (js_class). This is necessary for the social kanban views. Something similar is already done in the Form view. closes odoo/odoo#108221 Related: odoo/enterprise#35065 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>