Fix super() and typo
This commit is contained in:
parent
66277d205f
commit
d82d51dd61
|
@ -28,9 +28,9 @@ class Location(metaclass=PoolMeta):
|
|||
|
||||
@classmethod
|
||||
def validate(cls, locations):
|
||||
cls.validate(locations)
|
||||
super().validate(locations)
|
||||
for location in locations:
|
||||
location.chack_company()
|
||||
location.check_company()
|
||||
|
||||
def check_company(self):
|
||||
for child in self.childs:
|
||||
|
|
Loading…
Reference in New Issue