← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 722506] Re: sync_partners doesn't import adresses

 

1  Only export partner when there are email = mgn use email field to
login

if address.email and '@' in address.email:

2. Only address delivey and invoice:

res = self.pool.get('res.partner').address_get(cr, uid, [p_id],
['invoice', 'delivery'])

Remember Partner contacts also use for other addresses, not invoice or
delivery.

-- 
Raimon Esteve
// OpenERP, gestió empresarial flexible
// Botigues virtuals dinàmiques amb OpenERP
// AulaERP, formació online
www.zikzakmedia.com


** Changed in: magentoerpconnect
       Status: New => Won't Fix

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

Title:
  sync_partners doesn't import adresses

Status in Magento Open ERP Connector:
  Won't Fix

Bug description:
  Hello,

  We have encountered a problem with the function sync_partners. It
  imports all partners, but only one address and repeatedly prints
  "Updated in OpenERP res.partner.address from External Ref with
  external_id False and OpenERP id 2 successfully".

  After some research, it seems the address dict obtained from magento
  API does not provide the external key, which in turn makes the code
  unable to differentiate external addresses. It then keeps updating the
  same openerp record with each address ("Openerp id 2").



References