mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make expression simpler
This commit is contained in:
parent
9ed0a6fece
commit
b3d031c473
@ -205,7 +205,7 @@ def ExportBom(part, fmt='csv', cascade=False, max_levels=None, parameter_data=Fa
|
||||
|
||||
supplier_parts_used.add(sp_part)
|
||||
|
||||
if sp_part.supplier and sp_part.supplier:
|
||||
if sp_part.supplier:
|
||||
supplier_name = sp_part.supplier.name
|
||||
else:
|
||||
supplier_name = ''
|
||||
|
Loading…
Reference in New Issue
Block a user