OdooWiki OCA HUB

Sale Credit Points

sale_credit_point folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

Sale Credit Points

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Give customers a credit point balance and block sales orders that exceed it. Points are automatically deducted when an order is confirmed and refunded when it is cancelled.

This module adds a credit point balance to every customer contact. On the contact form you see a "Points" button showing the current balance and the points added this year; clicking it opens a small window where you can replace, increase or decrease points for one or several contacts, with a mandatory reason.

Business rules: - A customer's balance can never go below zero; a validation error stops it unless the user belongs to the "Manage credit point" group or the check is bypassed. - When a sales order is confirmed, Odoo compares the order total with the customer's available points. If the total is higher, confirmation is blocked with a message showing the amount and the available credit. - If the check passes, the order total is automatically deducted from the customer's points. - When a confirmed sales order is cancelled, the points are given back.

Every change is stored in a Credit Points History list (partner, operation, amount, date, comment), reachable from Sales > Configuration > Credit point history, with filters for the current year and grouping by customer. A dedicated "Manage credit point" group controls who can bypass the zero-balance rule.

Depends on

sale

Menus it adds

Credit point history
Models and fields (4)
  • sale.order · extends an existing model
  • res.partner · extends an existing modelcredit_point (Points Attribution), credit_history_ids, yearly_point_increase (Yearly points increase), credit_point_currency_id
  • credit.point.history · new modelamount, comment, operation, partner_id (Partner), create_date, credit_point_currency_id
  • wiz.manage.credit.point · new modelcomment, operation (Type of operation), partner_ids (Partners), credit_point (Points)

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

Confirmed on 2026-11-03 in branch 15.0 of OCA/sale-workflow.

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.