'Add currencies to financial items'

def forwards(self, orm):

    try:
        currency = Currency.objects.get(is_default=True)
    except:
        currency = Currency.objects.create()
        currency.code = 'USD'
        currency.name = 'USD        United    States    of    America,    Dollars'
        currency.symbol = u'$'
        currency.is_default = True
        currency.save()
    for obj in SaleOrder.objects.all():
        obj.currency = currency
        obj.save()
    for obj in Opportunity.objects.all():
        obj.amount_currency = currency
        obj.amount_display = obj.amount
        obj.save()
    for obj in OrderedProduct.objects.all():
        obj.rate = obj.product.sell_price
        obj.rate_display = obj.rate
        obj.save()
    for obj in SaleOrder.objects.all():
        obj.update_total()
