añadido css para el excerpt de la lista. Añadidos campos autor, editor y genero a la lista de productos antes de la descripción.
This commit is contained in:
parent
53139b68b1
commit
d74b925235
6 changed files with 25 additions and 7 deletions
|
@ -7,10 +7,14 @@
|
|||
customize_show="True"
|
||||
>
|
||||
<xpath expr="//a[@t-field='product.name']" position="after">
|
||||
<div t-if="product.website_description_limited" class="product-website-description">
|
||||
<t t-out="product.website_description_limited"/>
|
||||
</div>
|
||||
<div class="product-desription custom_website_description_excerpt" >
|
||||
<b><div t-if="product.autor">Autor: <t t-out="product.autor" /></div>
|
||||
<div t-if="product.editorial">Editora: <t t-out="product.editorial" /></div>
|
||||
<div t-if="product.genero"><t t-out="product.genero" /></div></b>
|
||||
<div t-if="product.website_description_limited" class="oe_structure oe_empty custom_website_description_excerpt" data-oe-type="html" data-oe-expressioni="product.website_description">
|
||||
<p><t t-out="product.website_description_limited"/></p>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue