Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Manufacturing
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 08:42:53
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, ThiagoMForgeFlow, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
When a reason code has workcenters assigned and the scrap has a workorder, an additional filter is added to allow only select reason codes with the same workcenter as the workorder .

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_scrap_reason_code_form_inherited scrap.reason.code.form - Workcenter scrap.reason.code form Inherits scrap_reason_code.view_scrap_reason_code_form
view_scrap_reason_code_list_inherited scrap.reason.code.list - Workcenter scrap.reason.code list Inherits scrap_reason_code.view_scrap_reason_code_list
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • mrp_workcenter_ids Many2many → mrp.workcenter
    comodel_name='mrp.workcenter' help='Indicate the work centers that can use this reason code when doing a scrap. If left empy, this reason code can be used with any work center.' string='Allowed Work Centers'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.