Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 28 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 3 migration notes 7 models 6 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
repair_type_view_form_scrap Repair Types Form - Scrap repair.type form Inherits repair_type.repair_type_view_form
repair_type_view_tree_scrap Repair Types List - Scrap repair.type tree Inherits repair_type.repair_type_view_tree
stock_scrap_form_view_repair stock.scrap.form - Repair stock.scrap form Inherits stock.stock_scrap_form_view
view_repair_order_form_scrap repair.form - Scrap repair.order form Inherits repair.view_repair_order_form
view_repair_order_form_scrap_button repair.form - Scrap Button repair.order form Inherits repair.view_repair_order_form
view_repair_scrap Create Scrap repair_make_scrap.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (2)
  • scrap_count Integer
    compute='_compute_scrap_count' compute_sudo=True string='# Scrap'
  • scrap_ids One2many → stock.scrap
    args: 'stock.scrap', 'repair_id'
Public methods (1)
  • action_view_scrap_transfers(self)

New fields (1)
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' string='Scrap Destination Location'
Public methods (0)

No public methods.

New fields (1)
  • item_ids One2many → repair_make_scrap_item.wizard
    comodel_name='repair_make_scrap_item.wizard' inverse_name='wiz_id' string='Items'
Public methods (2)
  • action_create_scrap(self)
  • default_get(self, fields_list)
    @api.model

New fields (9)
  • 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'
Public methods (1)
  • get_repair(self)

New fields (1)
  • is_repair_scrap Boolean
    copy=False help='This Stock Move has been created from a Scrap operation in the Repair.' string='Is repair Scrap'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • 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'
Public methods (2)
  • action_view_repair_order(self)
  • do_scrap(self)