Repository
OCA/stock-logistics-transport · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse
Folder size
0.02 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:17:49
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
logistic_consignee, logistic_requisition, purchase_requisition_delivery_address
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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_id Many2one → res.partner
    domain=[('is_consignee', '=', True)] help='The person to whom the shipment is to be delivered.' args: 'res.partner', 'Consignee'
  • dest_address_id Many2one → res.partner
    args: 'res.partner', 'Delivery Address'
Public methods (2)
  • 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…