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][BC] base_delivery_carrier_label: remove _set_a_default_package #853

Conversation

hparfr
Copy link
Contributor

@hparfr hparfr commented Jul 9, 2024

This functionality adds a burden on other modules tests like (delivery_package_fee or delivery_package_number).

In some contexts, you want to require a package to be always explicitly created.

This functionality is also now implemented in delivery_automatic_package module.

To be merged with major

EDIT:

Contains and replace:

This PR remove set_a_default_package from base_delivery_carrier_label.
Tests are red because it needs some changes in delivery_roulier #855
And tests in #855 are also red because it needs this PR.

This functionality adds a burden on other modules tests
like (delivery_package_fee or delivery_package_number).

In some context, you want to require a package to always explicitly created.

This functionality is also now implemented in delivery_automatic_package.
@hparfr
Copy link
Contributor Author

hparfr commented Jul 9, 2024

@rousseldenis please have a look. It remplace #643

Copy link
Contributor

@florian-dacosta florian-dacosta left a comment

Choose a reason for hiding this comment

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

LGTM please port this to 17

@rousseldenis
Copy link
Contributor

@hparfr Could you fix also roulier module here ?

@rousseldenis rousseldenis added this to the 16.0 milestone Jul 9, 2024
@hparfr
Copy link
Contributor Author

hparfr commented Jul 9, 2024

@rousseldenis is it possible to ocabot merge major on two modules in the same PR ?

@rousseldenis
Copy link
Contributor

@rousseldenis is it possible to ocabot merge major on two modules in the same PR ?

I think so

Because, base_delivery_carrier_label do not create packs automatically
anymore, we have to create a pack in delivery_roulier_tests

Delivery roulier still can't work without pack.

Also, add myself as a maintainer of the module.
@hparfr
Copy link
Contributor Author

hparfr commented Jul 10, 2024

@rousseldenis
Both commit added to this pr;

@hparfr
Copy link
Contributor Author

hparfr commented Jul 17, 2024

@rousseldenis is it ok for you to merge this PR ?

@hparfr
Copy link
Contributor Author

hparfr commented Sep 23, 2024

@rousseldenis I'm waiting your feedback here.
Thanks

@rousseldenis
Copy link
Contributor

/ocabot merge major

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-853-by-rousseldenis-bump-major, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 97f24d3 into OCA:16.0 Sep 23, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@hparfr hparfr deleted the 16.0-fix-base_delivery_label-automatic-pack-creation branch September 23, 2024 07:37
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.

4 participants