-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
product_variant_default_code: issue #140
Comments
I don't get what you mean |
https://github.com/OCA/product-variant/blob/11.0/product_variant_default_code/models/product.py#L127 If a user who is not having "Product Default Code Behavior" group makes any change to any other fields it will recompute the default_code for every variant with new reference_mask generated with self._get_default_mask() method |
Do you mean incorrect parenthesis? Please do a PR amending that. |
That or condition is causing the problem. I will create a PR |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Admin user who is having the "Product Default Code Behavior" group set a reference mask for a product template. Then another user without the "Product Default Code Behavior" security group make changes to any field other than attribute_line_ids, reference_mask, code_prefix etc can trigger the default_code generation using the default_reference_mask
The text was updated successfully, but these errors were encountered: