Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c6e432e
[11.0][ADD] maintenance_location
Nov 15, 2019
face7f5
[12.0][MIG] maintenance_location
Feb 24, 2020
3a0bf04
[MIG] maintenance_location: Migration to 13.0
olgamarcocb Jun 25, 2021
60ec014
[IMP] maintenance_location: black, isort, prettier
kluna1998 Nov 8, 2022
0833bea
[MIG] maintenance_location: Migration to 14.0
kluna1998 Nov 8, 2022
3998676
[IMP] maintenance_location: Adapt to OCA
etobella Sep 8, 2023
c14fe7c
[IMP] maintenance_location: Add new fields and behavior, remove widge…
etobella Sep 8, 2023
d4915d9
[UPD] Update maintenance_location.pot
Dec 11, 2023
94a8435
Added translation using Weblate (Italian)
mymage Dec 19, 2023
309c389
Translated using Weblate (Italian)
mymage Dec 19, 2023
800014c
[IMP] maintenace_location: pre-commit stuff
Mar 7, 2024
bb9151f
[MIG] maintenance_location: Migration to 16.0
Mar 7, 2024
2e915d9
[UPD] Update maintenance_location.pot
Apr 18, 2024
5be9319
[IMP] maintenance_location: pre-commit auto fixes
BhaveshHeliconia Jan 29, 2025
6fe9aa1
[MIG] maintenance_location: Migration to 17.0
BhaveshHeliconia Jan 29, 2025
a030692
[UPD] Update maintenance_location.pot
Aug 26, 2025
4fa50bd
[BOT] post-merge updates
OCA-git-bot Aug 26, 2025
3009ece
[IMP] maintenance_location: pre-commit execution
ypapouin Oct 20, 2025
e6cc618
[MIG] maintenance_location: Migration to 18.0
ypapouin Oct 20, 2025
f836d3f
[IMP] maintenance_location: Add location on request report
ypapouin Oct 20, 2025
2c06e5b
[IMP] maintenance_location: Demo data added
ypapouin Oct 20, 2025
ae4e821
[I18N] maintenance_plan: Translation manual update
ypapouin Oct 21, 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
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:a2caa69cdd2b23704424558561a62b4ec0b4057a8d75594e0367262ef16364ed
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/maintenance-17-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=17.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:%2017.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/17.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