[ADD] website_sale_delivery: delivery description as a tooltip

This commit is contained in:
Prashant Panchal
2015-02-25 16:51:03 +01:00
committed by Richard Mathot
parent d27910a8f2
commit d6c163c9eb
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@ class delivery_carrier(orm.Model):
_inherit = ['delivery.carrier', 'website.published.mixin']
_columns = {
'website_description': fields.text('Description for the website'),
'website_description': fields.text('Description for Online Quotations'),
}
_defaults = {
'website_published': True
@@ -33,7 +33,7 @@
<label>
<input t-att-value="delivery.id" type="radio" name="delivery_type"
t-att-checked="order.carrier_id and order.carrier_id.id == delivery.id and 'checked' or False"/>
<span t-field="delivery.name"/>
<abbr t-att-title="delivery.website_description"><span t-field="delivery.name"/></abbr>
<span class="badge" t-field="delivery.price"
t-field-options='{
"widget": "monetary",