Website Sale Slides Order Line Link
This module links sales order lines to slide.channel.partner participations when selling a course. It does not add new views or user interface elements but ensures that when a course is sold through Odoo's eLearning system, the corresponding sales order line is associated with the participation record.
This functionality is useful for:
- Tracking which sale order line is responsible for a given course participation.
- Ensuring better traceability between sales and enrollments.
- Serving as a base for other modules that may extend its logic.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0When a course is sold and the order is confirmed, Odoo automatically links the sales order line to the matching course participation, so you can see which sale brought each enrollment.
This module adds a traceability link between sales and course enrollments in Odoo's eLearning. It does not add any new menu or screen; the link appears on existing records.
What it changes:
- On a sales order line, a new field stores the related course participation (
slide_channel_partner_id). - On a course participation record, a new "Sale Order Lines" list shows all sales order lines connected to it.
Automatic behaviour:
- When a sales order is confirmed, Odoo checks which order lines contain a product that is linked to a course channel.
- If there are such lines, that information is passed along while the order is confirmed, so the course participation created for the buyer is matched with the right sales order line.
- The match is made only when the product on the line is the same product as the course channel's product and the order's customer is the same partner as the participant.
This touches the sales order (sale.order), sales order line (sale.order.line) and course participation (slide.channel.partner) models. No checks, restrictions, emails or scheduled jobs are added by this code.
Depends on
Required by other modules
Models and fields (3)
- sale.order · extends an existing model
- sale.order.line · extends an existing modelslide_channel_partner_id
- slide.channel.partner · extends an existing modelsale_order_line_ids (Sale Order Lines)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/e-learning.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- Create a new sales order containing a course (linked to a slide.channel).
- Confirm the order.
- The system will automatically create a participation (slide.channel.partner) and link it to the corresponding sales order line.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.