Replace wrong usage of False by None
issue2512
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user