bzr revid: api@openerp.com-20121105160541-t8x8t7de2fjt0sq3
This commit is contained in:
Arnaud Pineux 2012-11-05 17:05:41 +01:00
parent 276e70e3ba
commit 3d3873339e
3 changed files with 7 additions and 2 deletions

View File

@ -262,14 +262,14 @@ class lunch_order(osv.Model):
xml_pref_8 = etree.Element("div")
xml_pref_8.set('class','oe_lunch_text')
xml_pref_8.text = escape(pref.product_id.name)
xml_pref_8.text = escape(pref.product_id.name)+str(" ")
xml_pref_7.append(xml_pref_8)
price = pref.product_id.price or 0.0
cur = currency.name or ''
xml_pref_9 = etree.Element("span")
xml_pref_9.set('class','oe_tag')
xml_pref_9.text = str(price)+" "+cur
xml_pref_9.text = str(price)+str(" ")+cur
xml_pref_8.append(xml_pref_9)
xml_pref_10 = etree.Element("div")

View File

@ -35,6 +35,9 @@
padding-top: 5px;
padding-bottom: 5px;
}
.openerp .oe_lunch .oe_lunch_vignette:last-child {
border: none;
}
.openerp .oe_lunch .oe_group_text_button {
margin-bottom: 3px;
}

View File

@ -30,5 +30,7 @@
border-bottom: 1px solid #dddddd
padding-top: 5px
padding-bottom: 5px
.oe_lunch_vignette:last-child
border: none
.oe_group_text_button
margin-bottom: 3px