~camptocamp/openobject-server/7.0-c2c-official

« back to all changes in this revision

Viewing changes to openerp/service/web_services.py

  • Committer: Yannick Vaucher
  • Date: 2013-03-11 12:03:36 UTC
  • mfrom: (4773.1.116 openobject-server)
  • Revision ID: yannick.vaucher@camptocamp.com-20130311120336-hgyv89pww0kiwff2
[MRG] from official

Show diffs side-by-side

added added

removed removed

Lines of Context:
601
601
 
602
602
    def dispatch(self, method, params):
603
603
        (db, uid, passwd ) = params[0:3]
 
604
 
 
605
        # set uid tracker - cleaned up at the WSGI
 
606
        # dispatching phase in openerp.service.wsgi_server.application
604
607
        threading.current_thread().uid = uid
 
608
 
605
609
        params = params[3:]
606
610
        if method == 'obj_list':
607
611
            raise NameError("obj_list has been discontinued via RPC as of 6.0, please query ir.model directly!")