Stock Request Employee
stock_request_employee · OCA/stock-logistics-warehouse
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 83 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 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.04 MB
Module directory on disk
Code analysis
4 migration notes
4 models
5 views
0 HTTP endpoints
Migration considerations
HrEmployee— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockRequestOrder— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourcestock_request_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcestock_request_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_request_form_view |
stock.request.form (in stock_request_employee) | stock.request | form | Inherits stock_request.view_stock_request_form |
stock_request_order_form |
stock.request.order.form (in stock_request_employee) | stock.request.order | form | Inherits stock_request.stock_request_order_form |
stock_request_order_search |
stock.request.order.search (in stock_request_employee) | stock.request.order | search | Inherits stock_request.stock_request_order_search |
stock_request_search_view |
stock.request.search (in stock_request_employee) | stock.request | search | Inherits stock_request.stock_request_search |
view_employee_form |
hr.employee.form (in stock_request_employee) | hr.employee | form | Inherits hr.view_employee_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (4)
-
stock_order_countIntegercompute='_compute_stock_order_count' -
stock_order_idsOne2many → stock.request.orderinverse_name='employee_id'readonly=True args: 'stock.request.order' -
stock_request_countIntegercompute='_compute_stock_request_count' -
stock_request_idsOne2many → stock.requestinverse_name='employee_id'readonly=True args: 'stock.request'
-
action_view_stock_requests(self)@api.multi
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
employee_idMany2one → hr.employeeargs: 'hr.employee' -
to_employeeBooleanhelp='Set this field to select an employee as Stock Location'
No public methods.
New fields (2)
-
employee_idMany2one → hr.employeeargs: 'hr.employee' -
to_employeeBooleanhelp='Set this field to select an employee as Stock Location'
-
change_childs(self) -
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.modelAdd to the existing context of the field `stock_request_ids` "employee_id" key for avoiding to be replaced by other view inheritance. We have to do this processing in text mode without evaluating context, as it can contain JS stuff.