[fix] remove linked doctype for empty columns
This commit is contained in:
parent
3e901bde1e
commit
239cf3da73
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ def get_linked_doctypes(columns, data):
|
|||
for row in data:
|
||||
if row:
|
||||
if len(row) != len(columns_with_value):
|
||||
if isinstance(row, list):
|
||||
if isinstance(row, (list, tuple)):
|
||||
row = enumerate(row)
|
||||
elif isinstance(row, dict):
|
||||
row = row.items()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue