Skip to content

Commit a034809

Browse files
committed
[ADD] image_tag_environment: make server_environment an optional dependency
1 parent 79ed304 commit a034809

20 files changed

Lines changed: 861 additions & 7 deletions

File tree

image_tag/README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
=========
62
Image Tag
73
=========
@@ -17,7 +13,7 @@ Image Tag
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github
@@ -70,7 +66,7 @@ Authors
7066
Contributors
7167
------------
7268

73-
- Laurent Mignon <laurent.mignon@acsone.eu>
69+
- Laurent Mignon <laurent.mignon@acsone.eu>
7470

7571
Maintainers
7672
-----------

image_tag/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Image Tag",
66
"summary": """
77
Image tag model""",
8-
"version": "17.0.1.0.0",
8+
"version": "17.0.1.0.1",
99
"license": "AGPL-3",
1010
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/storage",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2026 Camptocamp SA
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
3+
4+
from openupgradelib import openupgrade
5+
6+
7+
@openupgrade.migrate()
8+
def migrate(env, version):
9+
module = env["ir.module.module"].search(
10+
[("name", "=", "image_tag_environment"), ("state", "=", "uninstalled")]
11+
)
12+
if module:
13+
module.button_install()

image_tag_environment/README.rst

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
==============================
2+
Image Tag - Server Environment
3+
==============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:05203837238360e0c011f8ed825bbf70e20f56a5157f18585a37353e9a148a86
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github
20+
:target: https://github.com/OCA/storage/tree/17.0/image_tag_environment
21+
:alt: OCA/storage
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-image_tag_environment
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
Glue module to make Server Environment features available for the Image
32+
Tag addon.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Usage
40+
=====
41+
42+
Specify technical name during the creation of an image tag.
43+
44+
Bug Tracker
45+
===========
46+
47+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/storage/issues>`_.
48+
In case of trouble, please check there if your issue has already been reported.
49+
If you spotted it first, help us to smash it by providing a detailed and welcomed
50+
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20image_tag_environment%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
51+
52+
Do not contact contributors directly about support or help with technical issues.
53+
54+
Credits
55+
=======
56+
57+
Authors
58+
-------
59+
60+
* ACSONE SA/NV
61+
* Akretion
62+
63+
Contributors
64+
------------
65+
66+
- Laurent Mignon <laurent.mignon@acsone.eu>
67+
- Maksym Yankin <maksym.yankin@camptocamp.com>
68+
69+
Maintainers
70+
-----------
71+
72+
This module is maintained by the OCA.
73+
74+
.. image:: https://odoo-community.org/logo.png
75+
:alt: Odoo Community Association
76+
:target: https://odoo-community.org
77+
78+
OCA, or the Odoo Community Association, is a nonprofit organization whose
79+
mission is to support the collaborative development of Odoo features and
80+
promote its widespread use.
81+
82+
This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/17.0/image_tag_environment>`_ project on GitHub.
83+
84+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

image_tag_environment/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2023 ACSONE SA/NV
2+
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
3+
4+
{
5+
"name": "Image Tag - Server Environment",
6+
"summary": "Server environment features for the Image Tag model",
7+
"version": "17.0.1.0.0",
8+
"license": "AGPL-3",
9+
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
10+
"website": "https://github.com/OCA/storage",
11+
"depends": ["image_tag", "server_environment"],
12+
"data": [
13+
"views/image_tag.xml",
14+
],
15+
"auto_install": True,
16+
}

image_tag_environment/i18n/es.po

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * image_tag
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-10-29 00:15+0000\n"
10+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: image_tag
20+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__apply_on
21+
msgid "Apply On"
22+
msgstr "Aplicar En"
23+
24+
#. module: image_tag
25+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__create_uid
26+
msgid "Created by"
27+
msgstr "Creado por"
28+
29+
#. module: image_tag
30+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__create_date
31+
msgid "Created on"
32+
msgstr "Creado el"
33+
34+
#. module: image_tag
35+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__display_name
36+
msgid "Display Name"
37+
msgstr "Mostrar Nombre"
38+
39+
#. module: image_tag
40+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__id
41+
msgid "ID"
42+
msgstr "ID (identificación)"
43+
44+
#. module: image_tag
45+
#: model:ir.actions.act_window,name:image_tag.act_open_image_tag_view
46+
#: model:ir.model,name:image_tag.model_image_tag
47+
#: model_terms:ir.ui.view,arch_db:image_tag.image_tag_view_search
48+
msgid "Image Tag"
49+
msgstr "Etiqueta de Imagen"
50+
51+
#. module: image_tag
52+
#: model:res.groups,name:image_tag.group_image_tag_manager
53+
msgid "Image Tag Manager"
54+
msgstr "Gestor de Etiquetas de Imagen"
55+
56+
#. module: image_tag
57+
#: model:ir.model.fields,field_description:image_tag.field_image_tag____last_update
58+
msgid "Last Modified on"
59+
msgstr "Última Modifiación el"
60+
61+
#. module: image_tag
62+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__write_uid
63+
msgid "Last Updated by"
64+
msgstr "Actualizado por Última vez por"
65+
66+
#. module: image_tag
67+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__write_date
68+
msgid "Last Updated on"
69+
msgstr "Última Actualización el"
70+
71+
#. module: image_tag
72+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__name
73+
msgid "Name"
74+
msgstr "Nombre"
75+
76+
#. module: image_tag
77+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__server_env_defaults
78+
msgid "Server Env Defaults"
79+
msgstr ""
80+
81+
#. module: image_tag
82+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__tech_name
83+
msgid "Tech Name"
84+
msgstr "Nombre Técnico"
85+
86+
#. module: image_tag
87+
#: model:ir.model.fields,help:image_tag.field_image_tag__tech_name
88+
msgid "Unique name for technical purposes. Eg: server env keys."
89+
msgstr ""
90+
"Nombre único con fines técnicos. Por ejemplo: claves de ent del servidor."
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * image_tag
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: image_tag
17+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__apply_on
18+
msgid "Apply On"
19+
msgstr ""
20+
21+
#. module: image_tag
22+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__create_uid
23+
msgid "Created by"
24+
msgstr ""
25+
26+
#. module: image_tag
27+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__create_date
28+
msgid "Created on"
29+
msgstr ""
30+
31+
#. module: image_tag
32+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__display_name
33+
msgid "Display Name"
34+
msgstr ""
35+
36+
#. module: image_tag
37+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__id
38+
msgid "ID"
39+
msgstr ""
40+
41+
#. module: image_tag
42+
#: model:ir.actions.act_window,name:image_tag.act_open_image_tag_view
43+
#: model:ir.model,name:image_tag.model_image_tag
44+
#: model_terms:ir.ui.view,arch_db:image_tag.image_tag_view_search
45+
msgid "Image Tag"
46+
msgstr ""
47+
48+
#. module: image_tag
49+
#: model:res.groups,name:image_tag.group_image_tag_manager
50+
msgid "Image Tag Manager"
51+
msgstr ""
52+
53+
#. module: image_tag
54+
#: model:ir.model.fields,field_description:image_tag.field_image_tag____last_update
55+
msgid "Last Modified on"
56+
msgstr ""
57+
58+
#. module: image_tag
59+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__write_uid
60+
msgid "Last Updated by"
61+
msgstr ""
62+
63+
#. module: image_tag
64+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__write_date
65+
msgid "Last Updated on"
66+
msgstr ""
67+
68+
#. module: image_tag
69+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__name
70+
msgid "Name"
71+
msgstr ""
72+
73+
#. module: image_tag
74+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__server_env_defaults
75+
msgid "Server Env Defaults"
76+
msgstr ""
77+
78+
#. module: image_tag
79+
#: model:ir.model.fields,field_description:image_tag.field_image_tag__tech_name
80+
msgid "Tech Name"
81+
msgstr ""
82+
83+
#. module: image_tag
84+
#: model:ir.model.fields,help:image_tag.field_image_tag__tech_name
85+
msgid "Unique name for technical purposes. Eg: server env keys."
86+
msgstr ""

0 commit comments

Comments
 (0)