AttributeError: 'SupplierGroup' object has no attribute 'lft'

AttributeError: ‘SupplierGroup’ object has no attribute ‘lft’