Point of Sale - Product Info Location

pos_product_info_location
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/17.0/pos_product_info_location
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPoint of sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Parvez Qureshi
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - 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
# Point of Sale - Product Info Location

This module enhances the Point of Sale (POS) system by displaying the stock quantities of a product by location directly in the product information popup.

## Key Features

- Shows the list of internal stock locations where the product is available.
- Displays real-time available quantities per location.
- Automatically filters out locations with zero quantity.
- Only displays locations that are children of the POS configuration's stock operation type's source location (e.g., WH/Stock).
- Compatible with complex location structures like:
  - WH/Stock/Shelf1/Drawer1
  - WH/Stock/Shelf2/Drawer3
  - WH/Stock2/Shelf1/Drawer2
- Bonus: If the trusted_config_ids field is set on the POS configuration, quantities from trusted locations will also be shown without duplication.

## Use Case

This module is especially useful in warehouse environments where stock is distributed across multiple sub-locations and the POS user needs quick access to location-specific inventory data to improve picking efficiency and customer service.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • module_pos_product_info_position Boolean
    compute='_compute_module_pos_product_info_position' string='Module Pos Product Info Position Installed'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_product_info_pos(self, price, quantity, pos_config_id)