connector picking up addresses based on 'customer_address_id' is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Released
|
Undecided
|
Sébastien BEAU - http://www.akretion.com |
Bug Description
When importing sales orders it collects the customers shipping/billing address based on 'customer_
This is bad practice. Magento most of the time returns correct datas in field customer_
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.
Changed in magentoerpconnect: | |
assignee: | nobody → Sébastien BEAU - http://www.akretion.com (sebastien.beau) |
Changed in magentoerpconnect: | |
status: | New → Confirmed |
Changed in magentoerpconnect: | |
status: | Confirmed → Fix Released |
shipping_ address_ id': '3583702', 'customer_ balance_ refunded' : None, 'shipping_address': {'address_id': '3583702', 'region_id': '34', 'telephone': '952-925-9854', 'prefix': '', 'street': '5825 Excelsior Blvd.', 'postcode': '55416', 'suffix': 'TJ', 'city': 'St. Louis Park', 'parent_id': '230909', 'country_id': 'US', 'gift_message_id': None, 'address_type': 'shipping', 'email': '<email address hidden>', 'quote_address_id': None, 'customer_ address_ id': '62517', 'fax': '', 'firstname': 'Events ', 'middlename': 'and', 'lastname': 'Sponsorship', 'company': 'Midwest Supplies', 'giftregistry_ item_id' : None, 'tax_id': None, 'customer_id': '40965', 'region': 'Minnesota'}, 'ext_order_id': None, 'shipping_ canceled' : None, 'payment_ authorization_ expiration' : None, 'total_ offline_ refunded' : None, 'gw_printed_ card_tax_ amount' : '0.0000', 'store_id': '1', 'base_gift_ cards_invoiced' : None, 'updated_at': '2011-10-24 20:20:04', 'gw_items_ tax_amount' : '0.0000', 'base_discount_ invoiced' : '0.0000', 'real_order_id': None, 'gw_items_price': '0.0000', 'global_ currency_ code': 'USD', 'x_forwarded_for': None, 'base_total_ qty_ordered' : None, 'base_shipping_ tax_refunded' : None, 'base_shipping_ discount_ amount' : '0.0000', 'increment_id': '1235816', 'store_ currency_ code': 'USD', 'gw_price_ invoiced' : None, 'shipping_ incl_tax' : '0.0000', 'gw_price_ refunded' : None, 'base_grand_total': '0.0000', 'giftcert_ amount_ invoiced' : None, 'customer_ balance_ amount' : '0.0000', 'gw_items_ price_invoiced' : None, 'customer_dob': None, 'billing_ address_ id': '3583701', 'remote_ip': None, 'status': 'processing', 'is_multi_payment': None, 'customer_note': 'Test order ', 'reward_ currency_ amount_ refunded' : None, 'discount_ description' : '', 'gift_cards_ refunded' : None, 'base_reward_ currency_ amount_ invoiced' : None, 'gw_items_ base_price' : '0.0000', 'discount_ refunded' : None, 'is_hold': None, 'tracking_numbers': None, 'currency_rate': None, 'base_to_ order_rate' : '1.0000', 'subtotal': '0.0000', 'payment': {'cc_ss_issue': None, 'protection_ eligibility' : None, 'cc_raw_response': None, 'flo2cash_ account_ id': None, 'base_amount_ paid_online' : '0.0000', 'cc_cid_status': None, 'cc_exp_year': '0', 'echeck_ account_ type': None, 'additional_ information' : [], 'cc_debug_ response_ serialized' : None, 'base_amount_ authorized' : '0.0000', 'base_amount_ ordered' : '0.0000', 'ideal_issuer_id': None, 'base_shipping_ refunded' : None, 'ideal_ transaction_ checked' : None, 'shipping_ captured' : '0.0000', 'shipping_ refunded' : None, 'cc_ss_start_year': '0', 'cc_ss_ start_month' : '0', 'customer_ payment_ id': None, 'base_shipping_ captured' : '0.0000', 'echeck_ account_ name': None, 'cc_debug_ request_ body': None, 'amount': None, 'shipping_amount': '0.0000', 'amount_ordered': '0.0000', 'quote_payment_id': None, 'cc_approval': None, 'parent_id': '230909', 'echeck_ routing_ number' : None, 'base_amount_paid': '0.0000', 'method': 'free', 'echeck_type': None, 'amount_refunded': None, 'base_shipping_ amount' : '0.0000', 'amount_paid': '0.0000', 'cc_type': '', 'cc_last4': '', 'last_trans_id': None, 'cc_trans_id': None, 'amount_ authorized' : '0.0000', 'base_amount_ canceled' : None, 'cc_status': None, 'payment_id': '3548056', 'cc_raw_request': None, 'anet_trans...