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

Does not recalculate amount if changed on sale_order_line #355

Closed
anajuaristi opened this issue Apr 26, 2022 · 0 comments · Fixed by #360
Closed

Does not recalculate amount if changed on sale_order_line #355

anajuaristi opened this issue Apr 26, 2022 · 0 comments · Fixed by #360
Labels

Comments

@anajuaristi
Copy link

anajuaristi commented Apr 26, 2022

Module

sale_commission

Describe the bug

Commision amount is not recalculated if you change manually the sale_commision to apply in a sale order line for one agent.

To Reproduce

Affected versions:
Tested in V14

Steps to reproduce the behavior:
1.Go to sale_order_line, click on agents
2.Change sale_commision for one agent line --> The amount is not recalculated and the field can not be updated manually, so it's not possible to fix the incorrect amount directly on the line

  1. Add a new agent to the line. Assing a commision. Save --> The amount is correctly calculated for the new agent.

Expected behavior
Selecting a commision in an agent line should recalculate the line amount.

Additional context
The issue can be avoided, just following the steps:

  1. Delete the agent line and save
  2. Add a new line with agents and commision as needed
  3. save --> The commision for all agents will be correctly calculated on the line.
oihane added a commit to avanzosc/commission that referenced this issue May 25, 2022
AungKoKoLin1997 pushed a commit to AungKoKoLin1997/commission that referenced this issue Sep 7, 2022
Tisho99 pushed a commit to sygel-technology/commission that referenced this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant