def adding_Allotment(self): layout = Factory.Add_allotment() self.manage_prescription.clear_widgets() self.manage_prescription.add_widget(layout)