← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 709123] [NEW] base_sale_multichannels crashes when accessing sale. shop module

 

Public bug reported:

I am using OpenERP release 6.01, and I am trying to integrate the Magento ecommerce module v6 (openerp6-module) into the system. I can successfully install the module and its dependencies, however when I try to access  either the Sales -> Configuration -> Sales -> Shop  or the Magento-Connection -> Core Settings -> Magento Instances -> Magento Shops ,
I get the following error message: 

View error

Can't find field 'sale_journal' in the following view parts composing the view of object model 'sale.shop':
 * base_sale_multichannels_view_shop_form

Either you wrongly customized this view, or some modules bringing those
views are not compatible with your current data model


My log show  the complete traceback as follows:

Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-client/modules/gui/window/tree.py", line 209, in sig_open
    if not self.sig_action(widget, 'tree_but_open', warning=False):
  File "/usr/share/pyshared/openerp-client/modules/gui/window/tree.py", line 203, in sig_action
    warning=warning)
  File "/usr/share/pyshared/openerp-client/modules/action/main.py", line 199, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/usr/share/pyshared/openerp-client/modules/action/main.py", line 143, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
  File "/usr/share/pyshared/openerp-client/modules/gui/window/__init__.py", line 49, in create
    auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
  File "/usr/share/pyshared/openerp-client/modules/gui/window/form.py", line 73, in __init__
    show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
  File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 131, in __init__
    self.display()
  File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 810, in display
    show_search=self.show_search and vt in ('tree', 'graph'),
  File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 156, in search_active
    self.context)
  File "/usr/share/pyshared/openerp-client/rpc.py", line 186, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/usr/share/pyshared/openerp-client/rpc.py", line 120, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/usr/share/pyshared/openerp-client/rpc.py", line 137, in execute
    raise e
tiny_socket.Myexception: ("warning -- View error\n\nCan't find field 'sale_journal' in the following view parts composing the view of object model 'sale.shop':\n * base_sale_multichannels_view_shop_form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model", 'Traceback (most recent call last):\n  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch\n    result = ExportService.getService(service_name).dispatch(method, auth, params)\n  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch\n    res = fn(db, uid, *params)\n  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 126, in wrapper\n    self.abortResponse(1, inst.name, \'warning\', inst.value)\n  File "/usr/share/pyshared/openerp-server/netsvc.py", line 70, in abortResponse\n    raise Exception("%s -- %s\\n\\n%s"%(origin, description, details))\nException: warning -- View error\n\nCan\'t find field \'sale_journal\' in the following view parts composing the view of object model \'sale.shop\':\n * base_sale_multichannels_view_shop_form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model\n')


This problem occurs even if I have only installed the base_sale_multichannels module in preparation for the openerp6-module. The only difference is that it would appear when accessing the sale. shop module only instead of both the sale and openerp6 modules.

I am running Ubuntu 9.10, Python 2.6, and Postgresql 8.3. and I just upgraded to the v6.01 stable release of Open ERP.
These modules worked correctly when I was using Open ERP v 5.015.

Any suggestions on how this can be fixed?

Regards,
CJ

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/709123

Title:
  base_sale_multichannels crashes when accessing sale. shop module

Status in Magento Open ERP Connector:
  New

Bug description:
  I am using OpenERP release 6.01, and I am trying to integrate the Magento ecommerce module v6 (openerp6-module) into the system. I can successfully install the module and its dependencies, however when I try to access  either the Sales -> Configuration -> Sales -> Shop  or the Magento-Connection -> Core Settings -> Magento Instances -> Magento Shops ,
  I get the following error message: 

  View error

  Can't find field 'sale_journal' in the following view parts composing the view of object model 'sale.shop':
   * base_sale_multichannels_view_shop_form

  Either you wrongly customized this view, or some modules bringing
  those views are not compatible with your current data model


  My log show  the complete traceback as follows:

  Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-client/modules/gui/window/tree.py", line 209, in sig_open
      if not self.sig_action(widget, 'tree_but_open', warning=False):
    File "/usr/share/pyshared/openerp-client/modules/gui/window/tree.py", line 203, in sig_action
      warning=warning)
    File "/usr/share/pyshared/openerp-client/modules/action/main.py", line 199, in exec_keyword
      self._exec_action(action, data, context=context)
    File "/usr/share/pyshared/openerp-client/modules/action/main.py", line 143, in _exec_action
      limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
    File "/usr/share/pyshared/openerp-client/modules/gui/window/__init__.py", line 49, in create
      auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
    File "/usr/share/pyshared/openerp-client/modules/gui/window/form.py", line 73, in __init__
      show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
    File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 131, in __init__
      self.display()
    File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 810, in display
      show_search=self.show_search and vt in ('tree', 'graph'),
    File "/usr/share/pyshared/openerp-client/widget/screen/screen.py", line 156, in search_active
      self.context)
    File "/usr/share/pyshared/openerp-client/rpc.py", line 186, in rpc_exec_auth
      return sock.exec_auth(method, *args)
    File "/usr/share/pyshared/openerp-client/rpc.py", line 120, in exec_auth
      res = self.execute(method, self._uid, self._passwd, *args)
    File "/usr/share/pyshared/openerp-client/rpc.py", line 137, in execute
      raise e
  tiny_socket.Myexception: ("warning -- View error\n\nCan't find field 'sale_journal' in the following view parts composing the view of object model 'sale.shop':\n * base_sale_multichannels_view_shop_form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model", 'Traceback (most recent call last):\n  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch\n    result = ExportService.getService(service_name).dispatch(method, auth, params)\n  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch\n    res = fn(db, uid, *params)\n  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 126, in wrapper\n    self.abortResponse(1, inst.name, \'warning\', inst.value)\n  File "/usr/share/pyshared/openerp-server/netsvc.py", line 70, in abortResponse\n    raise Exception("%s -- %s\\n\\n%s"%(origin, description, details))\nException: warning -- View error\n\nCan\'t find field \'sale_journal\' in the following view parts composing the view of object model \'sale.shop\':\n * base_sale_multichannels_view_shop_form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model\n')

  
  This problem occurs even if I have only installed the base_sale_multichannels module in preparation for the openerp6-module. The only difference is that it would appear when accessing the sale. shop module only instead of both the sale and openerp6 modules.

  I am running Ubuntu 9.10, Python 2.6, and Postgresql 8.3. and I just upgraded to the v6.01 stable release of Open ERP.
  These modules worked correctly when I was using Open ERP v 5.015.

  Any suggestions on how this can be fixed?

  Regards,
  CJ





Follow ups

References