fix: save method of Appointment Booking Setting
This commit is contained in:
parent
c8e66a0f71
commit
dbde140e46
@ -18,8 +18,9 @@ class AppointmentBookingSettings(Document):
|
||||
|
||||
def save(self):
|
||||
self.infer_number_of_agents()
|
||||
super().save()
|
||||
|
||||
def infer_number_of_agents():
|
||||
def infer_number_of_agents(self):
|
||||
self.number_of_agents = len(self.agent_list)
|
||||
|
||||
def validate_availability_of_slots(self):
|
||||
|
Loading…
Reference in New Issue
Block a user