Before this commit, the value of data-oe-shape-data required double quotes to be properly parsed in JSON in the getShapeData method. After this commit, we also allow single quotes to prevent issue if someone doesn't use double quotes in the the value of data-oe-shape-data. Which was precisely the case in one of the themes and this is why this commit is a fix. task-2327741 closes odoo/odoo#61487 X-original-commit: 10ac750aaecf502500dc08966f4642a8604a685b Related: odoo/design-themes#423 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>