-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
[17.0][IMP] product_contract: Set new button to configure contract #1194
base: 17.0
Are you sure you want to change the base?
[17.0][IMP] product_contract: Set new button to configure contract #1194
Conversation
Hi @sbejaoui, |
Put the removal in a separate commit. |
54bfbb7
to
f8e512f
Compare
With this change, we allow the user to modify the contract without going through the product configuration stage, which overwrites the product and causes the loss of some information, even when no changes are made.
Removed the description feature because is changing the description when no option is activated. Since we have the information about what has been configured under the product, this is not a completely necessary feature. Added BTW on the ROADMAP.
f8e512f
to
b4917a9
Compare
Done @pedrobaeza |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't you remove also the context storage thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pedrobaeza The storage of the context can be removed, but when changing a product attribute, the wizard's information will not be automatically filled in. @carlos-lopez-tecnativa The issue that is occurring is that when pressing OK in the product configurator, the product is assigned regardless of whether it is changed or not. As a result, the new product process is executed. If, in a new product, the contract configuration is canceled, this causes the product not to be assigned, just as it happens with events. |
I understand your point, but when the record has not been saved yet, it's fine for the product to be empty. Would it be possible to hide the buttons if no product is selected? This would prevent users from clicking and causing a traceback. However, if the sale.order has already been saved and has an ID, canceling the wizard should not clear the product. Also, I think that on the second attempt, the This is an edge case that usually doesn’t occur. I'm just testing possible scenarios based on customer feedback. What do you think? |
With this change, we allow the user to modify the contract without going through the product configuration stage, which overwrites the product and causes the loss of some information, even when no changes are made.
Removed too the description feature because is changing the description when no option is activated. Since we have the information about what has been configured under the product, this is not a completely necessary feature. Added BTW on the ROADMAP.
cc @Tecnativa TT55066
ping @pedrobaeza @carlos-lopez-tecnativa