From 50aabe7dec09c6e9f8190e9bedd38f02a099a63f Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 10 Mar 2021 08:25:09 +0000 Subject: [PATCH] [FIX] website_sale: de-raw-ify * The acquirer messages should be Html fields and thus working. * The sort thing is the result of a template rendering, and hasn't had any need for raw rendering for a while anyway. * Convert ribbon.html to an Html field, so qweb considers it markup-safe. Disable sanitisation otherwise the sanitiser wraps it in a `

`, and show the field as a char widget (same as currently), which requires adding an explicit view (though that lets us lay it out a bit better, it was weird to have the required `html` at the top left and the required `html_class` at the bottom right with the optiona color fields inbetween). Looked at the color picker widget for banner color selection, but that doesn't generate actual CSS colors so it's useless. * Converted embed_code to HTML, needs to be unsanitized as it contains an `