-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
14.0 mig delivery multi destination #373
Merged
OCA-git-bot
merged 22 commits into
OCA:14.0
from
jado95:14.0-mig-delivery_multi_destination
Jul 3, 2021
Merged
14.0 mig delivery multi destination #373
OCA-git-bot
merged 22 commits into
OCA:14.0
from
jado95:14.0-mig-delivery_multi_destination
Jul 3, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================== Multiple destinations for the same delivery method ================================================== Module `delivery` in version 8 allows to set different price rules depending on the destination. This is what is called a delivery grid. In version 9, for simplifying delivery methods, Odoo has plained the structure, lowering destinations at delivery method level, and removing delivery grid model. This is not usable when you have different prices according the destination of your delivery. This module restores the same concept, reusing the same model for nesting several "children" delivery methods, one per possible destination. It has been designed to reuse all possible extensions to the base delivery, without the need to create a glue module for having multiple destinations. This module also handles if you're migrating from version 8 and you had `delivery` module installed, to keep the delivery grids. Installation ============ If you installed the module on a version 8 migrated database, some operations will be done for recovering delivery grids. If so, you need to have **openupgradelib** library installed. Configuration ============= To configure delivery methods with multiple destinations: * Go to Inventory > Configuration > Delivery > Delivery Methods * Create or edit an existing record. * Select "Destination type" = "Multiple destinations". * Introduce a line for each destination in the new tab "Destinations" * Lines have priority, so you have to put first the lines with more restricted destinations. Usage ===== * When using the delivery method in a Sales order, delivery address will be used for computing the delivery price according introduced destinations.
…#148) * Don't show children carriers on many2one selections * Don't search by default children carriers * Add demo data
* Standard procedure * README by fragments * Code changed to follow v11 logic * Tests adapted and expanded
Incorrect use of variables
Currently translated at 100.0% (16 of 16 strings) Translation: delivery-carrier-12.0/delivery-carrier-12.0-delivery_multi_destination Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-delivery_multi_destination/zh_CN/
Currently translated at 100.0% (16 of 16 strings) Translation: delivery-carrier-12.0/delivery-carrier-12.0-delivery_multi_destination Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-delivery_multi_destination/pt_BR/
Currently translated at 56.2% (9 of 16 strings) Translation: delivery-carrier-12.0/delivery-carrier-12.0-delivery_multi_destination Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-delivery_multi_destination/de/
…lements On a multi-destination carrier, that fields shouldn't be shown
…main one When testing available carriers, we must return the main one if one of the children matches, not returning the children itself.
…h multi Handle the step of sending the shipping (triggered on picking validation) for multi destination delivery. This means to manually check for fixing prices (as the implementation doesn't check this part and always take the main carrier price, not the subcarrier one. Test for this use case done, although the rest of the cases are not covered by tests yet.
Currently translated at 5.9% (1 of 17 strings) Translation: delivery-carrier-12.0/delivery-carrier-12.0-delivery_multi_destination Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-delivery_multi_destination/sl/
jado95
force-pushed
the
14.0-mig-delivery_multi_destination
branch
from
June 4, 2021 12:23
24756df
to
0d3847c
Compare
jado95
force-pushed
the
14.0-mig-delivery_multi_destination
branch
from
June 4, 2021 13:02
0d3847c
to
1849529
Compare
Borruso
approved these changes
Jun 11, 2021
MarcoCalcagni
approved these changes
Jun 11, 2021
andreampiovesana
approved these changes
Jun 16, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at f4baa03. Thanks a lot for contributing to OCA. ❤️ |
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.