Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 83 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 11.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.04 MB
Module directory on disk
Code analysis 4 migration notes 4 models 5 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
- hr
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 5

XML IDNameModelTypeStatus
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_count Integer
    compute='_compute_stock_order_count'
  • stock_order_ids One2many → stock.request.order
    inverse_name='employee_id' readonly=True args: 'stock.request.order'
  • stock_request_count Integer
    compute='_compute_stock_request_count'
  • stock_request_ids One2many → stock.request
    inverse_name='employee_id' readonly=True args: 'stock.request'
Public methods (1)
  • action_view_stock_requests(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • employee_id Many2one → hr.employee
    args: 'hr.employee'
  • to_employee Boolean
    help='Set this field to select an employee as Stock Location'
Public methods (0)

No public methods.

New fields (2)
  • employee_id Many2one → hr.employee
    args: 'hr.employee'
  • to_employee Boolean
    help='Set this field to select an employee as Stock Location'
Public methods (2)
  • change_childs(self)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Add 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.