[19.0][MIG] purchase_sale_inter_company#942
Merged
OCA-git-bot merged 86 commits intoOCA:19.0from Feb 17, 2026
Merged
Conversation
… and auto_purchase_line_id field in sale_order_line
…d purchase_order_view.xml
…price in purchase line when validating the sale order
… order to load it with the correct context
OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex
Make tests compatible with OCA#110, for the same reason as the specified in that link.
…r test - Function _approve_po: allow passing purchase_to_approve - Function _create_purchase_order: allow passing products
… sale order is created and confirmed Install the purchase_sale_stock_inter_company module Configuration in the companies: - Sync pickings - Auto-validate the sale order Enable Dropshipping and Multi-Step Routes in the inventory settings. In the Dropship route, set Company A. In the Buy route, set Company B. Create a product and, in Company A, enable only the Dropshipping route. Set the supplier info with the partner of Company B, but do not set another supplier info for Company B (because this product should not automatically generate a purchase in Company B). Create a sale order with any customer, confirm it, and go to the generated purchase order. Try to confirm the purchase order, an error will be displayed: “There is no matching vendor price to generate the purchase order for this product.” This happens because the sale order in Company B is confirmed automatically, and the code executes with sudo, meaning record rules are not applied. As a result, the Dropship route is considered, although in this case it should be ignored. After this commit, record rules are correctly applied, and routes are taken into account according to the record rules for the current company.
…when differs from dest company
…ter-company purchase and sale order
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: multi-company-18.0/multi-company-18.0-purchase_sale_inter_company Translate-URL: https://translation.odoo-community.org/projects/multi-company-18-0/multi-company-18-0-purchase_sale_inter_company/
Currently translated at 100.0% (26 of 26 strings) Translation: multi-company-18.0/multi-company-18.0-purchase_sale_inter_company Translate-URL: https://translation.odoo-community.org/projects/multi-company-18-0/multi-company-18-0-purchase_sale_inter_company/it/
1 task
AaronHForgeFlow
approved these changes
Feb 16, 2026
Contributor
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
Functional review with #946
Contributor
|
/ocabot merge nobump |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
/ocabot migration purchase_sale_inter_company |
Contributor
|
Congratulations, your PR was merged at c519de8. Thanks a lot for contributing to OCA. ❤️ |
This file contains hidden or 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
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.
Standard Migration
@ForgeFlow