-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
[18.0][MIG] delivery_package_fee: Migration to 18.0 #921
Open
chaule97
wants to merge
30
commits into
OCA:18.0
Choose a base branch
from
chaule97:18.0-mig-delivery_package_fee
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,972
−0
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
A list of Package Fees can be added on shipping methods. When a outgoing transfer is done, for each package fee configured on the shipping method, a new sale order line is created with: * The product selected on the Package Fee * The product name with the number of the transfer in the line's description (e.g. "Service Fee (WH/OUT/00036)") * The quantity equal to the number of packages in the transfer * The unit price equal to the price set on the product's pricelist (so it can be different per customer and even have different pricing depending on the number of packages) * The taxes configured on the product, fiscal position applies if any. Package Fee lines are added only if their quantity and price is above zero.
Flag package fee order lines with a new boolean 'is_delivery_package_fee'. Standard method '_is_delivery' will also consider this field to exclude the lines from the computation of the 'expected_date' in 'sale' module.
'order_line' can be empty when SO is copied from direct call to copy with False as default.
Currently translated at 100.0% (19 of 19 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_package_fee Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_package_fee/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_package_fee Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_package_fee/
Currently translated at 100.0% (19 of 19 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_package_fee Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_package_fee/it/
Currently translated at 89.4% (17 of 19 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_package_fee Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_package_fee/fr/
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.
is_storable
was introduced for simpler tracking instead of typeproduct
, in odoo/odoo@83d0f2b.