c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20592
[Bug 746351] Re: INFO:ext synchro:Updated in OpenERP res.partner.address from External Ref with external_id 0 and OpenERP id 2 successfully
I agree with you Guewen, I analyze both system ( magento with
Mage::log() ) and oerp with ntsv so magento send customer_address_id 0 (
I don't know why )
And oerp go here :
return {'customer_address_id': 'mag_order' +
str(address_data['address_id']), 'is_magento_order_address': True}
So I change :
if address_data.get('customer_address_id', False):
by
if address_data.get('customer_address_id', False) and address_data['customer_address_id'] != '0':
I test this solution now ( and all works fine )
--
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/746351
Title:
INFO:ext synchro:Updated in OpenERP res.partner.address from External
Ref with external_id 0 and OpenERP id 2 successfully
Status in Magento Open ERP Connector:
New
Bug description:
When I import order kind of orders tell this :
INFO:ext synchro:Updated in OpenERP res.partner.address from External
Ref with external_id 0 and OpenERP id 2 successfully
The issue is that in some order mapped address_shipping and all
address to id 2 instead of create new one so many order had the same
adress update by next order who had this issue.
I don't understand why this bug occure. Can someone had same issue ?
References