Hi! I’d like to propose a small bridge addon: product_contract_analytic_tag.
What it does
When product_contract creates a contract from a Sales Order line, copy the analytic tags from the sale.order.line to the generated contract.line (provided by contract_analytic_tag). No UI, just propagation. If template tags exist, we’d union them (no duplicates).
Why
Today, analytic tags on SO lines don’t reach the contract lines, which breaks downstream reporting.
Repo & versions
Target repo: OCA/contract.
First target: 16.0. Then backport to 14.0 and forward-port to 18.0.
Dependencies
product_contract
contract_analytic_tag
(Optionally) sale_analytic_tag if needed for SO line tags on older series.
Tests
SO with a contract product + analytic tags → confirm SO → contract created → tags present on contract.line.
Multi-line SO and union behavior.
Happy to open a PR with implementation + tests if there’s consensus. Naming suggestions also welcome!