Skip to content

Comments

[18.0] [FIX] contract_brand: fix analytic distribution compute on contract lines#284

Open
marielejeune wants to merge 1 commit intoOCA:18.0from
acsone:18.0-fix_contract_brand_analytic_distribution-mle
Open

[18.0] [FIX] contract_brand: fix analytic distribution compute on contract lines#284
marielejeune wants to merge 1 commit intoOCA:18.0from
acsone:18.0-fix_contract_brand_analytic_distribution-mle

Conversation

@marielejeune
Copy link
Contributor

@marielejeune marielejeune commented Dec 4, 2025

contract_brand: combine analytic distribution defined by analytic distribution models with analytic on brands

Before this commit the analytic distribution was always erased on contract lines: if the contract is linked to a brand, only the analytic of the brand was considered. If the contract wasn't linked to a brand, the analytic was erased.

After this commit: we consider analytic distribution models, to define the analytic distribution. And we combine it with the analytic distribution of the brand, if needed

Depends on OCA/contract#1355 (merged)

…ic distribution models with analytic on brands

Before this commit the analytic distribution was always erased on contract lines: if the contract is linked to a brand,
only the analytic of the brand was considered. If the contract wasn't linked to a brand, the analytic was erased.

After this commit: we consider analytic distribution models, to define the analytic distribution. And we combine
it with the analytic distribution of the brand, if needed
@OCA-git-bot
Copy link
Contributor

Hi @sbejaoui,
some modules you are maintaining are being modified, check this out!

@marielejeune marielejeune force-pushed the 18.0-fix_contract_brand_analytic_distribution-mle branch from a3e4d1a to c218e67 Compare December 18, 2025 09:28
@marielejeune
Copy link
Contributor Author

Removed the test-requirements as related PRs are merged.

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.

3 participants