Got an answer to this in stackoverflow
Courses and course formats
Need to modify the course completion process in Moodle
Обсуждение было заблокировано, поэтому на него нельзя больше отвечать.
Got an answer to this in stackoverflow