Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
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.18 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module allows you to add a billing address to purchase orders.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
purchase_order_form_view purchase.order.form.inherit,purchase.invoice.partner.type purchase.order form Inherits purchase.purchase_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • available_partner_invoice_ids Many2many → res.partner
    comodel_name='res.partner' compute='_compute_available_partner_invoice_ids' string='Allowed invoice addresses'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' domain="[('id', 'in', available_partner_invoice_ids)]" help='Invoice address for this purchase order' string='Invoice address'
Public methods (1)
  • onchange_partner_id(self)
    @api.onchange('partner_id')

New fields (1)
  • type Selection
    ondelete={'purchase_invoice': 'set null'} selection_add=[('purchase_invoice', 'Purchase invoice address')]
Public methods (0)

No public methods.