This module updates customer_rank for partners when creating sale orders.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When a sale order is created, the customer rank of the customer and its parent company is automatically increased, so Odoo recognises them as active customers.
This module changes how Odoo counts customers. Normally the customer rank is only updated in certain situations; with this module, every time a new sale order is created, the system automatically increases the customer rank of the customer on that order.
- The rank is increased for both the customer contact and its related company (the commercial entity), so the parent company is also marked as a customer.
- This happens automatically at the moment the sale order is saved; no user action is needed.
- The module also runs a one-time update when it is installed, so existing customers get their rank recalculated.
It works on the sale.order model and uses the standard customer rank field on partners. There are no new menus, buttons, or reports; the change is purely behind the scenes. The goal is to keep the customer rank accurate for reporting and segmentation, for example to identify active customers based on their orders.
Depends on
Models and fields (1)
- sale.order · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/partner-contact.
terminal Installation and usage
No verified informationInstallation 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.