[FIX] deltatech_picking_transit: sudo la crearea celui de-al doilea transfer (tichet 8970) - #2628
Open
VoicuStefan2001 wants to merge 1 commit into
Open
[FIX] deltatech_picking_transit: sudo la crearea celui de-al doilea transfer (tichet 8970)#2628VoicuStefan2001 wants to merge 1 commit into
VoicuStefan2001 wants to merge 1 commit into
Conversation
…ransfer (tichet 8970) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
VoicuStefan2001
force-pushed
the
19.0-fix-deltatech_picking_transit
branch
from
July 7, 2026 09:19
61d39f9 to
76aab47
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 19.0 #2628 +/- ##
==========================================
- Coverage 73.13% 73.11% -0.03%
==========================================
Files 733 733
Lines 13784 13786 +2
Branches 2471 2471
==========================================
- Hits 10081 10079 -2
- Misses 2886 2889 +3
- Partials 817 818 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
deltatech_picking_transit — sudo la crearea celui de-al doilea transfer (port 18→19)
Referință: tichet 8.970 · PR pereche pe 18.0: #2627
Context / de ce
La transferul în doi pași, al doilea transfer se creează în depozitul de destinație, în
numele operatorului care validează primul transfer. Dacă operatorul nu are drepturi pe
tipul de operație / locațiile depozitului de destinație (reguli de înregistrare,
multi-company), fluxul pică cu eroare de acces.
Ce s-a schimbat
models/stock_picking.py(identic cu PR-ul de 18.0):button_validate(fluxul automat): căutările destock.warehouseșistock.picking.typese fac acum cusudo().create_second_transfer_wizard: argumentelepicking_type_id/final_dest_location_idsunt ridicate lasudo(), iar al doilea picking se creează cusudo()— astfelaction_confirm(),message_postșiwrite-urile ulterioare pe eltrec de restricțiile operatorului. Acoperă atât fluxul automat cât și wizard-ul manual.
copy_move_lines: mutările se copiază cumove.sudo().copy(...).__manifest__.py: bump versiune19.0.0.0.9→19.0.0.0.10.static/description/index.html: regenerat de hook-ul pre-commit tb-skin.Testare
--test-enablepe baza localădatusfără erori;pe 19.0 verificat sintactic + pre-commit (ruff, ruff-format, pylint-odoo) verde.
Note / riscuri
operatorului — dacă operatorul nu vede deloc tipul de operație, nu îl poate selecta
manual. Fluxul automat (
auto_second_transfer) e acoperit complet.sudo()ocolește și regulile multi-company la căutarea depozitului după partener —domeniul e specific (partenerul depozitului), deci riscul de potrivire greșită e mic.
Generated with Claude Code
🤖 Generated with Claude Code