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][ADD] add rma_lot #419

Merged
merged 3 commits into from
Oct 18, 2024
Merged

[16.0][ADD] add rma_lot #419

merged 3 commits into from
Oct 18, 2024

Conversation

sbejaoui
Copy link
Contributor

@sbejaoui sbejaoui commented Aug 22, 2024

fixes: #416

@OCA-git-bot
Copy link
Contributor

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

@sbejaoui sbejaoui marked this pull request as draft August 22, 2024 12:54
@sbejaoui sbejaoui force-pushed the 16.0-rma_lot-sbj branch 3 times, most recently from ba6362d to 9cf66f4 Compare August 27, 2024 15:10
@sbejaoui sbejaoui marked this pull request as ready for review August 27, 2024 18:49
rma/views/rma_views.xml Outdated Show resolved Hide resolved
rma_sale_lot/wizards/sale_order_rma_wizard.py Outdated Show resolved Hide resolved
@peluko00
Copy link

peluko00 commented Oct 17, 2024

Hi @pedrobaeza, can you please review that. I'm really interested in migrate this module to v17 because i need and it's probably very important for this repo

@pedrobaeza pedrobaeza added this to the 16.0 milestone Oct 17, 2024
@pedrobaeza
Copy link
Member

Perform a full review and wait for the changes of the author.

@peluko00
Copy link

The function not compute the product when the lot is selected and the field product must be readonly.
image

@peluko00
Copy link

Maybe @sbejaoui it's better to separate the two new modules in two prs

@sbejaoui
Copy link
Contributor Author

The function not compute the product when the lot is selected and the field product must be readonly.

I added the onchange functions so that the product and lot update when one or the other changes. I don't agree with making the product field readonly

rma_lot/models/rma.py Outdated Show resolved Hide resolved
@peluko00
Copy link

The function not compute the product when the lot is selected and the field product must be readonly.

I added the onchange functions so that the product and lot update when one or the other changes. I don't agree with making the product field readonly

Thanks but if you choose an lot_id it's link to product and doesn't associate to another. If lot_id it's not filled it's normal to choose product

@peluko00
Copy link

Maybe @sbejaoui it's better to separate the two new modules in two prs

What is your opinion in that case @rousseldenis?

@rousseldenis
Copy link
Contributor

Maybe @sbejaoui it's better to separate the two new modules in two prs

What is your opinion in that case @rousseldenis?

As both modules are new, I would say it's not really annoying. The problem with that is when changes in one module are accepted and not in the other. That couples the PR lifetime to the slowest.

@sbejaoui Could you do a PR for rma search view modification as the module version won't be updated when we will merge this (@peluko00 this is the more annoying case)

@peluko00
Copy link

Maybe @sbejaoui it's better to separate the two new modules in two prs

What is your opinion in that case @rousseldenis?

As both modules are new, I would say it's not really annoying. The problem with that is when changes in one module are accepted and not in the other. That couples the PR lifetime to the slowest.

@sbejaoui Could you do a PR for rma search view modification as the module version won't be updated when we will merge this (@peluko00 this is the more annoying case)

And related to the two new modules?

@sbejaoui
Copy link
Contributor Author

Maybe @sbejaoui it's better to separate the two new modules in two prs

What is your opinion in that case @rousseldenis?

As both modules are new, I would say it's not really annoying. The problem with that is when changes in one module are accepted and not in the other. That couples the PR lifetime to the slowest.

@sbejaoui Could you do a PR for rma search view modification as the module version won't be updated when we will merge this (@peluko00 this is the more annoying case)

#430

Copy link

@peluko00 peluko00 left a comment

Choose a reason for hiding this comment

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

LGTM, tested in runboat

@peluko00
Copy link

Seems it's ready to merge @rousseldenis

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

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

LGTM, tested in runboat and working as expected

@rousseldenis
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-419-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 80b198e into OCA:16.0 Oct 18, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 68d6a10. Thanks a lot for contributing to OCA. ❤️

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 : Manage Lots
6 participants