[FIX] Proper ticket price micodata
bzr revid: ddm@openerp.com-20140205075141-xxedwfwf3lz2v0ej
This commit is contained in:
parent
6818f6f84b
commit
706881ab38
|
@ -40,10 +40,12 @@
|
|||
</td>
|
||||
<td><span itemprop="priceValidUntil" t-field="ticket.deadline"/></td>
|
||||
<td>
|
||||
<t t-if="ticket.price or editable"><span itemprop="price" t-field="ticket.price" t-field-options='{
|
||||
<t t-if="ticket.price or editable"><span t-field="ticket.price" t-field-options='{
|
||||
"widget": "monetary",
|
||||
"display_currency": "website.pricelist_id.currency_id"
|
||||
}'/>
|
||||
<meta itemprop="price" t-att-content="ticket.price"/>
|
||||
<meta itemprop="priceCurrency" t-att-content="website.pricelist_id.currency_id.name"/>
|
||||
</t>
|
||||
<t t-if="not ticket.price and not editable">
|
||||
<span>Free</span>
|
||||
|
|
|
@ -334,7 +334,7 @@
|
|||
"widget": "monetary",
|
||||
"display_currency": "website.pricelist_id.currency_id"
|
||||
}'/>
|
||||
<meta itemprop="price" t-att-content="product.product_variant_ids[0].price"/>
|
||||
<meta itemprop="price" t-att-content="product.product_variant_ids[0].price"/>
|
||||
<meta itemprop="priceCurrency" t-att-content="website.pricelist_id.currency_id.name"/>
|
||||
</h4>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue