Skip to content

[18.0][IMP] product_analytic: Analytic Distrinbution Model in product.template model#2

Open
P-H-Phuc wants to merge 1 commit intoForgeFlow:18.0-mig-product_analyticfrom
P-H-Phuc:18.0-imp-product_analytic
Open

[18.0][IMP] product_analytic: Analytic Distrinbution Model in product.template model#2
P-H-Phuc wants to merge 1 commit intoForgeFlow:18.0-mig-product_analyticfrom
P-H-Phuc:18.0-imp-product_analytic

Conversation

@P-H-Phuc
Copy link

@P-H-Phuc P-H-Phuc commented Feb 6, 2026

  • This implementation allows configuring the analytic distribution model directly on the product.template form.

  • By default, the value is inherited from the analytic_distribution_model_ids of the first product variant.

  • When modifying the analytic distribution on the product.template form:

    • If the template has more than one variant, no change is applied.

    • If it has only one variant, the change is synchronized to the variant’s analytic_distribution_model_ids.

  • When creating a new product.template with analytic_distribution_model_ids and only one variant, the system automatically assigns these models to the variant by setting its product_id.

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