Added missing currency_obj variable.
This commit is contained in:
1 parent
1c25f5b1fd
commit
dc885fee50
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user