Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][ADD+ADD+ADD] rma_assignee + repair_assignee + rma_repair_assignee #400

Open
wants to merge 4 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
63 changes: 63 additions & 0 deletions repair_assignee/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
===============
Repair Assignee
===============

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

.. |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_assignee
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

This module adds an assignee 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_assignee%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_assignee>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions repair_assignee/__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_assignee/__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 Assignee",
"summary": "This module adds an assignee 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_order_views.xml",
],
}
36 changes: 36 additions & 0 deletions repair_assignee/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_assignee
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-05 12:59+0000\n"
"PO-Revision-Date: 2024-06-05 12:59+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_assignee
#: model:ir.model.fields,field_description:repair_assignee.field_repair_order__user_assignee_id
msgid "Assigned To"
msgstr "Asignado a"

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

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

#. module: repair_assignee
#: model:ir.model,name:repair_assignee.model_repair_order
msgid "Repair Order"
msgstr "Orden de reparación"
1 change: 1 addition & 0 deletions repair_assignee/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import repair_order
15 changes: 15 additions & 0 deletions repair_assignee/models/repair_order.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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"

user_assignee_id = fields.Many2one(
string="Assigned To",
comodel_name="res.users",
ondelete="restrict",
domain="['|',('company_id', '=', False), ('company_id', '=', company_id)]",
)
3 changes: 3 additions & 0 deletions repair_assignee/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_assignee/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds an assignee field in the repair order.
Binary file added repair_assignee/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
Loading