← Back to team overview

openerp-india team mailing list archive

[Bug 1120384] [NEW] Problem during sharing quotation

 

Public bug reported:

Hello, v.7 ubuntu 12.04

During a sharing quotation I have this error, I save quotation, choose
other / sharing, choose Direct link or embed code and "can edit":

Client Traceback (most recent call last):
  File "/home/thebrush/lp7/openerp/openerp/addons/web/http.py", line 195, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/thebrush/lp7/openerp/openerp/addons/web/controllers/main.py", line 1082, in call_button
    def call_button(self, req, model, method, args, domain_id=None, context_id=None):
  File "/home/thebrush/lp7/openerp/openerp/addons/web/controllers/main.py", line 1070, in _call_kw
  File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/thebrush/lp7/openerp/openerp/netsvc.py", line 289, in dispatch_rpc
    start_rss, start_vms = psutil.Process(os.getpid()).get_memory_info()
  File "/home/thebrush/lp7/openerp/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/thebrush/lp7/openerp/openerp/addons/share/wizard/share_wizard.py", line 696, in go_step_2
    self._check_preconditions(cr, uid, wizard_data, context=context)
  File "/home/thebrush/lp7/openerp/openerp/addons/portal/wizard/share_wizard.py", line 56, in _check_preconditions
    return super(share_wizard_portal, self)._check_preconditions(cr, uid, wizard_data, context=context)
  File "/home/thebrush/lp7/openerp/openerp/addons/share/wizard/share_wizard.py", line 663, in _check_preconditions
    self._assert(self.has_share(cr, uid, context=context),
TypeError: has_share() takes at least 4 arguments (4 given)

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1120384

Title:
  Problem during sharing quotation

Status in OpenERP Server:
  New

Bug description:
  Hello, v.7 ubuntu 12.04

  During a sharing quotation I have this error, I save quotation, choose
  other / sharing, choose Direct link or embed code and "can edit":

  Client Traceback (most recent call last):
    File "/home/thebrush/lp7/openerp/openerp/addons/web/http.py", line 195, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/thebrush/lp7/openerp/openerp/addons/web/controllers/main.py", line 1082, in call_button
      def call_button(self, req, model, method, args, domain_id=None, context_id=None):
    File "/home/thebrush/lp7/openerp/openerp/addons/web/controllers/main.py", line 1070, in _call_kw
    File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/thebrush/lp7/openerp/openerp/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/thebrush/lp7/openerp/openerp/netsvc.py", line 289, in dispatch_rpc
      start_rss, start_vms = psutil.Process(os.getpid()).get_memory_info()
    File "/home/thebrush/lp7/openerp/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/thebrush/lp7/openerp/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/thebrush/lp7/openerp/openerp/addons/share/wizard/share_wizard.py", line 696, in go_step_2
      self._check_preconditions(cr, uid, wizard_data, context=context)
    File "/home/thebrush/lp7/openerp/openerp/addons/portal/wizard/share_wizard.py", line 56, in _check_preconditions
      return super(share_wizard_portal, self)._check_preconditions(cr, uid, wizard_data, context=context)
    File "/home/thebrush/lp7/openerp/openerp/addons/share/wizard/share_wizard.py", line 663, in _check_preconditions
      self._assert(self.has_share(cr, uid, context=context),
  TypeError: has_share() takes at least 4 arguments (4 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1120384/+subscriptions


Follow ups

References