diff --git a/addons/lunch/lunch.py b/addons/lunch/lunch.py index 6aef154ad0a..0d224ef3a8e 100644 --- a/addons/lunch/lunch.py +++ b/addons/lunch/lunch.py @@ -79,7 +79,7 @@ class lunch_order(osv.Model): get the alerts to display on the order form """ result = {} - alert_msg = self._default_alerts_get(cr, uid, arg, context=context) + alert_msg = self._default_alerts_get(cr, uid, context=context) for order in self.browse(cr, uid, ids, context=context): if order.state == 'new': result[order.id] = alert_msg diff --git a/addons/lunch/lunch_view.xml b/addons/lunch/lunch_view.xml index 31540c63e14..32b978dfab0 100644 --- a/addons/lunch/lunch_view.xml +++ b/addons/lunch/lunch_view.xml @@ -37,9 +37,10 @@ search - + + @@ -51,9 +52,11 @@ search - - + + + + @@ -86,11 +89,11 @@ - Your Order + New Order lunch.order form - + Your Orders