OCA/connector-magento — pull request #70 by mdietrichc2c (2014-12-02 16:47:44+00:00)
Title: Catch cases where record['discount_amount'] = None

Magento sometimes sends sales_order.items with the attributes 'discount_amount' set to None; this caused the float() function to fail with the error "TypeError: float() argument must be a string or a number".