OdooWiki OCA HUB

Affiliate Program

website_sale_affiliate folder_open OCA/e-commerce open_in_new
E-Commerce License: LGPL-3

Create an e-commerce affiliate program for the tracking of referrals and conversions.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Track affiliate referrals from your website and see which ones turn into sales. Create affiliates, monitor their requests and conversion rates, and link online orders back to the referral that generated them.

This module adds an affiliate program to your online shop. You create affiliate records with a name, a partner, a company and a numbering sequence, and each affiliate can be given rules for what counts as a valid conversion: how many hours a referral stays valid and how many sales a single referral can generate.

When a visitor arrives on your website shop or product page with an affiliate reference in the URL, a request is recorded with the visitor's IP address, referrer, browser and language. If the visitor then places an order, the order is automatically linked to the affiliate request that is still valid at that moment.

In the Sales menu you get an Affiliate Program section with two screens: Affiliates and Affiliate Requests. The affiliate form shows its requests, its conversion rate and the average number of sales per request, plus settings for validity. The request form shows the sales generated and the technical details of the visit. The sale order form also displays the related affiliate request.

Salespeople can view affiliates and requests; sales managers can create, edit and delete them.

Depends on

website_sale

Menus it adds

Affiliate RequestsAffiliate ProgramAffiliates
Models and fields (3)
  • sale.order · extends an existing modelaffiliate_request_id (Affiliate request)
  • sale.affiliate · new modeldate, name, company_id (Company), partner_id (Partner), request_ids (Requests), sequence_id (Sequence), valid_hours, valid_sales, conversion_rate, sales_per_request (Average Sales per Request)
  • sale.affiliate.request · new modelip (Client IP), date (Start Date), name, referrer, sale_ids (Sales), user_agent, affiliate_id (Affiliate), accept_language

Text generated by AI (DeepSeek) from reading the Odoo 17.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/e-commerce.

terminal Installation and usage

No verified information

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.

info

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.