Stock Picking Commercial Entity
stock_picking_commercial_partner · OCA/stock-logistics-warehouse
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_picking SET commercial_partner_id = res_partner.commercial_partner_id FROM res_partner WHERE stock_picking.partner_id = res_partner.id;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
When you organize the work into your warehouse you could need to search for pickings related to a specific commercial entity. This use case could be motivated by the fact that pickings for the same commercial entity are usually delivered together.
This addon add on the picking form the "Commercial Entity" field the related partner is part of. This field is readonly and comes from the partner information. It also allows you to quickly search for pickings related to a specific commercial entity and to group by this field in the picking tree view.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_picking_form_view |
stock.picking.form (in stock_picking_commercial_partner) | stock.picking | form | Inherits stock.view_picking_form |
stock_picking_search_view |
stock.picking.search (in stock_picking_commercial_partner) | stock.picking | search | Inherits stock.view_picking_internal_search |
stock_picking_tree_view |
stock.picking.tree (in stock_picking_commercial_partner) | stock.picking | tree | Inherits stock.vpicktree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
commercial_partner_idMany2one → res.partnercomodel_name='res.partner'depends=['partner_id']readonly=Truerelated='partner_id.commercial_partner_id'store=Truestring='Commercial Entity'
No public methods.
Loading…
Loading…