fix pyflake errors

review163008
This commit is contained in:
Nicolas Évrard
2011-11-02 16:04:56 +01:00
parent e7fe2fb0f5
commit 06363a53f2
-1
View File
@@ -83,7 +83,6 @@ class Account(ModelSQL, ModelView):
def default_currency(self):
company_obj = Pool().get('company.company')
currency_obj = Pool().get('currency.currency')
if Transaction().context.get('company'):
company = company_obj.browse(Transaction().context['company'])
return company.currency.id