Purchase Requisition - Transport Addresses
purchase_requisition_transport_multi_address · OCA/stock-logistics-transport
Health
63/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by20/253 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.02 MB
Module directory on disk
Code analysis
2 migration notes
1 model
1 view
0 HTTP endpoints
Migration considerations
view_purchase_requisition_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · 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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- logistic_consignee, logistic_requisition, purchase_requisition_delivery_address
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_purchase_requisition_form |
purchase.requisition.form.inherit | purchase.requisition | form | Inherits purchase_requisition.view_purchase_requisition_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (2)
-
consignee_idMany2one → res.partnerdomain=[('is_consignee', '=', True)]help='The person to whom the shipment is to be delivered.' args: 'res.partner', 'Consignee' -
dest_address_idMany2one → res.partnerargs: 'res.partner', 'Delivery Address'
-
onchange_dest_address_id(self)@api.onchange('dest_address_id')Find a picking type from the address. There is a similar onchange in the module purchase_requisition_delivery_address. A similar logic to choose the picking type is used in the module framework_agreement_sourcing in github.com/OCA/vertical-ngo. -
onchange_picking_type_id(self)@api.onchange('picking_type_id')If the picking type has an address, use it. We cannot empty the address if one is not found, because that gives a short circuit with the onchange of the address.
Loading…
Loading…