Skip to content

Syncing from upstream OCA/contract (18.0) - #1013

Merged
bt-admin merged 4 commits into
brain-tec:18.0from
OCA:18.0
Jul 30, 2026
Merged

Syncing from upstream OCA/contract (18.0)#1013
bt-admin merged 4 commits into
brain-tec:18.0from
OCA:18.0

Conversation

@bt-admin

Copy link
Copy Markdown

bt_gitbot

mymage and others added 4 commits July 29, 2026 07:39
The contract_line_ids and contract_line_fixed_ids one2many fields set
active_test=False in their context so that archived (closed) contract
lines remain visible in the contract form. The web client propagates
this context to every RPC issued from within the lines, including the
name_search of the product_id and uom_id many2one fields. As a result,
archived products and units of measure were suggested in the dropdowns.

Restore the default behaviour by explicitly setting active_test=True on
these fields in the embedded line lists and in the line form dialog.
Signed-off-by pedrobaeza
@bt-admin bt-admin added the 18.0 label Jul 30, 2026
@bt-admin
bt-admin merged commit 709724d into brain-tec:18.0 Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants