summaryrefslogtreecommitdiff
path: root/addons/lunch/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/lunch/controllers/main.py')
-rw-r--r--addons/lunch/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/lunch/controllers/main.py b/addons/lunch/controllers/main.py
index 5dc9b509bf1..305c80afe2b 100644
--- a/addons/lunch/controllers/main.py
+++ b/addons/lunch/controllers/main.py
@@ -60,7 +60,7 @@ class LunchController(http.Controller):
@http.route('/lunch/payment_message', type='json', auth='user')
def payment_message(self):
- return {'message': request.env['ir.qweb'].render('lunch.lunch_payment_dialog', {})}
+ return {'message': request.env['ir.qweb']._render('lunch.lunch_payment_dialog', {})}
@http.route('/lunch/user_location_set', type='json', auth='user')
def set_user_location(self, location_id=None, user_id=None):