Skip to content

Commit

Permalink
[ADD] repair_assigned_to
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankC013 committed Jun 5, 2024
1 parent 7ad8b53 commit 51c2c6a
Show file tree
Hide file tree
Showing 13 changed files with 577 additions and 0 deletions.
63 changes: 63 additions & 0 deletions repair_assigned_to/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
==================
Repair Assigned To
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cfbf9e1833dc8d6fababdc718ad974112e7547b05301eb3f6db8be1fbd843aaa
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-NuoBiT%2Fodoo--addons-lightgray.png?logo=github
:target: https://github.com/NuoBiT/odoo-addons/tree/14.0/repair_assigned_to
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

This module adds an assigned to field in the repair order.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/NuoBiT/odoo-addons/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/NuoBiT/odoo-addons/issues/new?body=module:%20repair_assigned_to%0Aversion:%2014.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
~~~~~~~

* NuoBiT Solutions
* S.L.

Contributors
~~~~~~~~~~~~

* `Nuobit <https://www.nuobit.com>`_:

* Frank Cespedes <[email protected]>

Maintainers
~~~~~~~~~~~

This module is part of the `NuoBiT/odoo-addons <https://github.com/NuoBiT/odoo-addons/tree/14.0/repair_assigned_to>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions repair_assigned_to/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions repair_assigned_to/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Repair Assigned To",
"summary": "This module adds an assigned to field in the repair order",
"version": "14.0.0.0.0",
"category": "Inventory",
"author": "NuoBiT Solutions, S.L.",
"website": "https://github.com/nuobit/odoo-addons",
"license": "AGPL-3",
"depends": ["repair"],
"data": [
"views/repair_views.xml",
],
}
36 changes: 36 additions & 0 deletions repair_assigned_to/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * repair_assigned_to
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-05 09:43+0000\n"
"PO-Revision-Date: 2024-06-05 09:43+0000\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: repair_assigned_to
#: model:ir.model.fields,field_description:repair_assigned_to.field_repair_order__assigned_to
msgid "Assigned To"
msgstr "Asignado a"

#. module: repair_assigned_to
#: model:ir.model.fields,field_description:repair_assigned_to.field_repair_order__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: repair_assigned_to
#: model:ir.model.fields,field_description:repair_assigned_to.field_repair_order____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: repair_assigned_to
#: model:ir.model,name:repair_assigned_to.model_repair_order
msgid "Repair Order"
msgstr "Orden de reparación"
1 change: 1 addition & 0 deletions repair_assigned_to/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import repair
14 changes: 14 additions & 0 deletions repair_assigned_to/models/repair.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright NuoBiT Solutions - Frank Cespedes <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields, models


class Repair(models.Model):
_inherit = "repair.order"

assigned_to = fields.Many2one(
comodel_name="res.users",
ondelete="restrict",
domain="['|',('company_id', '=', False), ('company_id', '=', company_id)]",
)
3 changes: 3 additions & 0 deletions repair_assigned_to/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Nuobit <https://www.nuobit.com>`_:

* Frank Cespedes <[email protected]>
1 change: 1 addition & 0 deletions repair_assigned_to/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds an assigned to field in the repair order.
Binary file added repair_assigned_to/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 51c2c6a

Please sign in to comment.