← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 881123] Re: connector picking up addresses based on 'customer_address_id' is wrong

 

** Changed in: magentoerpconnect
     Assignee: (unassigned) => Sébastien BEAU - http://www.akretion.com (sebastien.beau)

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

Title:
  connector picking up addresses based on 'customer_address_id' is wrong

Status in Magento OpenERP Connector:
  Confirmed

Bug description:
  When importing sales orders it collects the customers shipping/billing
  address based on 'customer_address_id'. If the ID or referential is
  stored in ir_model_data it will retrieve this or update it as the
  shipping/billing info.

  This is bad practice. Magento most of the time returns correct datas
  in field customer_address_id, but it can and does return id = 0 or
  even wrong customer addresses! In any production environment,
  customers are impacted. API sends wrong data.

  You have it mapped to take shipping _address or billing_address, but
  these are not fields passed in the api. They are passed

  billing_address_id, and shipping_address_id NOT billing_address,
  shipping_address. This causes matching to always fail and default back
  to customer_address_id which is wrong.

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


References