Replace wrong usage of False by None

issue2512
This commit is contained in:
Cédric Krier
2012-03-27 10:43:14 +02:00
parent ece5e3412d
commit 0c2eb94a6c
+1 -1
View File
@@ -19,7 +19,7 @@ class InvoiceLine(ModelSQL, ModelView):
move_line = {}
move_line['name'] = line.description
move_line['amount_second_currency'] = Decimal('0.0')
move_line['second_currency'] = False
move_line['second_currency'] = None
if type_.startswith('in_'):
move_line['debit'] = amount