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

[WIP] [17.0] [MIG] web ir actions act multi migration script #2997

Draft
wants to merge 27 commits into
base: 17.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7c127d8
Add module web_ir_actions_act_multi
pnajman-modoolar Feb 23, 2018
38fcbb2
[MIG] web_ir_actions_act_multi: Migration to 12.0
alexey-pelykh Dec 9, 2018
0a86d30
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
666e6ae
[IMP] web_ir_actions_act_multi: black, isort
Feb 25, 2020
c42b98c
[MIG] web_ir_actions_act_multi: Migration to 13.0
Feb 25, 2020
5befa94
[UPD] Update web_ir_actions_act_multi.pot
oca-travis Apr 12, 2020
12161b8
[UPD] README.rst
OCA-git-bot Apr 12, 2020
ec1baf3
[UPD] README.rst
OCA-git-bot Jul 13, 2020
20d766e
[UPD] README.rst
OCA-git-bot Jul 13, 2020
2edfe3b
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
40912a3
[UPD] README.rst
OCA-git-bot Nov 10, 2020
f3e9d0d
Added translation using Weblate (Spanish)
claudiagn Feb 17, 2021
ae9121d
[FIX] apply and respect pre-commit hooks
Jul 13, 2021
55d3d9b
[MIG] web_ir_actions_act_multi: Migration to 15.0
matiasperalta1 Dec 23, 2021
05a6c13
[UPD] Update web_ir_actions_act_multi.pot
Jan 21, 2022
5fcc5a2
[UPD] README.rst
OCA-git-bot Jan 21, 2022
3f9f39c
[MIG] web_ir_actions_act_multi: Migration to 16.0
matiasperalta1 Oct 28, 2022
6be620e
[UPD] Update web_ir_actions_act_multi.pot
Aug 30, 2023
e94d9d7
[UPD] README.rst
OCA-git-bot Aug 30, 2023
dc28906
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d792b16
Update translation files
weblate Sep 3, 2023
f43348f
Translated using Weblate (Spanish)
Ivorra78 Sep 15, 2023
e814017
Added translation using Weblate (Italian)
mymage Nov 27, 2023
75e472f
Translated using Weblate (Italian)
mymage Nov 27, 2023
5201109
[IMP] web_ir_actions_act_multi: pre-commit execution
augusto-weiss Dec 27, 2023
088ddad
[MIG] web_ir_actions_act_multi: Migration to 17.0
augusto-weiss Dec 27, 2023
5768aba
[IMP] new table and migration script
augusto-weiss Nov 21, 2024
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
107 changes: 107 additions & 0 deletions web_ir_actions_act_multi/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
=================
Web Actions Multi
=================

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/17.0/web_ir_actions_act_multi
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_ir_actions_act_multi
: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/web&target_branch=17.0
:alt: Try me on Runboat

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

This module provides a way to trigger more than one action on
ActionManager

**Table of contents**

.. contents::
:local:

Usage
=====

To use this functionality you need to return following action with list
of actions to execute:

.. code:: python

def foo(self):
self.ensure_one()
return {
'type': 'ir.actions.act_multi',
'actions': [
{'type': 'ir.actions.act_window_close'},
{'type': 'ir.actions.client', 'tag': 'reload'},
]
}

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

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

* Modoolar
* CorporateHub

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

- Petar Najman <[email protected]>
- Mladen Meseldzija <[email protected]>
- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <[email protected]>

- Manuel Calero - Tecnativa
- `Adhoc <https://adhoc.com.ar/>`__

- Matias Peralta <[email protected]>
- Juan Rivero <[email protected]>
- Augusto Weiss <[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/web <https://github.com/OCA/web/tree/17.0/web_ir_actions_act_multi>`_ 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 web_ir_actions_act_multi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions web_ir_actions_act_multi/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2017 - 2018 Modoolar <[email protected]>
# Copyright 2018 Brainbean Apps
# Copyright 2020 Manuel Calero
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).

{
"name": "Web Actions Multi",
"summary": "Enables triggering of more than one action on ActionManager",
"category": "Web",
"version": "17.0.2.0.0",
"license": "LGPL-3",
"author": "Modoolar, " "CorporateHub, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"depends": ["web"],
"data": ["security/ir.model.access.csv"],
"assets": {
"web.assets_backend": [
"web_ir_actions_act_multi/static/src/**/*.esm.js",
],
},
"installable": True,
}
109 changes: 109 additions & 0 deletions web_ir_actions_act_multi/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-20 17:50+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__help
msgid "Action Description"
msgstr "Descripción de la acción"

#. module: web_ir_actions_act_multi
#: model:ir.model,name:web_ir_actions_act_multi.model_ir_actions_act_multi
msgid "Action Mulit"
msgstr "Acción múltiple"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__name
msgid "Action Name"
msgstr "Nombre Acción"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__type
msgid "Action Type"
msgstr "Tipo de Acción"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_model_id
msgid "Binding Model"
msgstr "Modelo de encuadernación"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_type
msgid "Binding Type"
msgstr "Tipo de encuadernación"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_view_types
msgid "Binding View Types"
msgstr "Tipos de vistas vinculantes"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__create_date
msgid "Created on"
msgstr "Creado el"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__xml_id
msgid "External ID"
msgstr "ID Externa"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__id
msgid "ID"
msgstr "ID (identificación)"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,help:web_ir_actions_act_multi.field_ir_actions_act_multi__help
msgid ""
"Optional help text for the users with a description of the target view, such "
"as its usage and purpose."
msgstr ""
"Texto de ayuda opcional para los usuarios con una descripción de la vista de "
"destino, como su uso y propósito."

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,help:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_model_id
msgid ""
"Setting a value makes this action available in the sidebar for the given "
"model."
msgstr ""
"Establecer un valor hace que esta acción esté disponible en la barra lateral "
"para el modelo dado."
110 changes: 110 additions & 0 deletions web_ir_actions_act_multi/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_multi
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 11:34+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__help
msgid "Action Description"
msgstr "Descrizione azione"

#. module: web_ir_actions_act_multi
#: model:ir.model,name:web_ir_actions_act_multi.model_ir_actions_act_multi
msgid "Action Mulit"
msgstr "Azione multi"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__name
msgid "Action Name"
msgstr "Nome azione"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__type
msgid "Action Type"
msgstr "Tipo azione"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_model_id
msgid "Binding Model"
msgstr "Modello collegamento"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_type
msgid "Binding Type"
msgstr "Tipo collegamento"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_view_types
msgid "Binding View Types"
msgstr "Tipi vista collegamento"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__create_uid
msgid "Created by"
msgstr "Creato da"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__create_date
msgid "Created on"
msgstr "Creato il"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__xml_id
msgid "External ID"
msgstr "ID esterno"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__id
msgid "ID"
msgstr "ID"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,field_description:web_ir_actions_act_multi.field_ir_actions_act_multi__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,help:web_ir_actions_act_multi.field_ir_actions_act_multi__help
msgid ""
"Optional help text for the users with a description of the target view, such"
" as its usage and purpose."
msgstr ""
"Testo di aiuto opzionale per l'utente con una descrizione della vista "
"obiettivo, come il suo utilizzo e obiettivo."

#. module: web_ir_actions_act_multi
#: model:ir.model.fields,help:web_ir_actions_act_multi.field_ir_actions_act_multi__binding_model_id
msgid ""
"Setting a value makes this action available in the sidebar for the given "
"model."
msgstr ""
"Impostare un valore rende questa azione disponibile nella barra laterale per "
"il dato modello."
Loading
Loading