odoo/tutorials#905
Created by Kshitij Oza (ksoz)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 3s)
- ci/tutorial: (runtime 83s)
- label
- odoo-dev:18.0-final-task-last_products-so-po-ksoz
- head
- be9f1b8535c46b67497ee5dc6087e993af7818c2
odoo/tutorials | |
---|---|
18.0 | #905 missing r+ |
master |
[IMP] custom_sale_purchase_display: enhance product listing
Improve product selection on Sale Orders, Purchase Orders
Before:
- Products in Sale Orders were displayed in default order, unrelated to customer history.
- No indication of the last invoice date on product cards.
- Forecasted and on-hand quantities were not visible at a glance.
- No visual indicator for differences in stock levels.
- Kanban product catalog in Purchase Orders didn't showed color tags
After:
- In Sale Orders, products already sold to the selected customer are prioritized and sorted from most recent to oldest invoice.
- Remaining products appear afterward in standard order.
- Product cards in catalog view now display the last invoice date
- Forecasted quantity and on-hand quantity are shown directly on product cards.
- Stock differences are highlighted: red for negative (-), green for positive (+).