eLearning - Odoo 20 Community Book

The Visitor's Point of View

A visitor who has not signed in sees the Courses page with the title, the button Certifications, the three drop down lists Level, Role and Tags, a search box and the cards of All Courses. The courses that are kept for invited people or for attendees are not listed. Each card adds the duration and the number of steps.

odoo Development odoo Development

The course page has the same banner and the same list of lessons, but the box at the left holds the button Join this Course instead of the progress. A visitor who clicks it is asked to log in or to create an account. The lessons that have Allow Preview ticked carry the mark Preview, and a visitor can read them without joining.

odoo Development odoo Development odoo Development

A paid course shows its price in large figures and the button Add to Cart instead of Join. The example course Taking care of Trees costs 150 dollars. Its lessons show the icon of their type, an image, a video or an article, and the marks Free Preview on the ones that are open to everybody. The payment follows the normal path of the eCommerce application, as section 9.2 shows.

odoo Development

A course shown to Anyone with the link is not listed on the Courses page, but it opens normally for a visitor who has its address, with its own Join this Course button and its lessons. It is the right choice for a course that is sent only to chosen people by a newsletter or a message.

odoo Development

A course that is kept for invited people is not open to a visitor who has no invitation. The visitor is taken to the Courses page with a red message that says that the user does not have permission to access this course.

odoo Development

The courses on the example site that are kept for invited people, such as Choose your wood, open normally for a person who was enrolled by the team. For Joel Willis, who was added as an attendee, the course page shows the box You're enrolled with a progress of 0 percent and its lessons.

odoo Development

A Course With a Prerequisite

A course that has a prerequisite is listed and can be opened. Its box at the left, where the button Join would be, shows a lock and the words Course Locked, followed by Finish, the name of the prerequisite course, to unlock or join anyway. The lock is a warning, because the link join enrolls the person at once. In the example, Joel Willis, who had not finished Caring for Your Oak Furniture, clicked join and the page then showed You're enrolled, a progress of 0 percent and two members.

odoo Development odoo Development

Buying a Paid Course

A signed in customer sees the price and the button Add to Cart on the page of a paid course. The cart is the normal cart of the shop, with the course as its only line, the tax and the total, and the buttons Pay with Demo and Checkout. A course is a service, so the checkout goes straight to the step Payment, without a delivery step, and shows the payment methods and the billing address. The demo provider asks for an amount, payment details and a payment status, and the button Pay now completes the order.

odoo Development odoo Development odoo Development

The confirmation page thanks the customer, gives the order number, here S00247, says that the payment has been processed and adds the block You have gained access to the following course(s), with a card of the course, its duration and number of steps, and the button Start Learning. In the back end, the order is a confirmed sales order for 230 dollars, and the customer is a member of the course with a progress of 0 percent.

odoo Development
WhatsApp