def create_service(self, service, fraction): Planification = Pool().get('lims.planification') new_service = super().create_service(service, fraction) Planification.automatic_plan(entries=[new_service.entry]) return new_service
def confirm(cls, tests): Planification = Pool().get('lims.planification') super().confirm(tests) Planification.automatic_plan(tests=tests)
def confirm(cls, entries): Planification = Pool().get('lims.planification') super().confirm(entries) Planification.automatic_plan(entries=entries)