← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 617905] Re: Product Import fails

 

Hi, Im really good at importing all data and working with the python
code a little. Importing information isn't a problem but I did run into
a serious problem so serious i'm not sure if we can use the module now.
We have hundred or even thousands of orders all of the time. Openerp
imports the sales orders as a quotation. The problem is that it doesn't
recognize the order status which would be fine if I was able to mass
complete orders in openerp but I can't. So our managers would have to
manually click on each order and say confirm and then navigate to the
stock menu and so on. I even thought of the sales journal module but
each order would have to manually be assigned to a journal which then
would take a serious amount of ridiculous clicking just to run batch
orders. Right now our system is set up so we click print and it
completes the orders in magento and prints out packing slips. We can't
do this because openerp wont recognize the status of an order and thus
it wont deduct product from the inventory and we cant process batch
orders in erp even though the status of an order from erp-magento works
fine. Do you have any ideas? There is configuration for order generation
in the multichannels section but it doesnt seem to change the status of
imported orders. Even if they were completed it will only import the
order as a quotation.

 I will update the other bug and write a little documentation as thanks
for your help on all the work ive figured out so far. The other bug  I
was having was because whoever uploaded openerp to ubuntu put in a buggy
version. Using an older version doesn't yield the same problems.

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

Status in Magento Open ERP Connector: Invalid

Bug description:
I'm using current stable (5.0.12) on an Amazon EC2 ubuntu 10.4 instance. I have installed and configured the openerpconnect module ok and the corresponding magento module.

In OpenERP, clicking on the referential actions in turn (1 - Import Customer Groups through to 5 - Import Product Attributes) works fine but when I click on 6 - Import products I get the following error. We have approx 2000 products, is this a timeout problem, or something else?

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_core.py", line 137, in sync_products
    list_prods = attr_conn.call('catalog_product.list')
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 53, in call
    res = self.ser.call(self.session, method, arguments)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 836, in close
    raise ResponseError()
ResponseError: ResponseError()