| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/repair |
| GIT | |
| GIT | https://github.com/OCA/repair.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/repair/tree/15.0/repair_scrap |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Repair |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ForgeFlow |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ForgeFlow |
| COMMITTERS | |
| COMMITTERS | AaronHForgeFlow, OCA-git-bot, oca-ci, ThiagoMForgeFlow |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/repair |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:36 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/repair: - repair_type odoo/odoo: - repair - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - sale_management - sale - sales_team - payment - account - analytic - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
repair_type_view_form_scrap |
Repair Types Form - Scrap | repair.type | field | Inherits repair_type.repair_type_view_form |
repair_type_view_tree_scrap |
Repair Types List - Scrap | repair.type | field | Inherits repair_type.repair_type_view_tree |
stock_scrap_form_view_repair |
stock.scrap.form - Repair | stock.scrap | button | Inherits stock.stock_scrap_form_view |
view_repair_order_form_scrap |
repair.form - Scrap | repair.order | div | Inherits repair.view_repair_order_form |
view_repair_order_form_scrap_button |
repair.form - Scrap Button | repair.order | header | Inherits repair.view_repair_order_form |
view_repair_scrap |
Create Scrap | repair_make_scrap.wizard | form | New |
scrap_count
Integer
compute='_compute_scrap_count'
compute_sudo=True
string='# Scrap'
scrap_ids
One2many → stock.scrap
action_view_scrap_transfers(self)
scrap_location_id
Many2one → stock.location
comodel_name='stock.location'
string='Scrap Destination Location'
No public methods.
item_ids
One2many → repair_make_scrap_item.wizard
comodel_name='repair_make_scrap_item.wizard'
inverse_name='wiz_id'
string='Items'
action_create_scrap(self)
default_get(self, fields_list)
company_id
Many2one → res.company
related='repair_id.company_id'
args: 'res.company'
location_id
Many2one → stock.location
default=<expr>
domain="[('usage', '=', 'internal'), ('company_id', 'in', [company_id, False])]"
required=True
string='Source Location'
args: 'stock.location'
lot_id
Many2one → stock.production.lot
string='Lot/Serial'
args: 'stock.production.lot'
product_id
Many2one → product.product
required=True
string='Product'
args: 'product.product'
product_qty
Float
copy=False
digits='Product Unit of Measure'
string='Quantity Ordered'
repair_id
Many2one → repair.order
default=<expr>
ondelete='cascade'
required=True
string='repair Order'
args: 'repair.order'
scrap_location_id
Many2one → stock.location
default=<expr>
domain="[('scrap_location', '=', True)]"
required=True
string='Scrap Location'
args: 'stock.location'
uom_id
Many2one → uom.uom
string='Unit of Measure'
args: 'uom.uom'
wiz_id
Many2one → repair_make_scrap.wizard
required=True
string='Wizard'
args: 'repair_make_scrap.wizard'
get_repair(self)
is_repair_scrap
Boolean
copy=False
help='This Stock Move has been created from a Scrap operation in the Repair.'
string='Is repair Scrap'
No public methods.
No new fields.
Public methods (0)No public methods.
is_repair_scrap
Boolean
copy=False
default=False
help='This Stock Move has been created from a Scrap operation in Repair.'
repair_id
Many2one → repair.order
string='Repair order'
args: 'repair.order'
action_view_repair_order(self)
do_scrap(self)