Skip to content
Health
47/100
poor
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 17 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.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.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module allows to set countries and states in warehouses, so they can automatically be set in a sale order when its shipping address matches the countries and states selected in a given warehouse.

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
sale_order_warehouse_location_view_warehouse sale.order.warehouse.location.view.warehouse stock.warehouse Inherits stock.view_warehouse

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • sale_country_ids Many2many → res.country
    comodel_name='res.country' relation='warehouse_sale_country_rel' string='Sale Order Countries'
  • sale_state_ids Many2many → res.country.state
    comodel_name='res.country.state' compute='_compute_sale_state_ids' domain="[('country_id', 'in', sale_country_ids)]" readonly=False relation='warehouse_sale_state_rel' store=True string='Sale Order States'
Public methods (1)
  • warehouses_by_country_state(self, partner)