mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_bookstore: correct shape data JSON value
Since it was introduced with [1], the bookstore `Price` snippet couldn't be clicked on. Indeed, a typo/wrong format inserted inside a `data-oe-shape-data` xpath was making it crash due to invalid JSON format. [1]: https://github.com/odoo/design-themes/commit/1f632d8dd79ceba6e152bedcb6de21cd9ada14c0 task-3002630 closes odoo/design-themes#605 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 pb112 pt112" remove="pb32 pt48" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">data-oe-shape-data="{"shape":"web_editor/Origins/17","flip":["y"]}"</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/17","flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape and filter -->
|
||||
<xpath expr="//section/*" position="before">
|
||||
|
||||
Reference in New Issue
Block a user