Skip to content

[19.0][ADD] product state operational restrictions - #2394

Open
flogruber wants to merge 1 commit into
OCA:19.0from
agf-vector:19-product_state_restriction
Open

flogruber wants to merge 1 commit into
OCA:19.0from
agf-vector:19-product_state_restriction

Conversation

@flogruber

Copy link
Copy Markdown

Introduce a new product_state_restriction module that adds configurable state-level flags to block sales, manufacturing, and outgoing stock moves. It enforces restrictions at key workflow points (sale.order confirmation, mrp.production confirm/done, and stock.move completion), keeps sale_ok synchronized with sale restrictions, and extends the product state form with a dedicated Restrictions section.

@OCA-git-bot OCA-git-bot added series:19.0 mod:product_state_restriction Module product_state_restriction labels Sep 3, 2026
@flogruber flogruber changed the title [ADD] product state operational restrictions [19.0][ADD] product state operational restrictions Sep 3, 2026
Introduce a new `product_state_restriction` module that adds configurable state-level flags to block sales, manufacturing, and outgoing stock moves. It enforces restrictions at key workflow points (`sale.order` confirmation, `mrp.production` confirm/done, and `stock.move` completion), keeps `sale_ok` synchronized with sale restrictions, and extends the product state form with a dedicated Restrictions section.
@flogruber
flogruber force-pushed the 19-product_state_restriction branch from 5619eec to 9dcecfa Compare September 7, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:product_state_restriction Module product_state_restriction series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants