[17.0][ADD] stock_picking_portal_owner: Stock Picking Portal Owner. #2434
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 313 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.344
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2434"
general
weight: 0.35
edescalona
@BinhexTeam
[ADD] stock_picking_portal_owner: Portal visibility for consigned pickings
📝 Context & Need
In logistics operations involving consignment inventory, the goods stored in a warehouse belong to various third-party owners (consignees). While Odoo natively tracks the ownership of these goods using the standard
owner_idfield, third-party owners lack an autonomous mechanism to consult the logistics operations (pickings/deliveries) processed on their merchandise from the Customer Portal. Currently, this creates an operational dependency, forcing owners to manually request information from the logistics operator's warehouse staff, which increases administrative overhead.🚀 What it incorporates
This PR introduces the
stock_picking_portal_ownermodule, which extends the existing portal infrastructure to add a specific, secure area for consignment owners. Specifically, it includes:📦 "My Consigned Pickings" Portal Section: A new dedicated menu in the portal for owners to access operations strictly related to their merchandise.
🔒 Strict Data Isolation by Owner: Automatically filters the pickings so the authenticated user can exclusively view operations where the
owner_idmatches their associated partner.♻️ Infrastructure Reuse: Extends the
stock_picking_portalmodule via inheritance, fully reusing its established controllers, list views, detail views, search, sorting, and pagination without duplicating code or altering the base module's behavior.🔀 Independent Coexistence: Operates completely independently from the standard "My Pickings" (customer-oriented) portal, ensuring that standard commercial operations and consignment operations remain functionally separate.
✨ Benefits
📈 Autonomy for Consignees: Empowers third-party owners with real-time, self-service access to monitor the logistics movements of their own stock.
⏱️ Reduced Administrative Burden: Eliminates the need for the operator's staff to manually generate and send picking reports to merchandise owners.
🛡️ Guaranteed Security: Ensures strict privacy by preventing users from accessing operations belonging to other owners or the operator's private stock, even via URL manipulation.
🧩 OCA-Compliant & Reusable: Built entirely on standard Odoo capabilities using inheritance, free of custom client logic, making it highly reusable for any Odoo implementation managing third-party logistics (3PL) or consignment inventory.