From 049b2310170b2531a06ebbb020da78481e75dfed Mon Sep 17 00:00:00 2001 From: "ajay javiya (OpenERP)" Date: Wed, 21 Nov 2012 12:50:14 +0530 Subject: [PATCH] [REM]: Remove unwanted code bzr revid: aja@tinyerp.com-20121121072014-yt1otcr3xn5gakfy --- addons/lunch/lunch.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/addons/lunch/lunch.py b/addons/lunch/lunch.py index 49e23129c83..a69098e10e7 100644 --- a/addons/lunch/lunch.py +++ b/addons/lunch/lunch.py @@ -180,19 +180,15 @@ class lunch_order(osv.Model): xml_no_pref_2.text = _("Click to record your lunch order.") xml_no_pref_3 = etree.Element("p") xml_no_pref_3.set('class','oe_grey') - xml_no_pref_3.text = _("Select a product and put your order comments on the note.") + xml_no_pref_3.text = _("Your favorite meals will be created based on your last orders.") xml_no_pref_4 = etree.Element("p") xml_no_pref_4.set('class','oe_grey') - xml_no_pref_4.text = _("Your favorite meals will be created based on your last orders.") - xml_no_pref_5 = etree.Element("p") - xml_no_pref_5.set('class','oe_grey') - xml_no_pref_5.text = _("Don't forget the alerts displayed in the reddish area") + xml_no_pref_4.text = _("Don't forget the alerts displayed in the reddish area") #structure Elements xml_start.append(xml_no_pref_1) xml_no_pref_1.append(xml_no_pref_2) xml_no_pref_1.append(xml_no_pref_3) xml_no_pref_1.append(xml_no_pref_4) - xml_no_pref_1.append(xml_no_pref_5) #Else: the user already have preferences so we display them else: preferences = line_ref.browse(cr, uid, pref_ids, context=context)