Skip to content

[ADD] pos_lot_selection_stock_aware: Stock-aware lot selection in POS#1482

Open
nkirui wants to merge 8 commits intoOCA:17.0from
nkirui:17.0-add-pos_lot_selection_stock_aware
Open

[ADD] pos_lot_selection_stock_aware: Stock-aware lot selection in POS#1482
nkirui wants to merge 8 commits intoOCA:17.0from
nkirui:17.0-add-pos_lot_selection_stock_aware

Conversation

@nkirui
Copy link
Copy Markdown

@nkirui nkirui commented Feb 2, 2026

This module extends pos_lot_selection to provide stock-aware lot selection in Point of Sale:

  • Display available quantity beside lot numbers (e.g., LOT001 (Qty: 15))
  • Auto-filter lots with zero quantity at POS location
  • Location-aware filtering using POS picking type source location
  • Prevent typing invalid lot numbers (selection-only interface)
  • Real-time quantity updates via RPC calls

@nkirui nkirui force-pushed the 17.0-add-pos_lot_selection_stock_aware branch from 0c014f3 to 04c9731 Compare February 2, 2026 20:54
compute="_compute_available_lot_for_pos", prefetch=False
)

@api.depends()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@api.depends()

@ivantodorovich
Copy link
Copy Markdown
Contributor

Can you squash all your commits into a single one? 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants