Added missing currency_obj variable.

This commit is contained in:
Bertrand Chenal committed 2008-06-13 16:53:31 +02:00
1 parent 1c25f5b1fd
commit dc885fee50
1 file changed
+1
+1
View File
@@ -624,6 +624,7 @@ class Invoice(OSV):
'''
Return move line
'''
currency_obj = self.pool.get('currency.currency')
res = {}
if invoice.currency.id != invoice.company.currency.id:
res['amount_second_currency'] = currency_obj.compute(cursor, user,