| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/stock-logistics-workflow |
| GIT | |
| GIT | https://github.com/OCA/stock-logistics-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/stock-logistics-workflow/tree/9.0/stock_scrap |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Warehouse Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Eficent, Odoo |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Eficent, Odoo |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, lreficent |
| WEBSITE | |
| WEBSITE | https://odoo-community.org/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:22 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - stock - product - base - decimal_precision - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_scrap_form_view |
stock.scrap.form | stock.scrap | form | New |
stock_scrap_form_view2 |
stock.scrap.form2 | stock.scrap | form | New |
stock_scrap_search_view |
stock.scrap.search | stock.scrap | search | New |
stock_scrap_tree_view |
stock.scrap.tree | stock.scrap | tree | New |
date_expected
Datetime
default=fields.Datetime.now
args: 'Expected Date'
location_id
Many2one → stock.location
default=_get_default_location_id
domain="[('usage', '=', 'internal')]"
required=True
states={'done': [('readonly', True)]}
args: 'stock.location', 'Location'
lot_id
Many2one → stock.production.lot
domain="[('product_id', '=', product_id)]"
states={'done': [('readonly', True)]}
args: 'stock.production.lot', 'Lot'
move_id
Many2one → stock.move
readonly=True
args: 'stock.move', 'Scrap Move'
name
Char
copy=False
default=<expr>
readonly=True
required=True
states={'done': [('readonly', True)]}
args: 'Reference'
origin
Char
string='Source Document'
owner_id
Many2one → res.partner
states={'done': [('readonly', True)]}
args: 'res.partner', 'Owner'
package_id
Many2one → stock.quant.package
states={'done': [('readonly', True)]}
args: 'stock.quant.package', 'Package'
picking_id
Many2one → stock.picking
states={'done': [('readonly', True)]}
args: 'stock.picking', 'Picking'
product_id
Many2one → product.product
required=True
states={'done': [('readonly', True)]}
args: 'product.product', 'Product'
product_uom_id
Many2one → product.uom
required=True
states={'done': [('readonly', True)]}
args: 'product.uom', 'Unit of Measure'
scrap_location_id
Many2one → stock.location
default=_get_default_scrap_location_id
domain="[('scrap_location', '=', True)]"
required=True
states={'done': [('readonly', True)]}
args: 'stock.location', 'Scrap Location'
scrap_qty
Float
default=1.0
required=True
states={'done': [('readonly', True)]}
args: 'Quantity'
state
Selection
default='draft'
string='Status'
args: [('draft', 'Draft'), ('done', 'Done')]
tracking
Selection
readonly=True
related='product_id.tracking'
args: 'Product Tracking'
action_done(self)
action_get_stock_move(self)
action_get_stock_picking(self)
create(self, vals)
do_scrap(self)
onchange_product_id(self)
unlink(self)