← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 521793] Re: magento connector broke Sales module update as well

 

Marked invalid due to duration, and lack of information

** Changed in: magentoerpconnect
       Status: Incomplete => Invalid

-- 
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/521793

Title:
  magento connector broke Sales module update as well

Status in Magento OpenERP Connector:
  Invalid

Bug description:
  Hello this is similar to (#484843 update database bug when the
  connector is installed), but leads of server crash after Sales module
  update.

  Connector revision is #285

  After magento connector installation but prior Magento syncing it is possible to update both Products and Sales modules.
  After syncing with Magento, there is not possible to update Sales module what leads to server crash.
  What I did.
  - Installed magentoerpconnect with required dependencies
  - then set up instance and tried to Export products
  - it seemed to work
  - tried to make online test order
  - tried to import order into Open ERP and got:

  File "/var/openerp-server/custom_addons/magentoerpconnect/sale.py", line 91, in import_shop_orders
      last_external_id = self.get_last_imported_external_id(cr, 'sale.order', shop.referential_id.id, "sale_order.shop_id=%s and magento_storeview_id=%s" % (shop.id, storeview.id))[1]
  AttributeError: 'sale.shop' object has no attribute 'get_last_imported_external_id'

  - then tried to update Sales module
  - client freeze

  Result: database is unusable, and cannot connect to it
  After: fixing with "update ir_module_module set state='installed' where state='to upgrade';" it is possible to connect to it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/521793/+subscriptions