'Returns the tracking_cart dict of the order for Google analytics basically defined to be inherited'

def order_2_return_dict(self, order):

    return {'transaction': {'id': order.id, 'affiliation': order.company_id.name, 'revenue': order.amount_total, 'tax': order.amount_tax, 'currency': order.currency_id.name}, 'lines': self.order_lines_2_google_api(order.order_line)}
