|
|
@ -9,6 +9,7 @@ class MailChatController(openerp.addons.bus.controllers.main.BusController): |
|
|
|
# ----------------------------- |
|
|
|
# Extends BUS Controller Poll |
|
|
|
# ----------------------------- |
|
|
|
|
|
|
|
def _poll(self, dbname, channels, last, options): |
|
|
|
if request.session.uid: |
|
|
|
registry, cr, uid, context = request.registry, request.cr, request.session.uid, request.context |
|
|
@ -40,7 +41,6 @@ class DataSetCustom(DataSet): |
|
|
|
res.append((r[0], _('%s ID %s') % (r[1], r[0]))) |
|
|
|
return res |
|
|
|
|
|
|
|
|
|
|
|
@http.route('/web/dataset/call_kw/<model>/name_search', type='json', auth="user") |
|
|
|
def name_search(self, model, method, args, kwargs): |
|
|
|
context = kwargs.get('context') |
|
|
|