devendrapathi / sneldev-magento-openerp

Automatically exported from code.google.com/p/sneldev-magento-openerp
0 stars 1 forks source link

TypeError: cannot concatenate 'str' and 'NonType' objects #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I get this error only on PayPal orders, any ideas why?

2013-02-06 06:33:30 Invoice 100000098 - Order 115 - Created 2012-11-20 23:38:53
2013-02-06 06:33:30     Getting Info invoice 100000098
2013-02-06 06:33:30     Getting Info order 115
2013-02-06 06:33:31     Getting Info customer 90
2013-02-06 06:33:32     Updating customer Linda Olson
2013-02-06 06:33:32         Customer exists in OpenErp -> updating its info
2013-02-06 06:33:32 Invoice/Order skipped
Traceback (most recent call last):
  File "/opt/openerp/openerp/addons/sneldev_magento/sneldev_magento.py", line 798, in import_orders
    erp_customer_info = self.pool.get('sneldev.magento').update_customer(cr, uid, info_customer)
  File "/opt/openerp/openerp/addons/sneldev_magento/sneldev_magento.py", line 399, in update_customer
    'name': new_shipping_address['firstname'] + ' ' + new_shipping_address['lastname'],
TypeError: cannot concatenate 'str' and 'NoneType' objects

Original issue reported on code.google.com by kevin.sh...@chefselect.ca on 6 Feb 2013 at 6:55