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

[17.0][MIG] iot_amqp_oca: Migration to 17.0 #97

Merged
merged 20 commits into from
Sep 16, 2024
Merged
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
79 changes: 79 additions & 0 deletions iot_amqp_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
========
IoT AMQP
========

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

.. |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%2Fiot-lightgray.png?logo=github
:target: https://github.com/OCA/iot/tree/17.0/iot_amqp_oca
:alt: OCA/iot
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/iot-17-0/iot-17-0-iot_amqp_oca
: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/iot&target_branch=17.0
:alt: Try me on Runboat

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

This addon defines AMQP as an integration option with a device.

With AMQP, we will send and AMQP message to a broker that will send it
to the device. Then, the device will do the expected action.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/iot/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/iot/issues/new?body=module:%20iot_amqp_oca%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
-------

* Creu Blanca

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

- Enric Tobella <[email protected]>

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/iot <https://github.com/OCA/iot/tree/17.0/iot_amqp_oca>`_ 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 iot_amqp_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions iot_amqp_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2018 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "IoT AMQP",
"version": "17.0.1.0.0",
"category": "IoT",
"author": "Creu Blanca, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"summary": "Integrate Iot Outputs with AMQP",
"depends": ["iot_output_oca"],
"external_dependencies": {"python": ["pika"]},
"website": "https://github.com/OCA/iot",
"data": [
"security/ir.model.access.csv",
"views/iot_amqp_host.xml",
"data/system_data.xml",
"views/iot_device_output_views.xml",
],
}
11 changes: 11 additions & 0 deletions iot_amqp_oca/data/system_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="amqp_system" model="iot.communication.system">
<field name="name">AMQP</field>
<field name="applies_to">output</field>
</record>
<record id="amqp_action" model="iot.communication.system.action">
<field name="communication_system_id" ref="amqp_system" />
<field name="name">amqp</field>
</record>
</odoo>
142 changes: 142 additions & 0 deletions iot_amqp_oca/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * iot_amqp_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-06-03 11:05+0000\n"
"Last-Translator: jabelchi <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: iot_amqp_oca
#: model:ir.ui.menu,name:iot_amqp_oca.iot_amqp_host_menu
msgid "AMQP Hosts"
msgstr "Hosts AMQP"

#. module: iot_amqp_oca
#: model_terms:ir.ui.view,arch_db:iot_amqp_oca.iot_device_output_form
msgid "AMQP configuration"
msgstr "Configuració AMQP"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__active
msgid "Active"
msgstr "Actiu"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_device_output__amqp_exchange
msgid "Amqp Exchange"
msgstr "Intercanvi AMQP"

#. module: iot_amqp_oca
#: model:ir.actions.act_window,name:iot_amqp_oca.iot_amqp_host_act_window
#: model:ir.model,name:iot_amqp_oca.model_iot_amqp_host
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_device_output__amqp_host_id
msgid "Amqp Host"
msgstr "Host AMQP"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_device_output__amqp_payload
msgid "Amqp Payload"
msgstr "Càrrega AMQP"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_device_output__amqp_routing_key
msgid "Amqp Routing Key"
msgstr "Clau d'encaminament AMQP"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__connection
msgid "Connection"
msgstr "Connexió"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__create_uid
msgid "Created by"
msgstr "Creat per"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__create_date
msgid "Created on"
msgstr "Creat el"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__display_name
msgid "Display Name"
msgstr "Nom a mostrar"

#. module: iot_amqp_oca
#: code:addons/iot_amqp_oca/models/iot_device_output.py:0
#, python-format
msgid "Exchange is required"
msgstr "Es requereix intercanvi"

#. module: iot_amqp_oca
#: code:addons/iot_amqp_oca/models/iot_device_output.py:0
#, python-format
msgid "Host is required"
msgstr "Es requereix host"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__id
msgid "ID"
msgstr "ID"

#. module: iot_amqp_oca
#: model:ir.model,name:iot_amqp_oca.model_iot_device_output_action
msgid "IoT Action"
msgstr "Acció IoT"

#. module: iot_amqp_oca
#: model:ir.model,name:iot_amqp_oca.model_iot_communication_system_action
msgid "IoT Communication System action"
msgstr "Acció del sistema de comunicacions IoT"

#. module: iot_amqp_oca
#: model:ir.model,name:iot_amqp_oca.model_iot_device_output
msgid "IoT Device"
msgstr "Dispositiu IoT"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host____last_update
msgid "Last Modified on"
msgstr "Darrera modificació el"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__write_uid
msgid "Last Updated by"
msgstr "Darrera actualització el"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__write_date
msgid "Last Updated on"
msgstr "Darrera actualització el"

#. module: iot_amqp_oca
#: model:ir.model.fields,field_description:iot_amqp_oca.field_iot_amqp_host__name
msgid "Name"
msgstr "Nom"

#. module: iot_amqp_oca
#: code:addons/iot_amqp_oca/models/iot_device_output.py:0
#, python-format
msgid "Routing Key is required"
msgstr "La clau d'encaminament és necessària"

#. module: iot_amqp_oca
#: model_terms:ir.ui.view,arch_db:iot_amqp_oca.iot_device_output_form
msgid "Run"
msgstr "Executa"

#. module: iot_amqp_oca
#: model_terms:ir.ui.view,arch_db:iot_amqp_oca.iot_amqp_host_form_view
msgid "amqp://USER:PASS@HOST"
msgstr "amqp://USER:PASS@HOST"
Loading
Loading