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][IMP] rma_sale: Display the allowed quantity to return in the RMA wizard #407

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

sbejaoui
Copy link
Contributor

@sbejaoui sbejaoui commented Jul 12, 2024

fixes: #406

  • Display the allowed quantity to return
  • Simplify data encoding by adding a button to select/deselect all lines
  • Ensure that the quantity to return is always less than or equal to the allowed quantity

image

@OCA-git-bot
Copy link
Contributor

Hi @chienandalu,
some modules you are maintaining are being modified, check this out!

@rousseldenis rousseldenis added this to the 16.0 milestone Jul 12, 2024
@rousseldenis rousseldenis linked an issue Jul 12, 2024 that may be closed by this pull request
@sbejaoui sbejaoui force-pushed the 16.0-rma_sale-sbj branch 2 times, most recently from 9d8d8b4 to eb0bede Compare July 12, 2024 15:04
@pedrobaeza pedrobaeza changed the title [IMP] rma_sale: Display the allowed quantity to return in the RMA wizard [16.0][IMP] rma_sale: Display the allowed quantity to return in the RMA wizard Jul 12, 2024
Copy link

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (code review + functional tests)

Copy link

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you perform the same in the stock picking return ?
You can also create RMAs from there

Copy link

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you change the product in the wizard line, the allowed quantity is not recomputed.
As the check on the wizard validation is on the allowed quantity of the lines, it is not ensuring properly the constraint (as you may have changed the product).

If you add a line in the wizard and select a product, the allowed quantity is not recomputed.

- Display the allowed quantity to return
- Simplify data encoding by adding a button to select/deselect all lines
- Ensure that the quantity to return is always less than or equal to the allowed quantity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RMA SO wizard quantity default to 0 and show max
5 participants