Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-warehouse
Last tracking update
2026-08-07 07:24:55
Authors
Odoo Community Association (OCA), Creu Blanca
Maintainers
Odoo Community Association (OCA), Creu Blanca
Committers
OCA-git-bot, oca-travis, Jaime Arroyo
Odoo dependencies
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
- hr
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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.