Repository
OCA/operating-unit · module folder · Try on Runboat
Module version
1.0.0
Category
Product
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), Serpent Consulting Services Pvt. Ltd., brain-tec AG, Open Source Integrators
Maintainers
Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., brain-tec AG, Open Source Integrators
Committers
Maksym Yankin, OCA-git-bot, oca-ci
Odoo dependencies
OCA/operating-unit:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
This module introduces the following features:

- It introduces the operating unit to the product template.
- The operating unit from the user is assigned by default when creating
  a new product template.
- In case of multi-company, no operating unit from another company to
  that assigned to the product can be set for it
- It implements user's security rules.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_category_form_view product.category.form product.category form Inherits product.product_category_form_view
product_template_only_form_view product.template_form product.template form Inherits product.product_template_form_view
product_template_search_view product.template_filter product.template search Inherits product.product_template_search_view
product_template_tree_view product.template_tree product.template tree Inherits product.product_template_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    comodel_name='operating.unit' relation='product_category_operating_unit_rel' string='Operating Units'
Public methods (1)
  • write(self, vals)

New fields (2)
  • categ_id Many2one
    default=<expr>
  • operating_unit_ids Many2many → operating.unit
    comodel_name='operating.unit' compute='_compute_operating_unit_ids' readonly=False relation='product_operating_unit_rel' store=True string='Operating Units'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
no CI data
Open since
1481 days ago
Last activity
841 days ago
Repository
OCA/operating-unit
Pull request
[15.0][MIG] product_operating_unit: Migration to 15.0 (#492)