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:
parent
7b4457102e
commit
5e931d8d7c
3 changed files with 28 additions and 2 deletions
12
website_description_internal/views/templates.xml
Normal file
12
website_description_internal/views/templates.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue