Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

It's a qweb t-call block in odoo 13 ,there are some terms like "Special Price Offers", which aren't showed as translatable in website editor. Please check the qweb xml code below, and the screen shot. Can someone help? Thx

<template id="prduct_pricelist" inherit_id="website_sale.product" active="False" customize_show="True" name="Product Tiered Pricing">
        <xpath expr="//a[@id='add_to_cart']" position="after">
            <t t-call="product_tiered_pricing.web_pricelist"/>
        </xpath>
    </template>
    <template id="web_pricelist">
        <t t-set="pricelist" t-value="pricelist_items"/>
        <div class="product_pricelist">
            <t t-if="pricelist">
                <h4 class="mt-1">Special Price Offers</h4>
                <table class="table table-sm table-condensed text-center" id="pricelist_details">
                    <thead>
                        <tr>
                            <th width="100" class="text-center">Quantity</th>
                            <th width="100" class="text-center">Price</th>
                        </tr>
                    </thead>
                    <tbody>
                        <t t-foreach="pricelist" t-as="item">
                            <tr>
                                <td>
                                    <t t-esc="item['quantity']" class="text-center"/>
                                </td>
                                <td>
                                    <t t-esc="item['price']"/>
                                </td>
                            </tr>
                        </t>
                    </tbody>
                </table>
            </t>
        </div>
    </template>

A screen shot please find it here: https://i.stack.imgur.com/yWM3z.png

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
avg. 17
5029
2
avg. 19
4147
1
jul. 25
536
2
jun. 25
2172
3
apr. 25
2429