| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/stock-logistics-warehouse |
| GIT | |
| GIT | https://github.com/OCA/stock-logistics-warehouse.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_location_product_restriction |
| VERSION | |
| VERSION | 1.2.2 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Laurent Mignon (ACSONE), Denis Roussel, Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior, Nicolas Delbovier |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/stock-logistics-warehouse |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:44 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_location_form_view |
stock.location.form (in stock_location_product_restriction) | stock.location | div | Inherits stock.view_location_form |
stock_location_search_view |
stock.location.search (in stock_location_product_restriction) | stock.location | filter | Inherits stock.view_location_search |
stock_location_tree_view |
stock.location.tree (in stock_location_unique_product) | stock.location | field | Inherits stock.view_location_tree2 |
has_restriction_violation
Boolean
compute='_compute_restriction_violation'
recursive=True
search='_search_has_restriction_violation'
parent_product_restriction
Selection
readonly=True
recursive=True
related='location_id.product_restriction'
store=True
string='Parent Location Product Restriction'
product_restriction
Selection
compute='_compute_product_restriction'
default='any'
help="If 'Same product' is selected the system will prevent to put items of different products into the same location."
index=True
recursive=True
required=True
selection=<expr>
store=True
restriction_violation_message
Char
compute='_compute_restriction_violation'
recursive=True
specific_product_restriction
Selection
default=False
help='If specified the restriction specified will apply to the current location and all its children'
selection=<expr>
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/stock-logistics-warehouse |
| GIT | |
| GIT | https://github.com/OCA/stock-logistics-warehouse.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/stock-logistics-warehouse/tree/10.0/stock_location_product_restriction |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Laurent Mignon (ACSONE), Denis Roussel, oca-travis, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/stock-logistics-warehouse |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:19:55 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - stock - product - base - decimal_precision - base_setup - web_kanban - web - bus - web_tour - report - procurement - barcodes - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_location_form_view |
stock.location.form (in stock_location_unique_product) | stock.location | div | Inherits stock.view_location_form |
stock_location_search_view |
stock.location.search (in stock_location_unique_product) | stock.location | filter | Inherits stock.view_location_search |
stock_location_tree_view |
stock.location.tree (in stock_location_unique_product) | stock.location | field | Inherits stock.view_location_tree2 |
has_restriction_violation
Boolean
compute='_compute_restriction_violation'
search='_search_has_restriction_violation'
parent_product_restriction
Selection
readonly=True
related='location_id.product_restriction'
selection='_selection_product_restriction'
store=True
product_restriction
Selection
compute='_compute_product_restriction'
default='any'
help="If 'Same product' is selected the system will prevent to put items of different products into the same location."
index=True
required=True
selection='_selection_product_restriction'
store=True
string='Product restriction'
restriction_violation_message
Char
compute='_compute_restriction_violation'
specific_product_restriction
Selection
default=False
help='If specified the restriction specified will apply to the current location and all its children'
selection='_selection_product_restriction'
string='Specific product restriction'
No public methods.
No new fields.
Public methods (1)action_done(self)