Add oca-maintenance submodule with 28 maintenance modules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 17:23:31 +02:00
parent f9209b4af8
commit 5a635dd914
968 changed files with 44227 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# Base Maintenance
Odoo addon: base_maintenance
## Installation
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance
```
## Dependencies
This addon depends on:
- maintenance
## Manifest Information
- **Name**: Base Maintenance
- **Version**: 16.0.1.0.2
- **Category**: Maintenance
- **License**: LGPL-3
- **Installable**: True
## Source
Based on [OCA/maintenance](https://github.com/OCA/maintenance) branch 16.0, addon `base_maintenance`.
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,85 @@
================
Base Maintenance
================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a89cdc6a8983da7d4c5c6f938dea66e7e705d467122669fa664e5f3df19de91c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github
:target: https://github.com/OCA/maintenance/tree/16.0/base_maintenance
:alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module extends the functionality of Odoo Maintenance module to add
some basic features that are standard in other Odoo apps:
* Team leader in maintenance team.
* Description field in maintenance team.
* Creates the unexisting search view for maintenance team.
* Empty button box on maintenance request to be extended by other modules.
* Maintenance Request Report
**Table of contents**
.. contents::
:local:
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* ForgeFlow
Contributors
~~~~~~~~~~~~
* Lois Rilo <lois.rilo@forgeflow.com>
* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
* David Alonso <david.alonso@solvos.es>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/base_maintenance>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1 @@
from . import models

View file

@ -0,0 +1,20 @@
# Copyright 2019 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
{
"name": "Base Maintenance",
"version": "16.0.1.0.2",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"development_status": "Beta",
"website": "https://github.com/OCA/maintenance",
"category": "Maintenance",
"license": "LGPL-3",
"depends": ["maintenance"],
"data": [
"views/maintenance_team_views.xml",
"views/maintenance_request_views.xml",
"views/maintenance_equipment_views.xml",
"views/report_maintenance_request.xml",
],
"installable": True,
}

View file

@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr ""
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr ""
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr ""
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr ""
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr ""
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr ""

View file

@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "'Zahtjev za održavanje - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Zahtjev za održavanje</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Kategorija:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Datum zatvaranja:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Opis:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Trajanje:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Oprema:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Tip održavanja:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Model:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Prioritet:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Datum zahtjeva:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Zahtijevano od:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Odgovoran:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Planirani datum:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>Serijski broj:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Faza:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Tim:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "Opis"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Opis funkcije tima"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Zahtjev za održavanje"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Timovi za održavanje"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "Vođa tima"

View file

@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-22 23:09+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "'Solicitud de mantenimiento - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Solicitud de mantenimiento</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Categoría:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Fecha de cierre:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Descripción:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Duración:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Equipamiento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Tipo de mantenimiento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Modelo:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Prioridad:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Fecha de solicitud:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Solicitado por:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Responsable:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Fecha programada:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>Serie:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Estado:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Equipo:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "descripción"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Descripción de la función del equipo"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Solicitud de mantenimiento"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Equipos de Mantenimiento"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "Líder de equipo"

View file

@ -0,0 +1,137 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-28 11:49+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "'Richiesta manutenzione - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Richiesta manutenzione</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Categoria:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Data chiusura:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Descrizione:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Durata:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Attrezzatura:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Tipo manutenzione:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Modello:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Priorità:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Data richiesta:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Richiesta da:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Responsabile:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Data programmata:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>Matricola:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Fase:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Squadra:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "Descrizione"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Descrizione del compito del team"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Richiesta manutenzione"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Squadra manutenzione"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "Responsabile squadra"
#~ msgid "Display Name"
#~ msgstr "Nome visualizzato"
#~ msgid "ID"
#~ msgstr "ID"
#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"

View file

@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-03 13:44+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: none\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.14.1\n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "Pedido de Manutenção - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Pedido de Manutenção</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Categoria:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Data de Encerramento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Descrição:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Duração:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Equipamento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Tipo de Manutenção:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Modelo:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Prioridade:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Data do Pedido:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Solicitado por:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Responsável:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Data Agendada:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>Nº Série:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Etapa:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Equipa:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "Descrição"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Descrição da função da equipa"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Pedido de Manutenção"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Equipas de Manutenção"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "Líder da Equipa"

View file

@ -0,0 +1,136 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-16 16:08+0000\n"
"PO-Revision-Date: 2024-05-21 00:57+0000\n"
"Last-Translator: Rodrigo Macedo <sottomaiormacedotec@users.noreply."
"translation.odoo-community.org>\n"
"Language-Team: \n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "???Solicita????o de Manuten????o - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Solicita????o de Manuten????o</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Categoria:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Data de Encerramento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Descri????o:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Dura????o:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Equipamento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Tipo de Manuten????o:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Modelo:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Prioridade:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Data da Solicita????o:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Solicitado por:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Responsável:</strong><br/>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Data do Agendamento:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>S??rie:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Est??gio:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Equipe:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "Descri????o"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Descri????o da fun????o da equipe"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Solicita????o de Manuten????o"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Equipes de Manuten????o"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "L??der de Equipe"
#~ msgid "Archived"
#~ msgstr "Arquivado"
#~ msgid "<strong>Equipament:</strong>"
#~ msgstr "<strong>Equipamento:</strong>"

View file

@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-06-12 15:26+0000\n"
"Last-Translator: Betül Öğmen <betulo@eska.biz>\n"
"Language-Team: none\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"
#. module: base_maintenance
#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request
msgid "'Maintenance Request - %s' % (object.name)"
msgstr "'Bakım Talebi - %s' % (object.name)"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<span>Maintenance Request</span>"
msgstr "<span>Bakım Talebi</span>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Category:</strong>"
msgstr "<strong>Kategori:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Close Date:</strong>"
msgstr "<strong>Kapanış Tarihi:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Description:</strong>"
msgstr "<strong>Açıklama:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Duration:</strong>"
msgstr "<strong>Süre:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Equipment:</strong>"
msgstr "<strong>Ekipman:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Maintenance Type:</strong>"
msgstr "<strong>Bakım Türü:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Model:</strong>"
msgstr "<strong>Model:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Priority:</strong>"
msgstr "<strong>Öncelik:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Request Date:</strong>"
msgstr "<strong>Talep Tarihi:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Requested By:</strong>"
msgstr "<strong>Talep Eden:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Responsible:</strong>"
msgstr "<strong>Sorumlu:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Schedule Date:</strong>"
msgstr "<strong>Planlama Tarihi:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Serial:</strong>"
msgstr "<strong>Seri:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Stage:</strong>"
msgstr "<strong>Aşama:</strong>"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document
msgid "<strong>Team:</strong>"
msgstr "<strong>Ekip:</strong>"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description
#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form
msgid "Description"
msgstr "Açıklama"
#. module: base_maintenance
#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form
msgid "Description of the team's function"
msgstr "Ekip fonksiyonunun açıklaması"
#. module: base_maintenance
#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request
msgid "Maintenance Request"
msgstr "Bakım Talebi"
#. module: base_maintenance
#: model:ir.model,name:base_maintenance.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Bakım Ekipleri"
#. module: base_maintenance
#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id
msgid "Team Leader"
msgstr "Ekip Lideri"

View file

@ -0,0 +1 @@
from . import maintenance_team

View file

@ -0,0 +1,11 @@
# Copyright 2019 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class MaintenanceTeam(models.Model):
_inherit = "maintenance.team"
user_id = fields.Many2one(comodel_name="res.users", string="Team Leader")
description = fields.Text()

View file

@ -0,0 +1,3 @@
* Lois Rilo <lois.rilo@forgeflow.com>
* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
* David Alonso <david.alonso@solvos.es>

View file

@ -0,0 +1,8 @@
This module extends the functionality of Odoo Maintenance module to add
some basic features that are standard in other Odoo apps:
* Team leader in maintenance team.
* Description field in maintenance team.
* Creates the unexisting search view for maintenance team.
* Empty button box on maintenance request to be extended by other modules.
* Maintenance Request Report

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,433 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Base Maintenance</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="base-maintenance">
<h1 class="title">Base Maintenance</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a89cdc6a8983da7d4c5c6f938dea66e7e705d467122669fa664e5f3df19de91c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of Odoo Maintenance module to add
some basic features that are standard in other Odoo apps:</p>
<ul class="simple">
<li>Team leader in maintenance team.</li>
<li>Description field in maintenance team.</li>
<li>Creates the unexisting search view for maintenance team.</li>
<li>Empty button box on maintenance request to be extended by other modules.</li>
<li>Maintenance Request Report</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
<ul class="simple">
<li>ForgeFlow</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<ul class="simple">
<li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
<li>Marcel Savegnago &lt;<a class="reference external" href="mailto:marcel.savegnago&#64;escodoo.com.br">marcel.savegnago&#64;escodoo.com.br</a>&gt;</li>
<li>David Alonso &lt;<a class="reference external" href="mailto:david.alonso&#64;solvos.es">david.alonso&#64;solvos.es</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance">OCA/maintenance</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ForgeFlow S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="hr_equipment_view_form" model="ir.ui.view">
<field name="name">equipment.form</field>
<field name="model">maintenance.equipment</field>
<field name="inherit_id" ref="maintenance.hr_equipment_view_form" />
<field name="arch" type="xml">
<sheet position="before">
<header>
</header>
</sheet>
</field>
</record>
</odoo>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ForgeFlow S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="equipment_request_view_form" model="ir.ui.view">
<field name="name">equipment.request.form</field>
<field name="model">maintenance.request</field>
<field name="inherit_id" ref="maintenance.hr_equipment_request_view_form" />
<field name="priority" eval="999" />
<field name="arch" type="xml">
<xpath expr="//div[hasclass('oe_right')]" position="before">
<div class="oe_button_box" name="button_box">
<!--Empty, to be inherited by other modules.-->
</div>
</xpath>
<field name="description" position="replace">
<notebook colspan="2">
<page name="description_page" string="Description">
<field name="description" />
</page>
</notebook>
</field>
</field>
</record>
</odoo>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019-21 ForgeFlow S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="maintenance_team_view_form" model="ir.ui.view">
<field name="name">maintenance.team.form</field>
<field name="model">maintenance.team</field>
<field name="inherit_id" ref="maintenance.maintenance_team_view_form" />
<field name="arch" type="xml">
<field name="member_ids" position="before">
<field name="user_id" />
</field>
<xpath expr="//group[1]" position="after">
<group>
<field
name="description"
placeholder="Description of the team's function"
/>
</group>
</xpath>
</field>
</record>
<record id="maintenance_team_view_tree" model="ir.ui.view">
<field name="name">maintenance.team.tree</field>
<field name="model">maintenance.team</field>
<field name="inherit_id" ref="maintenance.maintenance_team_view_tree" />
<field name="arch" type="xml">
<field name="member_ids" position="before">
<field name="user_id" />
</field>
<field name="member_ids" position="after">
<field name="description" />
</field>
</field>
</record>
</odoo>

View file

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 - TODAY, Marcel Savegnago - Escodoo
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<template id="report_maintenance_request_document">
<t t-call="web.internal_layout">
<t
t-set="doc"
t-value="doc.with_context(lang=doc.user_id.partner_id.lang)"
/>
<div class="page">
<div class="oe_structure" />
<h2 class="mt16">
<t>
<span>Maintenance Request</span>
</t>
</h2>
<h3 class="mt16">
<span t-field="doc.name" />
</h3>
<div class="row mt32 mb32" id="informations">
<div t-if="doc.owner_user_id" class="col-auto mw-100 mb-2">
<strong>Requested By:</strong>
<p class="m-0" t-field="doc.owner_user_id" />
</div>
<div t-if="doc.request_date" class="col-auto mw-100 mb-2">
<strong>Request Date:</strong>
<p class="m-0" t-field="doc.request_date" />
</div>
<div t-if="doc.maintenance_type" class="col-auto mw-100 mb-2">
<strong>Maintenance Type:</strong>
<p class="m-0" t-field="doc.maintenance_type" />
</div>
<div t-if="doc.close_date" class="col-auto mw-100 mb-2">
<strong>Close Date:</strong>
<p class="m-0" t-field="doc.close_date" />
</div>
<div t-if="doc.stage_id" class="col-auto mw-100 mb-2">
<strong>Stage:</strong>
<p class="m-0" t-field="doc.stage_id" />
</div>
</div>
<div class="row mt32 mb32" id="equipament_informations">
<div t-if="doc.category_id" class="col-auto mw-100 mb-2">
<strong>Category:</strong>
<p class="m-0" t-field="doc.category_id" />
</div>
<div t-if="doc.equipment_id" class="col-auto mw-100 mb-2">
<strong>Equipment:</strong>
<p class="m-0" t-field="doc.equipment_id" />
</div>
<div t-if="doc.equipment_id.model" class="col-auto mw-100 mb-2">
<strong>Model:</strong>
<p class="m-0" t-field="doc.equipment_id.model" />
</div>
<div
t-if="doc.equipment_id.serial_no"
class="col-auto mw-100 mb-2"
>
<strong>Serial:</strong>
<p class="m-0" t-field="doc.equipment_id.serial_no" />
</div>
</div>
<div class="row mt32 mb32" id="schedule_informations">
<div t-if="doc.schedule_date" class="col-auto mw-100 mb-2">
<strong>Schedule Date:</strong>
<p class="m-0" t-field="doc.schedule_date" />
</div>
<div t-if="doc.duration" class="col-auto mw-100 mb-2">
<strong>Duration:</strong>
<p class="m-0" t-field="doc.duration" />
</div>
<div t-if="doc.priority" class="col-auto mw-100 mb-2">
<strong>Priority:</strong>
<p class="m-0" t-field="doc.priority" />
</div>
<div
t-if="doc.maintenance_team_id"
class="col-auto mw-100 mb-2"
>
<strong>Team:</strong>
<p class="m-0" t-field="doc.maintenance_team_id" />
</div>
<div t-if="doc.user_id" class="col-auto mw-100 mb-2">
<strong>Responsible:</strong>
<p class="m-0" t-field="doc.user_id" />
</div>
</div>
<div class="row mt32 mb32" id="description">
<div t-if="doc.description" class="col-auto mw-100 mb-2">
<strong>Description:</strong>
<p class="m-0" t-field="doc.description" />
</div>
</div>
</div>
</t>
</template>
<template id="report_maintenance_request">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t
t-call="base_maintenance.report_maintenance_request_document"
t-lang="doc.user_id.partner_id.lang"
/>
</t>
</t>
</template>
<record id="action_report_maintenance_request" model="ir.actions.report">
<field name="name">Maintenance Request</field>
<field name="model">maintenance.request</field>
<field name="report_type">qweb-pdf</field>
<field
name="report_name"
>base_maintenance.report_maintenance_request</field>
<field
name="report_file"
>base_maintenance.report_maintenance_request</field>
<field
name="print_report_name"
>'Maintenance Request - %s' % (object.name)</field>
<field
name="binding_model_id"
ref="maintenance.model_maintenance_request"
/>
<field name="binding_type">report</field>
</record>
</odoo>

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Base_maintenance Module - base_maintenance
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for base_maintenance. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [maintenance](https://github.com/bringout/oca-ocb-vertical-industry/tree/a60a29f57ff34f3c01d0521d0a6003956d80acd9/odoo-bringout-oca-ocb-maintenance)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon base_maintenance or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance"
# or
uv pip install odoo-bringout-oca-maintenance-base_maintenance"
```

View file

@ -0,0 +1,12 @@
# Models
Detected core models and extensions in base_maintenance.
```mermaid
classDiagram
class maintenance_team
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: base_maintenance. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon base_maintenance
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,8 @@
# Security
This module does not define custom security rules or access controls beyond Odoo defaults.
Default Odoo security applies:
- Base user access through standard groups
- Model access inherited from dependencies
- No custom row-level security rules

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_maintenance
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-maintenance-base_maintenance"
version = "16.0.0"
description = "Base Maintenance - Odoo addon"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-maintenance-maintenance>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["base_maintenance"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]

View file

@ -0,0 +1,44 @@
# Maintenance Settings
Odoo addon: base_maintenance_config
## Installation
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance_config
```
## Dependencies
This addon depends on:
- maintenance
## Manifest Information
- **Name**: Maintenance Settings
- **Version**: 16.0.1.0.0
- **Category**: Maintenance
- **License**: AGPL-3
- **Installable**: False
## Source
Based on [OCA/maintenance](https://github.com/OCA/maintenance) branch 16.0, addon `base_maintenance_config`.
## License
This package maintains the original AGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,130 @@
====================
Maintenance Settings
====================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:658988c6ba9c1d353e20060bf2364a835066b73c622f089c3c655d7d9b39907e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github
:target: https://github.com/OCA/maintenance/tree/16.0/base_maintenance_config
:alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance_config
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module provides an empty general settings section for the maintenance
configuration.
This is a technical module and it doesn't provide any new functionality.
Extend this module to add general settings related to the maintenance app.
When extending the general settings view, here is an example of how the code
would look like:
.. code:: xml
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_maintenance_config.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='configure_maintenance']" position="after">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="new_field_name"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="row">
<div class="text-muted col-md-8">
Set some configuration data for this field ...
</div>
</div>
<div class="content-group">
<div class="mt16">
<field name="new_field_name" class="o_light_label"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
**Table of contents**
.. contents::
:local:
Configuration
=============
To let one user access the general settings section for the maintenance
configuration, you should assign the 'Equipments Manager' group to that user.
To do so, you need to:
#. Go on 'Settings' -> 'Users & Companies' -> 'Groups'.
#. Open the group 'Maintenance / Equipment Manager' form.
#. In the tab 'Users', add the user you want to give access to.
Usage
=====
To use this module, you need to:
#. Go to *Maintenance > Configuration > General Settings*.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance_config%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Onestein
Contributors
~~~~~~~~~~~~
* Antonio Esposito <a.esposito@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/base_maintenance_config>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

View file

@ -0,0 +1,14 @@
# Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Maintenance Settings",
"summary": "Provides general settings for the Maintenance App",
"author": "Onestein, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/maintenance",
"category": "Maintenance",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["maintenance"],
"data": ["views/res_config_settings.xml"],
}

View file

@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_config
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Configure Maintenance"
msgstr ""
#. module: base_maintenance_config
#: model:ir.actions.act_window,name:base_maintenance_config.action_maintenance_config_settings
#: model:ir.ui.menu,name:base_maintenance_config.menu_maintenance_config_settings
msgid "General Settings"
msgstr ""
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Maintenance"
msgstr ""

View file

@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_config
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Configure Maintenance"
msgstr "Konfigurišite održavanje"
#. module: base_maintenance_config
#: model:ir.actions.act_window,name:base_maintenance_config.action_maintenance_config_settings
#: model:ir.ui.menu,name:base_maintenance_config.menu_maintenance_config_settings
msgid "General Settings"
msgstr "Opšte postavke"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Maintenance"
msgstr "Održavanje"

View file

@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_config
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-06 13:48+0000\n"
"Last-Translator: David Alonso (Solvos) <david.alonso@solvos.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Configure Maintenance"
msgstr "Configurar Mantenimiento"
#. module: base_maintenance_config
#: model:ir.actions.act_window,name:base_maintenance_config.action_maintenance_config_settings
#: model:ir.ui.menu,name:base_maintenance_config.menu_maintenance_config_settings
msgid "General Settings"
msgstr "Configuración"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Maintenance"
msgstr "Mantenimiento"

View file

@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_config
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-23 15:49+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Configure Maintenance"
msgstr "Configurazione Manutenzione"
#. module: base_maintenance_config
#: model:ir.actions.act_window,name:base_maintenance_config.action_maintenance_config_settings
#: model:ir.ui.menu,name:base_maintenance_config.menu_maintenance_config_settings
msgid "General Settings"
msgstr "Impostazioni generali"
#. module: base_maintenance_config
#: model_terms:ir.ui.view,arch_db:base_maintenance_config.res_config_settings_view_form
msgid "Maintenance"
msgstr "Manutenzione"

View file

@ -0,0 +1,8 @@
To let one user access the general settings section for the maintenance
configuration, you should assign the 'Equipments Manager' group to that user.
To do so, you need to:
#. Go on 'Settings' -> 'Users & Companies' -> 'Groups'.
#. Open the group 'Maintenance / Equipment Manager' form.
#. In the tab 'Users', add the user you want to give access to.

View file

@ -0,0 +1,2 @@
* Antonio Esposito <a.esposito@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>

View file

@ -0,0 +1,35 @@
This module provides an empty general settings section for the maintenance
configuration.
This is a technical module and it doesn't provide any new functionality.
Extend this module to add general settings related to the maintenance app.
When extending the general settings view, here is an example of how the code
would look like:
.. code:: xml
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_maintenance_config.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='configure_maintenance']" position="after">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="new_field_name"/>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="row">
<div class="text-muted col-md-8">
Set some configuration data for this field ...
</div>
</div>
<div class="content-group">
<div class="mt16">
<field name="new_field_name" class="o_light_label"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>

View file

@ -0,0 +1,3 @@
To use this module, you need to:
#. Go to *Maintenance > Configuration > General Settings*.

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,475 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Maintenance Settings</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="maintenance-settings">
<h1 class="title">Maintenance Settings</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:658988c6ba9c1d353e20060bf2364a835066b73c622f089c3c655d7d9b39907e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance_config"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance_config"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides an empty general settings section for the maintenance
configuration.</p>
<p>This is a technical module and it doesnt provide any new functionality.
Extend this module to add general settings related to the maintenance app.</p>
<p>When extending the general settings view, here is an example of how the code
would look like:</p>
<pre class="code xml literal-block">
<span class="nt">&lt;record</span><span class="w"> </span><span class="na">id=</span><span class="s">&quot;res_config_settings_view_form&quot;</span><span class="w"> </span><span class="na">model=</span><span class="s">&quot;ir.ui.view&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;field</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;model&quot;</span><span class="nt">&gt;</span>res.config.settings<span class="nt">&lt;/field&gt;</span><span class="w">
</span><span class="nt">&lt;field</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;inherit_id&quot;</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;base_maintenance_config.res_config_settings_view_form&quot;</span><span class="nt">/&gt;</span><span class="w">
</span><span class="nt">&lt;field</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;arch&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;xml&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;xpath</span><span class="w"> </span><span class="na">expr=</span><span class="s">&quot;//div[&#64;id='configure_maintenance']&quot;</span><span class="w"> </span><span class="na">position=</span><span class="s">&quot;after&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;col-xs-12 col-md-6 o_setting_box&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;o_setting_right_pane&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;label</span><span class="w"> </span><span class="na">for=</span><span class="s">&quot;new_field_name&quot;</span><span class="nt">/&gt;</span><span class="w">
</span><span class="nt">&lt;span</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;fa fa-lg fa-building-o&quot;</span><span class="w"> </span><span class="na">title=</span><span class="s">&quot;Values set here are company-specific.&quot;</span><span class="w"> </span><span class="na">groups=</span><span class="s">&quot;base.group_multi_company&quot;</span><span class="nt">/&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;row&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;text-muted col-md-8&quot;</span><span class="nt">&gt;</span><span class="w">
</span>Set<span class="w"> </span>some<span class="w"> </span>configuration<span class="w"> </span>data<span class="w"> </span>for<span class="w"> </span>this<span class="w"> </span>field<span class="w"> </span>...<span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;content-group&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;div</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;mt16&quot;</span><span class="nt">&gt;</span><span class="w">
</span><span class="nt">&lt;field</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;new_field_name&quot;</span><span class="w"> </span><span class="na">class=</span><span class="s">&quot;o_light_label&quot;</span><span class="nt">/&gt;</span><span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;/div&gt;</span><span class="w">
</span><span class="nt">&lt;/xpath&gt;</span><span class="w">
</span><span class="nt">&lt;/field&gt;</span><span class="w">
</span><span class="nt">&lt;/record&gt;</span>
</pre>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>To let one user access the general settings section for the maintenance
configuration, you should assign the Equipments Manager group to that user.</p>
<p>To do so, you need to:</p>
<ol class="arabic simple">
<li>Go on Settings -&gt; Users &amp; Companies -&gt; Groups.</li>
<li>Open the group Maintenance / Equipment Manager form.</li>
<li>In the tab Users, add the user you want to give access to.</li>
</ol>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Maintenance &gt; Configuration &gt; General Settings</em>.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance_config%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
<ul class="simple">
<li>Onestein</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<ul class="simple">
<li>Antonio Esposito &lt;<a class="reference external" href="mailto:a.esposito&#64;onestein.nl">a.esposito&#64;onestein.nl</a>&gt;</li>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance_config">OCA/maintenance</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div
data-key="maintenance"
class="app_settings_block"
data-string="Maintenance"
string="Maintenance"
groups="maintenance.group_equipment_manager"
>
<h2>Maintenance</h2>
<div
id="configure_maintenance"
class="row mt16 o_settings_container"
title="Configure Maintenance"
>
</div>
</div>
</xpath>
</field>
</record>
<record id="action_maintenance_config_settings" model="ir.actions.act_window">
<field name="name">General Settings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'maintenance'}</field>
</record>
<menuitem
id="menu_maintenance_config_settings"
parent="maintenance.menu_maintenance_configuration"
sequence="0"
action="action_maintenance_config_settings"
groups="maintenance.group_equipment_manager"
/>
</odoo>

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Base_maintenance_config Module - base_maintenance_config
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for base_maintenance_config. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [maintenance](https://github.com/bringout/oca-ocb-vertical-industry/tree/a60a29f57ff34f3c01d0521d0a6003956d80acd9/odoo-bringout-oca-ocb-maintenance)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon base_maintenance_config or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance_config"
# or
uv pip install odoo-bringout-oca-maintenance-base_maintenance_config"
```

View file

@ -0,0 +1,11 @@
# Models
Detected core models and extensions in base_maintenance_config.
```mermaid
classDiagram
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: base_maintenance_config. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon base_maintenance_config
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,8 @@
# Security
This module does not define custom security rules or access controls beyond Odoo defaults.
Default Odoo security applies:
- Base user access through standard groups
- Model access inherited from dependencies
- No custom row-level security rules

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_maintenance_config
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-maintenance-base_maintenance_config"
version = "16.0.0"
description = "Maintenance Settings - Provides general settings for the Maintenance App"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-maintenance-maintenance>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["base_maintenance_config"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]

View file

@ -0,0 +1,44 @@
# Maintenance Groups
Odoo addon: base_maintenance_group
## Installation
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance_group
```
## Dependencies
This addon depends on:
- maintenance
## Manifest Information
- **Name**: Maintenance Groups
- **Version**: 16.0.1.0.0
- **Category**: Maintenance
- **License**: AGPL-3
- **Installable**: False
## Source
Based on [OCA/maintenance](https://github.com/OCA/maintenance) branch 16.0, addon `base_maintenance_group`.
## License
This package maintains the original AGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,98 @@
==================
Maintenance Groups
==================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7c718a98ca46c4a655437411ed50024b0c76f69f839b6141348a6b6a859f5696
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github
:target: https://github.com/OCA/maintenance/tree/16.0/base_maintenance_group
:alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance_group
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module provides a security group category 'Maintenance' with two new user
groups:
- 'User'
- 'Full Access'.
The user group 'Equipment Manager', already provided by the standard Odoo,
will also be listed in the group category 'Maintenance'.
**Table of contents**
.. contents::
:local:
Usage
=====
Assign any of the Maintenance groups ('User' or 'Equipment Manager' or
'Full Access') to the users, in order to enable the maintenance menus.
To do so, you need to:
#. Go on 'Settings' -> 'Users & Companies' -> 'Users'.
#. Create a new user or select an already existing one.
#. In the tab 'Access Rights', at the 'Application Accesses' paragraph,
set a group in the 'Maintenance' category.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance_group%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Onestein
Contributors
~~~~~~~~~~~~
* Antonio Esposito <a.esposito@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Luisa Miguéns <luisa.miguens@solvos.es>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/16.0/base_maintenance_group>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

View file

@ -0,0 +1,18 @@
# Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Maintenance Groups",
"summary": "Provides base access groups for the Maintenance App",
"author": "Onestein, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/maintenance",
"category": "Maintenance",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["maintenance"],
"data": [
"data/maintenance_data.xml",
"security/maintenance_security.xml",
"menuitems.xml",
],
}

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Onestein (<https://www.onestein.eu>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="module_maintenance" model="ir.module.category">
<field name="name">Maintenance</field>
<field name="sequence">103</field>
</record>
</odoo>

View file

@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr ""
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr ""
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr ""

View file

@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr "Puni pristup"
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr "Održavanje"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr "Korisnik"

View file

@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-22 23:09+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr "Acceso total"
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr "Mantenimiento"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr "Usuario"

View file

@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-23 15:49+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr "Accesso completo"
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr "Manutenzione"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr "Utente"

View file

@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-06-23 22:10+0000\n"
"Last-Translator: Fernando Colus <fcolus1@gmail.com>\n"
"Language-Team: none\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.10\n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr "Acesso Total"
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr "Manutenção"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr "Usuário"

View file

@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_maintenance_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_manager
msgid "Full Access"
msgstr ""
#. module: base_maintenance_group
#: model:ir.module.category,name:base_maintenance_group.module_maintenance
msgid "Maintenance"
msgstr ""
#. module: base_maintenance_group
#: model:res.groups,name:base_maintenance_group.group_maintenance_user
msgid "User"
msgstr ""

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="maintenance.menu_maintenance_configuration" model="ir.ui.menu">
<field
eval="[(4,ref('base_maintenance_group.group_maintenance_manager'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_maintenance_title" model="ir.ui.menu">
<field
eval="[(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_dashboard" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_request" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_request_form" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_request_calendar" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_equipment_form" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_reports" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_reports_oee" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_m_reports_losses" model="ir.ui.menu">
<field
eval="[(3,ref('base.group_user')),(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
<record id="maintenance.menu_maintenance_teams" model="ir.ui.menu">
<field
eval="[(4,ref('base_maintenance_group.group_maintenance_user'))]"
name="groups_id"
/>
</record>
</odoo>

View file

@ -0,0 +1,3 @@
* Antonio Esposito <a.esposito@onestein.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Luisa Miguéns <luisa.miguens@solvos.es>

View file

@ -0,0 +1,8 @@
This module provides a security group category 'Maintenance' with two new user
groups:
- 'User'
- 'Full Access'.
The user group 'Equipment Manager', already provided by the standard Odoo,
will also be listed in the group category 'Maintenance'.

View file

@ -0,0 +1,9 @@
Assign any of the Maintenance groups ('User' or 'Equipment Manager' or
'Full Access') to the users, in order to enable the maintenance menus.
To do so, you need to:
#. Go on 'Settings' -> 'Users & Companies' -> 'Users'.
#. Create a new user or select an already existing one.
#. In the tab 'Access Rights', at the 'Application Accesses' paragraph,
set a group in the 'Maintenance' category.

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data noupdate="0">
<record id="group_maintenance_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="module_maintenance" />
</record>
<record id="maintenance.group_equipment_manager" model="res.groups">
<field name="category_id" ref="module_maintenance" />
<field name="implied_ids" eval="[(4, ref('group_maintenance_user'))]" />
</record>
<record id="group_maintenance_manager" model="res.groups">
<field name="name">Full Access</field>
<field name="category_id" ref="module_maintenance" />
<field
name="implied_ids"
eval="[(4, ref('maintenance.group_equipment_manager')), (4, ref('group_maintenance_user'))]"
/>
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
</record>
</data>
<data noupdate="1">
<record id="only_subscribe_maintenance_team" model="ir.rule">
<field name="name">Only Subscribe Maintenance Team</field>
<field name="model_id" ref="maintenance.model_maintenance_team" />
<field name="groups" eval="[(6, 0, [ref('group_maintenance_user')])]" />
<field name="domain_force">[('member_ids', 'in', [user.id])]</field>
<field name="perm_read" eval="True" />
<field name="perm_write" eval="True" />
<field name="perm_unlink" eval="True" />
<field name="perm_create" eval="True" />
</record>
<record id="all_maintenance_team" model="ir.rule">
<field name="name">All Maintenance Team</field>
<field name="model_id" ref="maintenance.model_maintenance_team" />
<field
name="groups"
eval="[(6, 0, [ref('maintenance.group_equipment_manager')])]"
/>
<field name="domain_force">[(1, '=', 1)]</field>
<field name="perm_read" eval="True" />
<field name="perm_write" eval="True" />
<field name="perm_unlink" eval="True" />
<field name="perm_create" eval="True" />
</record>
</data>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,443 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Maintenance Groups</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="maintenance-groups">
<h1 class="title">Maintenance Groups</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7c718a98ca46c4a655437411ed50024b0c76f69f839b6141348a6b6a859f5696
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance_group"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-base_maintenance_group"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides a security group category Maintenance with two new user
groups:</p>
<ul class="simple">
<li>User</li>
<li>Full Access.</li>
</ul>
<p>The user group Equipment Manager, already provided by the standard Odoo,
will also be listed in the group category Maintenance.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>Assign any of the Maintenance groups (User or Equipment Manager or
Full Access) to the users, in order to enable the maintenance menus.</p>
<p>To do so, you need to:</p>
<ol class="arabic simple">
<li>Go on Settings -&gt; Users &amp; Companies -&gt; Users.</li>
<li>Create a new user or select an already existing one.</li>
<li>In the tab Access Rights, at the Application Accesses paragraph,
set a group in the Maintenance category.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/maintenance/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/maintenance/issues/new?body=module:%20base_maintenance_group%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<ul class="simple">
<li>Onestein</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>Antonio Esposito &lt;<a class="reference external" href="mailto:a.esposito&#64;onestein.nl">a.esposito&#64;onestein.nl</a>&gt;</li>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
<li>Luisa Miguéns &lt;<a class="reference external" href="mailto:luisa.miguens&#64;solvos.es">luisa.miguens&#64;solvos.es</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/maintenance/tree/16.0/base_maintenance_group">OCA/maintenance</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Base_maintenance_group Module - base_maintenance_group
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for base_maintenance_group. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [maintenance](https://github.com/bringout/oca-ocb-vertical-industry/tree/a60a29f57ff34f3c01d0521d0a6003956d80acd9/odoo-bringout-oca-ocb-maintenance)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon base_maintenance_group or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-maintenance-base_maintenance_group"
# or
uv pip install odoo-bringout-oca-maintenance-base_maintenance_group"
```

View file

@ -0,0 +1,11 @@
# Models
Detected core models and extensions in base_maintenance_group.
```mermaid
classDiagram
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: base_maintenance_group. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon base_maintenance_group
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,66 @@
# Security
Access control and security definitions in base_maintenance_group.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[bosnian_translations.json](../bosnian_translations.json)**
- 1767 model access rules
- **[bosnian_translations_output.json](../bosnian_translations_output.json)**
- 414 model access rules
- **[CHANGELOG.md](../CHANGELOG.md)**
- 132 model access rules
- **[doc](../doc)**
- **[docker](../docker)**
- **[input](../input)**
- **[nix](../nix)**
- **[odoo.conf](../odoo.conf)**
- 58 model access rules
- **[odoo_packages_bez_l10n.txt](../odoo_packages_bez_l10n.txt)**
- 1947 model access rules
- **[odoo_packages_bringout.txt](../odoo_packages_bringout.txt)**
- 1947 model access rules
- **[odoo_packages.txt](../odoo_packages.txt)**
- 2085 model access rules
- **[output](../output)**
- **[packages](../packages)**
- **[PACKAGES.md](../PACKAGES.md)**
- 298 model access rules
- **[README.md](../README.md)**
- 338 model access rules
- **[scripts](../scripts)**
- **[temp](../temp)**
- **[TRANSLATION_BS_SUMMARY.md](../TRANSLATION_BS_SUMMARY.md)**
- 225 model access rules
## Record Rules
Row-level security rules defined in:
## Security Groups & Configuration
Security groups and permissions defined in:
- **[maintenance_security.xml](../base_maintenance_group/security/maintenance_security.xml)**
- 3 security groups defined
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[maintenance_security.xml](../base_maintenance_group/security/maintenance_security.xml)**
- Security groups, categories, and XML-based rules
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_maintenance_group
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-maintenance-base_maintenance_group"
version = "16.0.0"
description = "Maintenance Groups - Provides base access groups for the Maintenance App"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-maintenance-maintenance>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["base_maintenance_group"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]

View file

@ -0,0 +1,45 @@
# Maintenance Account
Odoo addon: maintenance_account
## Installation
```bash
pip install odoo-bringout-oca-maintenance-maintenance_account
```
## Dependencies
This addon depends on:
- maintenance_product
- account
## Manifest Information
- **Name**: Maintenance Account
- **Version**: 16.0.1.1.1
- **Category**: Maintenance
- **License**: AGPL-3
- **Installable**: True
## Source
Based on [OCA/maintenance](https://github.com/OCA/maintenance) branch 16.0, addon `maintenance_account`.
## License
This package maintains the original AGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Maintenance_account Module - maintenance_account
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for maintenance_account. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

Some files were not shown because too many files have changed in this diff Show more