File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -426,9 +426,9 @@ def bulk_create_or_update_destination_attributes(
426
426
else :
427
427
condition = (attribute ['value' ] and primary_key_map [attribute ['destination_id' ]]['value' ]
428
428
and attribute ['value' ].lower () != primary_key_map [attribute ['destination_id' ]]['value' ].lower ()) \
429
- or ('code' in attribute and attribute ['code' ]
429
+ or ('code' in attribute and attribute ['code' ]
430
430
and attribute ['code' ] != primary_key_map [attribute ['destination_id' ]]['code' ])
431
-
431
+
432
432
if attribute_disable_callback_path and is_import_to_fyle_enabled and condition :
433
433
attributes_to_disable [attribute ['destination_id' ]] = {
434
434
'value' : primary_key_map [attribute ['destination_id' ]]['value' ],
@@ -438,11 +438,11 @@ def bulk_create_or_update_destination_attributes(
438
438
}
439
439
440
440
condition = (attribute ['value' ] != primary_key_map [attribute ['destination_id' ]]['value' ]) \
441
- or ('detail' in attribute and
441
+ or ('detail' in attribute and
442
442
attribute ['detail' ] != primary_key_map [attribute ['destination_id' ]]['detail' ]) \
443
- or ('active' in attribute and
443
+ or ('active' in attribute and
444
444
attribute ['active' ] != primary_key_map [attribute ['destination_id' ]]['active' ]) \
445
- or ('code' in attribute and
445
+ or ('code' in attribute and
446
446
attribute ['code' ] and attribute ['code' ] != primary_key_map [attribute ['destination_id' ]]['code' ]) \
447
447
448
448
if update and condition :
You can’t perform that action at this time.
0 commit comments