Replace wrong usage of False by None

issue2512
This commit is contained in:
Cédric Krier committed 2012-03-27 10:43:29 +02:00
1 parent 588f9e4dda
commit b9260d7170
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ def _percentage_amount(lines, company):
elif hasattr(move_obj, 'default_currency'):
currency_id = move_obj.default_currency()
else:
currency_id = False
currency_id = None
if currency_id:
unit_price = currency_obj.compute(currency_id, unit_price,
company.currency.id, round=False)