This module adds a button on product forms with a link to sale order lines for that product.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a "Sales" smart button on product and product variant forms showing how many confirmed sale order lines exist, and opens the matching sale order lines when clicked.
This module makes it easy to jump from a product to the sales history of that product.
- On both the product template form and the product variant form, a new "Sales" stat button appears in the button box. It shows a count of sale order lines for that product.
- The button is only visible for users in the Sales / Salesman group and only when the product is marked as sellable (sale_ok).
- Clicking the button opens a list of sale order lines filtered to that product (or to all variants of the template). The list is pre-filtered to show only confirmed sales orders and done orders.
- The count is computed automatically: it counts sale order lines whose status is "Sales Order" or "Done", limited to the companies the current user is allowed to see. If the user is not a salesman, the count is zero.
- On the sale order line list view, two new filters are added: "Quotations" (draft and sent) and "Sales Orders" (sale and done), making it quicker to separate quotes from confirmed orders.
The module touches product.product, product.template and sale.order.line, and adds a window action named "Sale Order Lines".
Depends on
Models and fields (2)
- product.product · extends an existing modelsale_lines_count
- product.template · extends an existing modelsale_lines_count
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0Go to Sales \> Products \> Products
Choose a product and click on 'Sales' button.
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.