Verify if a user has previously bought a product by looking for the invoice payment. Useful if you want to display a "purchase verified" badge on product ratings
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a "purchase verified" flag to product ratings, automatically set when the customer who left the rating has a paid invoice for that product.
This module extends the standard rating feature so that product reviews can show whether the reviewer really bought the product.
- On every rating record, a new read-only field called purchase_verified is calculated automatically. It becomes true only when the rating is linked to a product (product.product) and the same customer has at least one paid customer invoice line for that product.
- The check looks at invoice lines whose payment status is "paid", matching both the customer and the product. If no such paid line exists, the flag stays false.
- The value is stored, so it can be used in filters, groupings or reports without recalculating every time.
- In the rating form view, the field appears right after the internal note indicator, but it is only visible when the rating concerns a product; for other rating types it is hidden.
- The module touches the rating.rating model and the account.move.line data used for the verification. It does not add menus, buttons, emails or scheduled actions of its own.
In short, it gives businesses a simple way to highlight trustworthy product reviews coming from actual paying customers.
Depends on
Models and fields (1)
- rating.rating · extends an existing modelpurchase_verified
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-03Confirmation 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-workflow.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0With this module you can display the purchase_verified boolean in the rating moderation view so you can easily identify if a user had previously bought the product before posting a rating
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.