mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[FIX] server_action_navigate: fix default order in ir_action_server_navigate_line
This commit is contained in:
committed by
Ashish Hirpara
parent
0ab8c991c5
commit
56ecb1e3df
@@ -14,13 +14,13 @@ Server Actions - Navigate
|
|||||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
:alt: License: AGPL-3
|
:alt: License: AGPL-3
|
||||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
|
||||||
:target: https://github.com/OCA/server-backend/tree/12.0/server_action_navigate
|
:target: https://github.com/OCA/server-backend/tree/13.0/server_action_navigate
|
||||||
:alt: OCA/server-backend
|
:alt: OCA/server-backend
|
||||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||||
:target: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-server_action_navigate
|
:target: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-server_action_navigate
|
||||||
:alt: Translate me on Weblate
|
:alt: Translate me on Weblate
|
||||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||||
:target: https://runbot.odoo-community.org/runbot/253/12.0
|
:target: https://runbot.odoo-community.org/runbot/253/13.0
|
||||||
:alt: Try me on Runbot
|
:alt: Try me on Runbot
|
||||||
|
|
||||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||||
@@ -43,7 +43,7 @@ Configuration
|
|||||||
|
|
||||||
* Create a new item
|
* Create a new item
|
||||||
|
|
||||||
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/server_action_navigate/static/description/ir_actions_server_form.png
|
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/ir_actions_server_form.png
|
||||||
|
|
||||||
* Set a name that will be used for the Contextual Action
|
* Set a name that will be used for the Contextual Action
|
||||||
|
|
||||||
@@ -74,12 +74,12 @@ Usage
|
|||||||
|
|
||||||
* click on 'Action' Button
|
* click on 'Action' Button
|
||||||
|
|
||||||
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/server_action_navigate/static/description/sale_order_tree.png
|
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/sale_order_tree.png
|
||||||
|
|
||||||
|
|
||||||
* then click on the name of the configured Action and see the results
|
* then click on the name of the configured Action and see the results
|
||||||
|
|
||||||
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/server_action_navigate/static/description/product_product_tree.png
|
.. figure:: https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/product_product_tree.png
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
@@ -87,7 +87,7 @@ Bug Tracker
|
|||||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
|
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.
|
In case of trouble, please check there if your issue has already been reported.
|
||||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||||
`feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20server_action_navigate%0Aversion:%2012.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:%2013.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.
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|
||||||
@@ -125,6 +125,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|||||||
|
|
||||||
|maintainer-legalsylvain|
|
|maintainer-legalsylvain|
|
||||||
|
|
||||||
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/12.0/server_action_navigate>`_ project on GitHub.
|
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/13.0/server_action_navigate>`_ project on GitHub.
|
||||||
|
|
||||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 13.0\n"
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
@@ -24,21 +24,6 @@ msgstr ""
|
|||||||
msgid "Action To Do"
|
msgid "Action To Do"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Add Followers"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Create Next Activity"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Create a new Record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__create_uid
|
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__create_uid
|
||||||
msgid "Created by"
|
msgid "Created by"
|
||||||
@@ -52,7 +37,9 @@ msgstr ""
|
|||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: 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_actions_server__navigate_action_id
|
||||||
#: model:ir.model.fields,help:server_action_navigate.field_ir_cron__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."
|
msgid ""
|
||||||
|
"Define here the action used when the navigation will be executed if empty, a"
|
||||||
|
" generic action will be used."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
@@ -65,16 +52,6 @@ msgstr ""
|
|||||||
msgid "Display Name"
|
msgid "Display Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Execute Python Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Execute several actions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__field_id
|
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__field_id
|
||||||
msgid "Field"
|
msgid "Field"
|
||||||
@@ -123,7 +100,7 @@ msgid "Model"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: selection:ir.actions.server,state:0
|
#: model:ir.model.fields.selection,name:server_action_navigate.selection__ir_actions_server__state__navigate
|
||||||
msgid "Navigate"
|
msgid "Navigate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -149,11 +126,6 @@ msgstr ""
|
|||||||
msgid "See tags of Partners"
|
msgid "See tags of Partners"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Send Email"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__sequence
|
#: model:ir.model.fields,field_description:server_action_navigate.field_ir_actions_server_navigate_line__sequence
|
||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
@@ -170,16 +142,18 @@ msgid "Server Actions Navigation Lines"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: code:addons/server_action_navigate/models/ir_actions_server.py:62
|
#: code:addons/server_action_navigate/models/ir_actions_server.py:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The Action Server %s is not correctly set\n"
|
msgid ""
|
||||||
|
"The Action Server %s is not correctly set\n"
|
||||||
" : No fields defined"
|
" : No fields defined"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
#. module: server_action_navigate
|
||||||
#: model:ir.model.fields,help:server_action_navigate.field_ir_actions_server__state
|
#: model:ir.model.fields,help:server_action_navigate.field_ir_actions_server__state
|
||||||
#: model:ir.model.fields,help:server_action_navigate.field_ir_cron__state
|
#: model:ir.model.fields,help:server_action_navigate.field_ir_cron__state
|
||||||
msgid "Type of server action. The following values are available:\n"
|
msgid ""
|
||||||
|
"Type of server action. The following values are available:\n"
|
||||||
"- 'Execute Python Code': a block of python code that will be executed\n"
|
"- 'Execute Python Code': a block of python code that will be executed\n"
|
||||||
"- 'Create': create a new record with new values\n"
|
"- 'Create': create a new record with new values\n"
|
||||||
"- 'Update a Record': update the values of a record\n"
|
"- 'Update a Record': update the values of a record\n"
|
||||||
@@ -188,9 +162,3 @@ msgid "Type of server action. The following values are available:\n"
|
|||||||
"- 'Add Followers': add followers to a record (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)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: server_action_navigate
|
|
||||||
#: selection:ir.actions.server,state:0
|
|
||||||
msgid "Update the Record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ from odoo import api, fields, models
|
|||||||
class IrActionsServerNavigateLine(models.Model):
|
class IrActionsServerNavigateLine(models.Model):
|
||||||
_name = "ir.actions.server.navigate.line"
|
_name = "ir.actions.server.navigate.line"
|
||||||
_description = "Server Actions Navigation Lines"
|
_description = "Server Actions Navigation Lines"
|
||||||
_order = "sequence"
|
_order = "sequence, id"
|
||||||
|
|
||||||
sequence = fields.Integer(string="Sequence", default=1)
|
sequence = fields.Integer(string="Sequence")
|
||||||
|
|
||||||
field_model = fields.Char(string="Model", related="field_id.relation", store=True)
|
field_model = fields.Char(string="Model", related="field_id.relation", store=True)
|
||||||
|
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ all the products that have been sold for a given selection of sale orders.</p>
|
|||||||
<li>Create a new item</li>
|
<li>Create a new item</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="figure">
|
<div class="figure">
|
||||||
<img alt="https://raw.githubusercontent.com/OCA/server-backend/12.0/server_action_navigate/static/description/ir_actions_server_form.png" src="https://raw.githubusercontent.com/OCA/server-backend/12.0/server_action_navigate/static/description/ir_actions_server_form.png" />
|
<img alt="https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/ir_actions_server_form.png" src="https://raw.githubusercontent.com/OCA/server-backend/13.0/server_action_navigate/static/description/ir_actions_server_form.png" />
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>Set a name that will be used for the Contextual Action</li>
|
<li>Set a name that will be used for the Contextual Action</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user