Repository
OCA/operating-unit · module folder · Try on Runboat
Module version
1.1.0
Category
Generic
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/operating-unit
Last tracking update
2026-08-07 09:06:27
Authors
Odoo Community Association (OCA), Edi Santoso, Niaga Solution
Maintainers
Odoo Community Association (OCA), Edi Santoso, Niaga Solution
Committers
Maksym Yankin, Vincent Van Rossem, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/operating-unit:
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description
This module introduces the following features:

- Adds the Operating Unit (OU) to res partner.
- The user’s default Operating Unit (OU) is proposed at the time of
  creating Partner.
- Security rules are defined to ensure that users can only see Partner
  of that Operating Units in which they are allowed access to.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_partner_form res.partner.form res.partner form Inherits base.view_partner_form
view_partner_tree res.partner.tree res.partner tree Inherits base.view_partner_tree
view_res_partner_filter res.partner.select res.partner Inherits base.view_res_partner_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    column1='partner_id' column2='operating_unit_id' comodel_name='operating.unit' compute='_compute_operating_unit_ids' readonly=False relation='operating_unit_partner_rel' store=True string='Operating Units'
Public methods (2)
  • search(self, args, offset=0, limit=None, order=None)
    @api.model
  • search_count(self, args, limit=None)
    @api.model

Loading…

Loading…

Loading…