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

15.0 mig sale restricted qty #2581

Closed

Conversation

thinkwelltwd
Copy link

@thinkwelltwd thinkwelltwd commented Jun 21, 2023

Migrate module as well as improve grammar and spelling
Optimize test by setting up test class once
Remove product_product_views.xml view since the product_template_views.xml view adds needed fields

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration sale_restricted_qty

Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

Code review

sale_restricted_qty/__manifest__.py Outdated Show resolved Hide resolved
sale_restricted_qty/tests/test_sale.py Outdated Show resolved Hide resolved
@thinkwelltwd thinkwelltwd force-pushed the 15.0-mig-sale_restricted_qty branch 6 times, most recently from 57b0843 to 0d2c40e Compare July 26, 2023 01:13
@thinkwelltwd
Copy link
Author

Thanks for the review! Should be ready to merge now.

@rafaelbn
Copy link
Member

rafaelbn commented Aug 7, 2023

We need here functional reviews for sale_restricted_qty module

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 15.0.

@rafaelbn
Copy link
Member

rafaelbn commented Aug 7, 2023

Hello @rousseldenis , your comments have been attended!

@thinkwelltwd please review why pre-commit is failing! Thank you! 👍🏼

Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

@thinkwelltwd Please fix pre-commit

sale_restricted_qty/models/product_restricted_qty_mixin.py Outdated Show resolved Hide resolved
@thinkwelltwd thinkwelltwd force-pushed the 15.0-mig-sale_restricted_qty branch 4 times, most recently from 9116661 to 53f7f8b Compare September 9, 2023 22:04
@thinkwelltwd
Copy link
Author

Could @rousseldenis or someone else please review this PR? The tests are all passing and it represents quite a lot of cleanup to the module. 🙏

@thinkwelltwd
Copy link
Author

All requested changes have been made and approved. The code has been used in production for weeks.

Could this PR be merged? 🙏

@rafaelbn
Copy link
Member

rafaelbn commented Dec 2, 2023

/ocabot rebase

SicurSam and others added 20 commits December 2, 2023 02:00
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/fr/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/fr/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Improve grammar and spelling
Optimize test by setting up test class once
Remove product_product_views.xml view since the
product_template_views.xml view adds needed fields
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 15.0.

@rafaelbn
Copy link
Member

rafaelbn commented Dec 2, 2023

Please, could you review in runbot showing how this works? 😄

I've tested and it doesn't look like working

imagen

@alexey-pelykh
Copy link

Maybe we should continue in #2992?

@rafaelbn "force" in this module means "allow force override", so you need to have that unchecked. I'm addressing all of that UX in #2997

@rousseldenis
Copy link
Sponsor Contributor

@thinkwelltwd Do you mind if we switch to #2992 ?

@thinkwelltwd
Copy link
Author

@thinkwelltwd Do you mind if we switch to #2992 ?

Sure, go ahead. Thanks for asking. 😄

@thinkwelltwd
Copy link
Author

Superseded by #2992

@thinkwelltwd thinkwelltwd deleted the 15.0-mig-sale_restricted_qty branch March 12, 2024 16:50
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.

None yet