Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][BUG] product_configurator: can't share config restrictions between templates #139

Open
matt454357 opened this issue Oct 30, 2024 · 0 comments · May be fixed by #140
Open

[16.0][BUG] product_configurator: can't share config restrictions between templates #139

matt454357 opened this issue Oct 30, 2024 · 0 comments · May be fixed by #140
Labels
bug Something isn't working

Comments

@matt454357
Copy link
Contributor

16.0 product_configurator

There is a constraint that prevents sharing of configuration restrictions (product.config.domain) between templates.

Steps to reproduce the behavior:

  1. Create value "Flex" on attribute "Fuel"
  2. Add value "Flex" to Configuration Restriction "Gasoline"
  3. Make any minor change to the "2 Series" template, and save it (e.g. change the product name)

Expected behavior

Allow the "Flex" value to be present in the configuration restriction values, although it is not present in the attribute values assigned to the template.

Actual behavior

We receive an error message:

Following Attribute/Value from restriction are not present in template attributes/values. Please make sure you are adding right restriction
Restriction: Gasoline
Value/s: Flex`

Additional context

Screenshot at 2024-10-30 11-13-50

Screenshot at 2024-10-30 11-14-17

Screenshot at 2024-10-30 11-25-20

@matt454357 matt454357 added the bug Something isn't working label Oct 30, 2024
matt454357 added a commit to asphaltzipper/oca-product-configurator that referenced this issue Nov 1, 2024
fixes OCA#139

Allow more flexibility in sharing configuration restrictions between different templates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant