OdooWiki OCA HUB

Coupon Reward Fixed Price Order Line Link

sale_coupon_reward_fixed_price_order_line_link folder_open OCA/sale-promotion open_in_new
Sales Management License: AGPL-3

Bridge module between Sale Coupon Order Line Link and Sale Coupon Reward Fixed Price

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Bridge module that links fixed-price coupon rewards to the sales order lines they discount, so each discounted line records which promotion program applied it.

This is a technical bridge module with no new screens or menus. It connects two existing promotion features: the one that tracks promotions on sales order lines and the one that applies a fixed-price discount as a reward.

When Odoo applies a fixed-price reward from a coupon program to a sales order, the module automatically writes the promotion program onto the affected sales order lines. This means each line that received the fixed-price discount is stamped with the coupon program that produced it.

  • It extends the sale.order model.
  • It hooks into the reward calculation step that sets fixed-price rewards for order lines.
  • After the parent logic returns the affected lines, it stores the program reference on those lines.
  • No new fields, views, menus, reports, emails or scheduled actions are added by this module.

The practical effect is traceability: users and downstream features can see which promotion program is behind a discounted line, which matters when several promotions exist or when reporting on promotions. Because it only adds a link between existing mechanisms, it does not change prices, taxes or discount amounts by itself.

Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-promotion.

terminal Installation and usage

OCA documentation · Odoo 14.0

No action necessary, module works out of the box.

No verified information in OCA: Installation, Configuration.

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.