← Back to team overview

openerp-india team mailing list archive

[Bug 1262074] [NEW] Purchase_landed_cost error

 

Public bug reported:


Installed purchase_landed_cost on oerpv7.

Landed cost does not compute prices.

When module is opened (to be uninstalled) traceback pops-up on screen:

OpenERP Server Error

Client Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1128, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1114, in _call_kw
    records = req.session.model(model).read(*args, **kwargs)
  File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/server/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/openerp/osv/orm.py", line 3623, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/opt/openerp/server/openerp/osv/orm.py", line 3744, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/opt/openerp/server/openerp/osv/fields.py", line 1142, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/opt/openerp/server/openerp/addons/base/module/module.py", line 156, in _get_desc
    output = publish_string(source=module.description, settings_overrides=overrides, writer=MyWriter())
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 414, in publish_string
    enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 662, in publish_programmatically
    output = pub.publish(enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 217, in publish
    self.settings)
  File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 72, in read
    self.parse()
  File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 78, in parse
    self.parser.parse(self.input, document)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py", line 172, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 171, in run
    input_source=document['source'])
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2727, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 328, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 396, in new_subsection
    node=section_node, match_titles=True)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2727, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 328, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 396, in new_subsection
    node=section_node, match_titles=True)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 1136, in indent
    elements = self.block_quote(indented, line_offset)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 1151, in block_quote
    self.nested_parse(blockquote_lines, line_offset, blockquote)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2721, in underline
    source=src, line=srcline)
  File "/usr/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 235, in severe
    return self.system_message(self.SEVERE_LEVEL, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 193, in system_message
    raise SystemMessage(msg, level)
SystemMessage: <string>:61: (SEVERE/4) Unexpected section title.

Contributors:

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

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

Title:
  Purchase_landed_cost error

Status in OpenERP Addons (modules):
  New

Bug description:
  
  Installed purchase_landed_cost on oerpv7.

  Landed cost does not compute prices.

  When module is opened (to be uninstalled) traceback pops-up on screen:

  OpenERP Server Error

  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
      response["result"] = method(self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1128, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1114, in _call_kw
      records = req.session.model(model).read(*args, **kwargs)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 103, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/openerp/osv/orm.py", line 3623, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/openerp/osv/orm.py", line 3744, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/opt/openerp/server/openerp/osv/fields.py", line 1142, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/opt/openerp/server/openerp/addons/base/module/module.py", line 156, in _get_desc
      output = publish_string(source=module.description, settings_overrides=overrides, writer=MyWriter())
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 414, in publish_string
      enable_exit_status=enable_exit_status)
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 662, in publish_programmatically
      output = pub.publish(enable_exit_status=enable_exit_status)
    File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 217, in publish
      self.settings)
    File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 72, in read
      self.parse()
    File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 78, in parse
      self.parser.parse(self.input, document)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py", line 172, in parse
      self.statemachine.run(inputlines, document, inliner=self.inliner)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 171, in run
      input_source=document['source'])
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
      context, state, transitions)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
      return method(match, context, next_state)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2727, in underline
      self.section(title, source, style, lineno - 1, messages)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 328, in section
      self.new_subsection(title, lineno, messages)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 396, in new_subsection
      node=section_node, match_titles=True)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
      node=node, match_titles=match_titles)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
      results = StateMachineWS.run(self, input_lines, input_offset)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
      context, state, transitions)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
      return method(match, context, next_state)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2727, in underline
      self.section(title, source, style, lineno - 1, messages)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 328, in section
      self.new_subsection(title, lineno, messages)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 396, in new_subsection
      node=section_node, match_titles=True)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
      node=node, match_titles=match_titles)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
      results = StateMachineWS.run(self, input_lines, input_offset)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
      context, state, transitions)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
      return method(match, context, next_state)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 1136, in indent
      elements = self.block_quote(indented, line_offset)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 1151, in block_quote
      self.nested_parse(blockquote_lines, line_offset, blockquote)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
      node=node, match_titles=match_titles)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
      results = StateMachineWS.run(self, input_lines, input_offset)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
      context, state, transitions)
    File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
      return method(match, context, next_state)
    File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2721, in underline
      source=src, line=srcline)
    File "/usr/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 235, in severe
      return self.system_message(self.SEVERE_LEVEL, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 193, in system_message
      raise SystemMessage(msg, level)
  SystemMessage: <string>:61: (SEVERE/4) Unexpected section title.

  Contributors:

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


Follow ups

References