Skip to content

[6816][ADD] stock_lot_quality_status: assign quality status to lots - #2

Open
yostashiro wants to merge 1 commit into
19.0from
add-stock-lot-quality-status
Open

[6816][ADD] stock_lot_quality_status: assign quality status to lots#2
yostashiro wants to merge 1 commit into
19.0from
add-stock-lot-quality-status

Conversation

@yostashiro

@yostashiro yostashiro commented Jun 18, 2026

Copy link
Copy Markdown
Member

Add a module providing a dedicated, configurable quality status for serial/lot numbers, as an LGPL-3 alternative to the AGPL-licensed OCA stock_lot_condition.

  • New stock.lot.quality.status model (name, code, sequence, active, description), managed under Inventory > Configuration > Quality Statuses (stock manager only). Ships starter records: Good / Quarantine / Rejected.
  • Adds quality_status_id (tracked, ondelete="restrict") on stock.lot, surfaced on the lot form, list (optional column), and search view (field + Group By).
  • Access rights: read for all internal users, full CRUD for stock managers.
  • Includes tests.

The status is informational on its own; transfer-restriction enforcement can be layered on in a separate module.

QT6816

@yostashiro yostashiro changed the title [ADD] stock_lot_quality_status: assign quality status to lots [6816][ADD] stock_lot_quality_status: assign quality status to lots Jun 18, 2026
@yostashiro
yostashiro force-pushed the add-stock-lot-quality-status branch 4 times, most recently from 194a050 to 335d737 Compare June 18, 2026 05:50
Add a module providing a dedicated, configurable stock.lot.quality.status
model and a quality_status_id field on stock.lot, so serial/lot numbers can
be classified by inventory quality condition. Ships under LGPL-3 to avoid the
AGPL licensing of the OCA stock_lot_condition alternative.
@yostashiro
yostashiro force-pushed the add-stock-lot-quality-status branch from ed2ba64 to 26c05ac Compare July 1, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant