Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
df31de6
[11.0][ADD] maintenance_location
Nov 15, 2019
176bb73
[12.0][MIG] maintenance_location
Feb 24, 2020
8e5090c
[MIG] maintenance_location: Migration to 13.0
olgamarcocb Jun 25, 2021
0d634bd
[IMP] maintenance_location: black, isort, prettier
kluna1998 Nov 8, 2022
0ccd7c4
[MIG] maintenance_location: Migration to 14.0
kluna1998 Nov 8, 2022
a140929
[IMP] maintenance_location: Adapt to OCA
etobella Sep 8, 2023
178a0f4
[IMP] maintenance_location: Add new fields and behavior, remove widge…
etobella Sep 8, 2023
cda39d0
[UPD] Update maintenance_location.pot
Dec 11, 2023
c2dc73e
Translated using Weblate (Italian)
mymage Dec 19, 2023
59bdc75
[IMP] maintenace_location: pre-commit stuff
Mar 7, 2024
e120621
[MIG] maintenance_location: Migration to 16.0
Mar 7, 2024
0d073df
[UPD] Update maintenance_location.pot
Apr 18, 2024
9e1121a
[IMP] maintenance_location: pre-commit auto fixes
BhaveshHeliconia Jan 29, 2025
a5c4feb
[MIG] maintenance_location: Migration to 17.0
BhaveshHeliconia Jan 29, 2025
b548212
[UPD] Update maintenance_location.pot
Aug 26, 2025
fc7a3bb
[BOT] post-merge updates
OCA-git-bot Aug 26, 2025
8d2a895
[IMP] maintenance_location: Add inverse relation and equipment count …
cgarcia-solvos Mar 11, 2026
5f2bc14
[UPD] Update maintenance_location.pot
Apr 29, 2026
f632790
[BOT] post-merge updates
OCA-git-bot Apr 29, 2026
a34d6f3
Update translation files
weblate Apr 29, 2026
44e5908
Translated using Weblate (Italian)
mymage Apr 30, 2026
f538cdc
[IMP] maintenance_location: pre-commit auto fixes
ypapouin May 4, 2026
7d0199d
[MIG] maintenance_location: Migration to 18.0
ypapouin May 4, 2026
51ac32a
[IMP] maintenance_location: Add location on request report
ypapouin Oct 20, 2025
ee8c805
[IMP] maintenance_location: Demo data added
ypapouin Oct 20, 2025
99ea329
[UPD] Update maintenance_location.pot
Jul 10, 2026
6520a3c
[BOT] post-merge updates
OCA-git-bot Jul 10, 2026
37b62c9
[MIG] maintenance_location: Migration to 19.0
ClemRiviere Jul 28, 2026
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
93 changes: 93 additions & 0 deletions maintenance_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

====================
Maintenance Location
====================

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

.. |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/license-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/19.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-19-0/maintenance-19-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=19.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:%2019.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/19.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": "19.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