Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fe18bfc
[11.0][ADD] maintenance_location
Nov 15, 2019
01032b2
[12.0][MIG] maintenance_location
Feb 24, 2020
8932648
[MIG] maintenance_location: Migration to 13.0
olgamarcocb Jun 25, 2021
aecb478
[IMP] maintenance_location: black, isort, prettier
kluna1998 Nov 8, 2022
bd1f383
[MIG] maintenance_location: Migration to 14.0
kluna1998 Nov 8, 2022
451134a
[IMP] maintenance_location: Adapt to OCA
etobella Sep 8, 2023
6616050
[IMP] maintenance_location: Add new fields and behavior, remove widge…
etobella Sep 8, 2023
1855a3c
[UPD] Update maintenance_location.pot
Dec 11, 2023
5ccd8c3
Translated using Weblate (Italian)
mymage Dec 19, 2023
5f742fe
[IMP] maintenace_location: pre-commit stuff
Mar 7, 2024
418247a
[MIG] maintenance_location: Migration to 16.0
Mar 7, 2024
b13be56
[UPD] Update maintenance_location.pot
Apr 18, 2024
d4e2b54
[IMP] maintenance_location: pre-commit auto fixes
BhaveshHeliconia Jan 29, 2025
efe7ba4
[MIG] maintenance_location: Migration to 17.0
BhaveshHeliconia Jan 29, 2025
d0ceb47
[UPD] Update maintenance_location.pot
Aug 26, 2025
ddcc285
[BOT] post-merge updates
OCA-git-bot Aug 26, 2025
7e1b67b
[IMP] maintenance_location: Add inverse relation and equipment count …
cgarcia-solvos Mar 11, 2026
d90f98e
[UPD] Update maintenance_location.pot
Apr 29, 2026
c905229
[BOT] post-merge updates
OCA-git-bot Apr 29, 2026
ab0b515
Update translation files
weblate Apr 29, 2026
f0b04af
Translated using Weblate (Italian)
mymage Apr 30, 2026
82a1839
[IMP] maintenance_location: pre-commit auto fixes
ypapouin May 4, 2026
972cfc7
[MIG] maintenance_location: Migration to 18.0
ypapouin May 4, 2026
622835f
[IMP] maintenance_location: Add location on request report
ypapouin Oct 20, 2025
8c4fcf5
[IMP] maintenance_location: Demo data added
ypapouin Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions maintenance_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
====================
Maintenance Location
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8c8c6f926ab0925c0f8407dba57714d9a272dd8e3cc66f0a777ac466d84d69e5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.0/maintenance_location
:alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_location
: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=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Define a location system with hierarchy for maintenance equipments and
requests.

**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:%20maintenance_location%0Aversion:%2018.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
-------

* CreuBlanca
* Dixmit

Contributors
------------

- `Dixmit <https://www.dixmit.com/>`__

- Enric Tobella

- CreuBlanca

- Kevin Luna
- Jaime Arroyo

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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/18.0/maintenance_location>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions maintenance_location/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions maintenance_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Maintenance Location",
"summary": """
Define a location system for maintenance""",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "CreuBlanca, Dixmit,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/maintenance",
"depends": ["maintenance_plan"],
"data": [
"security/ir.model.access.csv",
"views/maintenance_plan.xml",
"views/maintenance_equipment.xml",
"views/maintenance_request.xml",
"views/maintenance_location.xml",
"views/report_maintenance_request.xml",
],
"demo": [
"demo/demo_maintenance_location.xml",
"demo/demo_maintenance_plan.xml",
"demo/demo_maintenance_equipment.xml",
],
}
15 changes: 15 additions & 0 deletions maintenance_location/demo/demo_maintenance_equipment.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="maintenance.equipment" id="maintenance.equipment_computer3">
<field name="location_id" ref="maintenance_location.location_workshop" />
</record>
<record model="maintenance.equipment" id="maintenance.equipment_computer5">
<field name="location_id" ref="maintenance_location.location_workshop" />
</record>
<record model="maintenance.equipment" id="maintenance.equipment_computer9">
<field name="location_id" ref="maintenance_location.location_workshop" />
</record>
<record model="maintenance.equipment" id="maintenance.equipment_computer11">
<field name="location_id" ref="maintenance_location.location_workshop" />
</record>
</odoo>
34 changes: 34 additions & 0 deletions maintenance_location/demo/demo_maintenance_location.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="maintenance.location" id="location_building_a">
<field name="name">Building A</field>
<field name="description">Main office building</field>
</record>

<record model="maintenance.location" id="location_building_a_l1">
<field name="name">Level 1</field>
<field name="parent_id" ref="location_building_a" />
</record>

<record model="maintenance.location" id="location_building_a_l2">
<field name="name">Level 2</field>
<field name="parent_id" ref="location_building_a" />
</record>

<record model="maintenance.location" id="location_building_b">
<field name="name">Building B</field>
<field name="description">Secondary building</field>
</record>

<record model="maintenance.location" id="location_warehouse">
<field name="name">Warehouse</field>
<field name="description">Storage and logistics area</field>
<field name="parent_id" ref="location_building_b" />
</record>

<record model="maintenance.location" id="location_workshop">
<field name="name">Workshop</field>
<field name="description">Maintenance and repair workshop</field>
<field name="parent_id" ref="location_building_b" />
</record>
</odoo>
33 changes: 33 additions & 0 deletions maintenance_location/demo/demo_maintenance_plan.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record
model="maintenance.plan"
id="maintenance_plan.maintenance_plan_monthly_monitor1"
>
<field name="location_id" ref="maintenance_location.location_building_a_l1" />
</record>
<record
model="maintenance.plan"
id="maintenance_plan.maintenance_plan_monthly_monitor4"
>
<field name="location_id" ref="maintenance_location.location_building_a_l1" />
</record>
<record
model="maintenance.plan"
id="maintenance_plan.maintenance_plan_monthly_monitor6"
>
<field name="location_id" ref="maintenance_location.location_warehouse" />
</record>
<record
model="maintenance.plan"
id="maintenance_plan.maintenance_plan_monthly_printer1"
>
<field name="location_id" ref="maintenance_location.location_building_a_l2" />
</record>
<record
model="maintenance.plan"
id="maintenance_plan.maintenance_plan_weekly_printer1"
>
<field name="location_id" ref="maintenance_location.location_building_a_l2" />
</record>
</odoo>
Loading
Loading