TIP: You can type at any time to perform a new search.
Scrap Reason Code
scrap_reason_code · OCA/stock-logistics-warehouse
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Warehouse Management
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-warehouse
- Last tracking update
- 2026-08-07 08:22:57
- Authors
- Odoo Community Association (OCA), Open Source Integrators
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators
- Committers
- Denis Roussel, Weblate, OCA-git-bot, oca-ci, John Herholz, Chris Mann
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- mrp_component_operation_scrap_reason
- Description
Adds a reason code for scrapping operations and an interface for the user to create scrap codes
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_reason_code_form |
stock.reason.code.form | stock.move | form | Inherits stock.view_move_form |
stock_scrap_form2_reason_code |
stock.scrap.form2.reason.code | stock.scrap | form | Inherits stock.stock_scrap_form_view2 |
stock_scrap_form_reason_code |
stock.scrap.form.reason.code | stock.scrap | form | Inherits stock.stock_scrap_form_view |
stock_scrap_tree_reason_code |
stock.scrap.tree.reason.code | stock.scrap | tree | Inherits stock.stock_scrap_tree_view |
view_scrap_reason_code_form |
scrap.reason.code.form | scrap.reason.code | form | New |
view_scrap_reason_code_list |
scrap.reason.code.list | scrap.reason.code | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (4)
-
descriptionText -
location_idMany2one → stock.locationdomain="[('scrap_location', '=', True)]"string='Scrap Location' args: 'stock.location' -
nameCharrequired=True args: 'Code' -
product_category_idsMany2many → product.categorycomodel_name='product.category'help='Indicate the cateogories of products that can use this reason code when doing a scrap. If left empy, this reason code can be used with any product.'string='Allowed Product Categories'
No public methods.
New fields (1)
-
reason_code_idMany2one → scrap.reason.codeargs: 'scrap.reason.code'
No public methods.
New fields (3)
-
allowed_reason_code_idsMany2many → scrap.reason.codecomodel_name='scrap.reason.code'compute='_compute_allowed_reason_code_ids' -
reason_code_idMany2one → scrap.reason.codecomodel_name='scrap.reason.code'domain="[('id', 'in', allowed_reason_code_ids)]" -
scrap_location_idMany2onereadonly=True
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 157 days ago
- Last activity
- 104 days ago
- Repository
- OCA/stock-logistics-warehouse
- Pull request
- [19.0][MIG] scrap_reason_code: Migration to 19.0 (#2542)