| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/pos |
| GIT | |
| GIT | https://github.com/OCA/pos.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/pos/tree/17.0/pos_order_line_customer_history |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Point of sale |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd. |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd. |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Parvez Qureshi |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/pos |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:02 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - point_of_sale - stock_account - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - account - onboarding - analytic |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | # POS Order Line Customer History This module adds a feature in the Point of Sale (POS) interface to allow users to view the sales history of a selected customer and reuse past order lines in new orders. ## Features - Adds a **"History" button** above the customer details on the POS screen. - When clicked, opens a new view showing past `pos.order.line` records for the selected customer. - If no customer is selected, a popup is displayed with the message: > "You must select a customer first" ### History View - Displays a list of past order lines for the selected customer. - Ordered by most recent first. - Shown fields: - **Date** - **Product** - **Quantity** - **Discount** - **Price Unit** - **Total** ### Functionalities - **Sortable Data**: Users can sort the list by selecting from a dropdown with the following options: - Date ASC - Date DESC - Product ASC - Product DESC - Price Unit ASC - Price Unit DESC - Qty ASC - Qty DESC - Total ASC - Total DESC - **Search Bar**: - Filter by **product name** or **barcode** - Filter by **date** - **Line Selection**: - Select one or more lines from the list. - Add selected products and their quantities to the current POS order. - Note: **Discounts and prices are not copied**, only **product and quantity** are reused. ## Usage 1. Select a customer in the POS interface. 2. Click the "History" button to view their order history. 3. Use the search and sort features to find relevant products. 4. Select lines and add them to the current order as needed. ## Technical Information - Compatible with Odoo 17.0 - Developed following OCA module standards. |
No views found for this module.
No new fields.
Public methods (1)search_paid_orderline_ids(self, config_id, domain, limit, offset, orderby='id')
date_order
Datetime
related='order_id.date_order'
store=True
No public methods.