muestra un extracto de la descripción en las listas de productos.
This commit is contained in:
parent
6eb23b6e50
commit
67013f8d4c
8 changed files with 101 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="products_item"
|
||||
name="Display product description"
|
||||
inherit_id="website_sale.products_item"
|
||||
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-raw="product.website_description_limited"/>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
Loading…
Add table
Add a link
Reference in a new issue