Repository navigation
[IMP] mrp_stock_owner_restriction: sync with OCA upstream - #283
Open
AungKoKoLin1997 wants to merge 2 commits into
Open
AungKoKoLin1997 wants to merge 2 commits into
AungKoKoLin1997 wants to merge 2 commits into
Conversation
Takes OCA/manufacture@645c48929d68 (16.0). Local i18n/ is kept.
Local patch carried over from 9e36859 ([4207]); not proposed to OCA. Changing the owner of a manufacturing order whose operation type restricts owners drops the reserved component move lines, so that they are reserved again against the new owner.
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.
Brings
mrp_stock_owner_restrictionup to OCA/manufacture@645c48929d68 (16.0,16.0.1.0.1) and keeps one local patch as a separate commit.The drift audit classified this module as unattributed. Apart from the patch below, the differences were OCA code that our copy was behind on:
auto_install: True, the relatedowner_restrictionfield used by unbuild, post-install tests,ROADMAP.rst, the icon, and the author name.Local patch kept (not in OCA)
mrp.production.write(): changingowner_idon an MO whose operation type restricts owners unlinks its reserved component move lines, so they are reserved again against the new owner. It came in with 9e36859 ([4207]) and has not been proposed to OCA. The carried version readself.picking_type_idinside the per-record loop, which raises a singleton error on a multi-record write. It now readsproduction.owner_restriction.Tested locally (
--test-enable, fresh DB withmrp,stock_owner_restriction): passes. The locali18n/is kept.Refs https://github.com/qrtl/qrtl-dev-tools/issues/38
🤖 Generated with Claude Code