Skip to content

Conversation

@abumalick
Copy link

Table incorrectly states untracked products cannot use putaway rules.

Correct Statement

Both tracked and untracked goods can use putaway rules. Only services are excluded.

Code Evidence

File Line Evidence
addons/stock/models/product_strategy.py 48 domain="[('type', '!=', 'service')]" - only services excluded
addons/stock/models/stock_location.py 294-373 _get_putaway_strategy() - no is_storable check
addons/stock/models/stock_move_line.py 254-278 _apply_putaway_strategy() - no tracking check
addons/stock/views/product_views.xml 247, 371, 498 invisible="type == 'service'" - button visible for all goods
Table incorrectly states untracked products cannot use putaway rules. Code shows only services are excluded (domain: type != 'service'). Both tracked and untracked goods support putaway rules. Refs: https://github.com/odoo/odoo/blob/1b5285b75c72b0f6f26e76f35b78692050b9b144/addons/stock/models/product_strategy.py#L47
Copilot AI review requested due to automatic review settings December 22, 2025 19:06
@robodoo
Copy link
Collaborator

robodoo commented Dec 22, 2025

Pull request status dashboard

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

None yet

2 participants