sobreescribe el campo website description y añade estilo css.

Seguramnete no haga falta sobreescribir el campo y se puedan heredar los
estilos o añadirselos...
This commit is contained in:
snt 2024-09-06 19:39:39 +02:00 committed by snt
parent 67013f8d4c
commit 5fb83c78b5
3 changed files with 28 additions and 2 deletions

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="product_full_description_inherit" inherit_id="website_sale.product">
<xpath expr="//div[@t-field='product.website_description']" position="replace">
<div id="product_description" class="oe_structure oe_empty mt16 custom_website_description"
data-oe-type="html" data-oe-expressioni="product.website_description"
>
<t t-esc="product.website_description"/>
</div>
</xpath>
</template>
</odoo>