Stock Removal Location by Priority

stock_removal_location_by_priority
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Andrii9090-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - 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
This module adds a removal priority field on stock locations. This
priority applies when removing a product from different stock locations
and the incoming dates are equal in both locations.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - 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
This module adds a removal priority field on stock locations. This
priority applies when removing a product from different stock locations
and the incoming dates are equal in both locations.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aritz Olea, CristianoMafraJunior
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, SergiCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/11.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSLois Rilo, Jordi Ballester Alomar, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings res.config.settings - removal_priority res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • group_removal_priority Boolean
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    readonly=True related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/10.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSmreficent, Jordi Ballester Alomar, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
view_stock_config_settings stock.config.view - removal_priority stock.config.settings field Inherits stock.view_stock_config_settings
Models touched (3)

New fields (1)
  • group_removal_priority Selection
    help='Removal priority that applies when the incoming dates are equal in both locations.' implied_group='stock_removal_location_by_priority.group_removal_priority' args: [(0, "Don't use 'Removal Priority' in Locations"), (1, "Use 'Removal Priority' in Locations")], 'Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    readonly=True related='location_id.removal_priority' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/9.0/stock_removal_location_by_priority
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, lreficent
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_location_form Location form - removal priority extension stock.location field Inherits stock.view_location_form
Models touched (2)

New fields (1)
  • removal_priority Integer
    default=10 help='This priority applies when removing stock and incoming dates are equal.' string='Removal Priority'
Public methods (0)

No public methods.

New fields (1)
  • removal_priority Integer
    readonly=True related='location_id.removal_priority' store=True
Public methods (1)
  • apply_removal_strategy(self, quantity, move, ops=False, domain=None, removal_strategy='fifo')
    @api.model