Replace wrong usage of False by None
issue2512
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ class PurchaseLine(ModelSQL, ModelView):
|
||||
for line in lines:
|
||||
for root_id in root_ids:
|
||||
id2record[line.id]['analytic_account_' \
|
||||
+ str(root_id)] = False
|
||||
+ str(root_id)] = None
|
||||
if line.type != 'line':
|
||||
continue
|
||||
if not line.analytic_accounts:
|
||||
|
||||
Reference in New Issue
Block a user