Skip to content

Commit

Permalink
[MIG] server_action_navigate: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Dec 23, 2023
1 parent ba86ba8 commit 428af67
Showing 9 changed files with 152 additions and 216 deletions.
18 changes: 9 additions & 9 deletions server_action_navigate/README.rst
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ Server Actions - Navigate
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2c2b8623b55720c69820ab8a7a26d3bc90897eb1f587f26f9e1a778f33f99448
!! source digest: sha256:5044fe245924ca15b849adae37d46ee5e3ba0c18f5e44f664017c069f616c2b5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -17,13 +17,13 @@ Server Actions - Navigate
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
:target: https://github.com/OCA/server-backend/tree/14.0/server_action_navigate
:target: https://github.com/OCA/server-backend/tree/16.0/server_action_navigate
:alt: OCA/server-backend
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-server_action_navigate
:target: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-server_action_navigate
: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/server-backend&target_branch=14.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -46,7 +46,7 @@ Configuration

* Create a new item

.. figure:: https://raw.githubusercontent.com/OCA/server-backend/14.0/server_action_navigate/static/description/ir_actions_server_form.png
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/server_action_navigate/static/description/ir_actions_server_form.png

* Set a name that will be used for the Contextual Action

@@ -77,20 +77,20 @@ Usage

* click on 'Action' Button

.. figure:: https://raw.githubusercontent.com/OCA/server-backend/14.0/server_action_navigate/static/description/sale_order_tree.png
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/server_action_navigate/static/description/sale_order_tree.png


* then click on the name of the configured Action and see the results

.. figure:: https://raw.githubusercontent.com/OCA/server-backend/14.0/server_action_navigate/static/description/product_product_tree.png
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/16.0/server_action_navigate/static/description/product_product_tree.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/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/server-backend/issues/new?body=module:%20server_action_navigate%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20server_action_navigate%0Aversion:%2016.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.

@@ -132,6 +132,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain| |maintainer-ashishhirpara|

This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/14.0/server_action_navigate>`_ project on GitHub.
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/16.0/server_action_navigate>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion server_action_navigate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

{
"name": "Server Actions - Navigate",
"version": "14.0.1.0.2",
"version": "16.0.1.0.0",
"author": "GRAP, Odoo Community Association (OCA)",
"summary": "Navigate between any items of any Odoo Models",
"category": "Tools",
2 changes: 0 additions & 2 deletions server_action_navigate/demo/ir_actions_server.xml
Original file line number Diff line number Diff line change
@@ -12,12 +12,10 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
</record>
<record id="navigate_line_1" model="ir.actions.server.navigate.line">
<field name="action_id" ref="navigate_partner_2_tags" />
<field name="sequence">1</field>
<field name="field_id" ref="base.field_res_users__partner_id" />
</record>
<record id="navigate_line_2" model="ir.actions.server.navigate.line">
<field name="action_id" ref="navigate_partner_2_tags" />
<field name="sequence">2</field>
<field name="field_id" ref="base.field_res_partner__category_id" />
</record>
<function model="ir.actions.server" name="create_action">
111 changes: 38 additions & 73 deletions server_action_navigate/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -4,23 +4,21 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-25 14:25+0000\n"
"PO-Revision-Date: 2023-07-17 14:09+0000\n"
"Last-Translator: Yann Papouin <ypa@decgroupe.com>\n"
"POT-Creation-Date: 2023-12-23 18:42+0000\n"
"PO-Revision-Date: 2023-12-23 18:42+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\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.17\n"
"Plural-Forms: \n"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__action_id
msgid "Action"
msgstr "Action"
msgstr ""

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__state
@@ -44,8 +42,8 @@ msgstr "Créé le"
#: model:ir.model.fields,help:server_action_navigate.field_ir_actions_server__navigate_action_id
#: model:ir.model.fields,help:server_action_navigate.field_ir_cron__navigate_action_id
msgid ""
"Define here the action used when the navigation will be executed if empty, a "
"generic action will be used."
"Define here the action used when the navigation will be executed if empty, a"
" generic action will be used."
msgstr ""
"Définir ici l'action qui sera utilisé lors que la navigation sera exécutée. "
"Si le champs est vide, une action générique sera utilisée."
@@ -56,7 +54,6 @@ msgid "Delete Last Line"
msgstr "Supprimer la dernière ligne"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__display_name
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__display_name
msgid "Display Name"
msgstr "Nom affiché"
@@ -67,18 +64,16 @@ msgid "Field"
msgstr "Champ"

#. module: server_action_navigate
#: model:ir.model.fields,help:server_action_navigate.field_ir_actions_server_navigate_line__field_model
msgid "For relationship fields, the technical name of the target model"
msgstr "Pour les champs de relation, le nom technique du modèle cible"
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__field_domain_model_id
msgid "Field Model"
msgstr "Modèle du champ"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__id
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__id
msgid "ID"
msgstr "ID"
msgstr ""

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server____last_update
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
@@ -93,25 +88,6 @@ msgstr "Dernière mise à jour par"
msgid "Last Updated on"
msgstr "Dernière mise à jour le"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__max_navigate_line_model
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__max_navigate_line_model
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_cron__max_navigate_line_model
msgid "Max Navigate Model in lines"
msgstr "Modèle maximum des lignes"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__max_navigate_line_sequence
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__max_navigate_line_sequence
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_cron__max_navigate_line_sequence
msgid "Max Navigate sequence in lines"
msgstr "Sequence maximum des lignes"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__field_model
msgid "Model"
msgstr "Modèle"

#. module: server_action_navigate
#: model:ir.model.fields.selection,name:server_action_navigate.selection__ir_actions_server__state__navigate
msgid "Navigate"
@@ -124,6 +100,13 @@ msgstr "Naviguer"
msgid "Navigate Lines"
msgstr "Lignes de navigation"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__navigate_model_technical_name
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__navigate_model_technical_name
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_cron__navigate_model_technical_name
msgid "Navigate Model Technical Name"
msgstr "Nom technique du Modèle finale de navigation"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__navigate_action_id
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__navigate_action_id
@@ -141,11 +124,6 @@ msgstr "Options de navigation"
msgid "See tags of Partners"
msgstr "Voir les catégories des partenaires"

#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__sequence
msgid "Sequence"
msgstr "Séquence"

#. module: server_action_navigate
#: model:ir.model,name:server_action_navigate.model_ir_actions_server
msgid "Server Action"
@@ -157,6 +135,12 @@ msgid "Server Actions Navigation Lines"
msgstr "Lignes de navigation de l'action-serveur"

#. module: server_action_navigate
#: model:ir.model.fields,help:server_action_navigate.field_ir_actions_server_navigate_line__field_domain_model_id
msgid "Technical field, used as a domain for the 'field' field."
msgstr "Champ technique, utilisé comme un domaine pour le champ 'Champ'."

#. module: server_action_navigate
#. odoo-python
#: code:addons/server_action_navigate/models/ir_actions_server.py:0
#, python-format
msgid ""
@@ -173,45 +157,26 @@ msgstr ""
msgid ""
"Type of server action. The following values are available:\n"
"- 'Execute Python Code': a block of python code that will be executed\n"
"- 'Create': create a new record with new values\n"
"- 'Create a new Record': create a new record with new values\n"
"- 'Update a Record': update the values of a record\n"
"- 'Execute several actions': define an action that triggers several other "
"server actions\n"
"- 'Send Email': automatically send an email (Discuss)\n"
"- 'Execute several actions': define an action that triggers several other server actions\n"
"- 'Send Email': post a message, a note or send an email (Discuss)\n"
"- 'Add Followers': add followers to a record (Discuss)\n"
"- 'Create Next Activity': create an activity (Discuss)"
"- 'Create Next Activity': create an activity (Discuss)\n"
"- 'Send SMS Text Message': send SMS, log them on documents (SMS)"
msgstr ""
"Type d'action serveur. Les valeurs suivantes sont disponibles :\n"
"- 'Executer du code Python' : un bloc de code python qui sera exécuté\n"
"- 'Créer' : créer un nouvel enregistrement avec de nouvelles valeurs\n"
"- 'Mettre à jour un enregistrement' : mettre à jour les valeurs d'un "
"enregistrement\n"
"- 'Executer plusieurs actions' : définir une action qui déclenche plusieurs "
"autres actions serveur\n"
"- 'Mettre à jour un enregistrement' : mettre à jour les valeurs d'un enregistrement\n"
"- 'Executer plusieurs actions' : définir une action qui déclenche plusieurs autres actions serveur\n"
"- 'Envoyer E-Mail' : envoyer un e-mail automatiquement (Discutez)\n"
"- 'Ajouter Abonnés' : ajouter des abonnés à un enregistrement (Discutez)\n"
"- 'Créer une Nouvelle Activité' : créer une activité (Discutez)"

#~ msgid "Add Followers"
#~ msgstr "Ajouter des abonnés"

#~ msgid "Create Next Activity"
#~ msgstr "Créer une activité "

#~ msgid "Create a new Record"
#~ msgstr "Créer un nouvel enregistrement"

#~ msgid "Execute Python Code"
#~ msgstr "Exécuter le code Python"

#~ msgid "Execute several actions"
#~ msgstr "Exécuter plusieurs actions"

#~ msgid "Send Email"
#~ msgstr "Envoyer par courriel"

#~ msgid "Update the Record"
#~ msgstr "Mettre à jour l'enregistrement"

#~ msgid "Line Number"
#~ msgstr "Numéro de ligne"
#. module: server_action_navigate
#: model:ir.model.fields,field_description:server_action_navigate.field_base_automation__navigate_model_id
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server__navigate_model_id
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_cron__navigate_model_id
msgid "Final Navigation Model"
msgstr "Modèle finale de navigation"
Loading

0 comments on commit 428af67

Please sign in to comment.