Stock Scrap Location Default

stock_scrap_location_default
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_scrap_location_default
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, Weblate, OCA-git-bot, oca-ci, 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 (1)
XML IDNameModelTypeStatus
res_config_settings_form_view res.config.settings.form (in stock_scrap_location_default) res.config.settings div Inherits stock.res_config_settings_view_form
Models touched (3)

New fields (1)
  • scrap_default_location_id Many2one → stock.location
    check_company=True comodel_name='stock.location' domain="[('scrap_location', '=', True), ('company_id', 'in', [company_id, False])]"
Public methods (0)

No public methods.

New fields (1)
  • scrap_default_location_id Many2one → stock.location
    comodel_name='stock.location' readonly=False related='company_id.scrap_default_location_id'
Public methods (0)

No public methods.

New fields (1)
  • scrap_location_id Many2one
    default=_get_default_scrap_location_id
Public methods (0)

No public methods.