Repository
OCA/community-data-files · module folder · Try on Runboat
Module version
1.2.0
Category
Uncategorized
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/community-data-files
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Roca, eduardo, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to add the sanitary registry of a company.
Furthermore it adds a template that can be used on your reports.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sanitary_registry_template sanitary_registry_template ir.ui.view qweb New
sanitary_registry_tree sanitary.registry tree sanitary.registry list New
sanitary_registry_warehouse_category_tree sanitary.registry.warehouse.category.tree sanitary.registry.warehouse.category list New
view_company_form res.company form Inherits base.view_company_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • sanitary_registry Char
    related='sanitary_registry_id.name'
  • sanitary_registry_id Many2one → sanitary.registry
    args: 'sanitary.registry'
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (4)
  • category_complete_name Char
    related='category_id.complete_name'
  • category_id Many2one → product.category
    args: 'product.category'
  • sanitary_registry_id Many2one → sanitary.registry
    required=True args: 'sanitary.registry'
  • warehouse_id Many2one → stock.warehouse
    args: 'stock.warehouse'
Public methods (1)
  • get_active_sanitary_registry(self, category, warehouse)
    @api.model
    Method to get the most specific sanitary registry for a given product category and warehouse.

Loading…

Loading…

Loading…