Scrap Reason Code
scrap_reason_code · OCA/stock-logistics-workflow
OCA/stock-logistics-warehouse 11.0–17.0 → OCA/stock-logistics-workflow 18.0–19.0
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
6 views
0 HTTP endpoints
Description
Adds a reason code for scrapping operations and an interface for the user to create scrap codes
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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 | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (4)
-
descriptionText -
location_idMany2one → stock.locationdomain="[('usage', '=', 'inventory')]"string='Scrap Location' args: 'stock.location' -
nameCharrequired=True args: 'Code' -
product_category_idsMany2many → product.categorycomodel_name='product.category'help='Indicate the categories 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…
Loading…
Loading…