c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06228
[Bug 683616] Re: Import Customers to Partners without address info
avaible revisions:
version 5: 359
version 6: 371
** Changed in: magentoerpconnect
Status: New => Fix Committed
--
Import Customers to Partners without address info
https://bugs.launchpad.net/bugs/683616
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: Fix Committed
Bug description:
[2010-12-01 13:13:00,426] ERROR:web-services:[23]: File "/home/resteve/openerp-server/bin/addons/magentoerpconnect/magerp_core.py", line 179, in sync_partner
[2010-12-01 13:13:00,426] ERROR:web-services:[24]: customer_address_info = each_customer_address_info[0]
[2010-12-01 13:13:00,427] ERROR:web-services:[25]: IndexError: list index out of range
If you have some customers without address, sync_partner function not validated if exists this value => get first position: each_customer_address_info[0]
==code==
if len(each_customer_address_info):
if result_address:
References