| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/16.0/sale_order_warehouse_location |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Stock |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Sygel |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Sygel |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Manuel Regidor |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:11:57 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale_stock - sale - sales_team - base - base_setup - web - bus - web_tour - account_payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm - stock_account - stock - barcodes_gs1_nomenclature - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_warehouse_location_view_warehouse |
sale.order.warehouse.location.view.warehouse | stock.warehouse | xpath | Inherits stock.view_warehouse |
No new fields.
Public methods (0)No public methods.
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'
warehouses_by_country_state(self, partner)