Skip to content

[IMP] stock_analytic: sync with OCA upstream - #279

Open
AungKoKoLin1997 wants to merge 2 commits into
16.0from
16.0-sync-stock_analytic
Open

AungKoKoLin1997 wants to merge 2 commits into
16.0from
16.0-sync-stock_analytic

Conversation

@AungKoKoLin1997

Copy link
Copy Markdown
Contributor

Brings stock_analytic up to OCA/account-analytic 16.0 tip (16.0.1.1.0 → 16.0.1.4.0). No OCA PRs are applied on top: all of our OCA PRs for this module are merged upstream (OCA/account-analytic#528, #586, #641, #653, #703).

The drift audit classified this module as both. Each local change turned out to be an earlier form of something now in OCA:

  • _get_score in analytic_applicability.py: the local copy was taken from an early revision of #586, which review changed before it merged. With the merged version, an applicability that sets an Operation Type no longer matches callers that pass no picking_type. Stock moves always pass one.
  • The procurement salvage (local [4346][IMP] stock_analytic: salvage analytic distribution from procurement #127) went upstream as #641, which uses _get_custom_move_fields instead of overriding _get_stock_move_values.
  • Upstream also adds move/move-line consistency of analytic_distribution (#653), a fix for the stock_valuation account (#703), and the analytic column in the receipt move tree.

Dependents checked: the overrides in stock_lot_analytic (axls-custom) and purchase_stock_analytic are unaffected. The local i18n/ is kept.

Refs https://github.com/qrtl/qrtl-dev-tools/issues/38

🤖 Generated with Claude Code

@qrtl-oca-drift
qrtl-oca-drift Bot requested a review from a team as a code owner October 26, 2026 02: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