Skip to content
Open
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
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exclude: |
^fs_folder_webdav/|
^fs_image/|
^fs_storage_ms_drive/|
^image_tag/|
^microsoft_drive_account/|
^storage_backend/|
^storage_backend_ftp/|
Expand Down
10 changes: 5 additions & 5 deletions image_tag/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Image Tag
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github
:target: https://github.com/OCA/storage/tree/18.0/image_tag
:target: https://github.com/OCA/storage/tree/19.0/image_tag
:alt: OCA/storage
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-image_tag
:target: https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-image_tag
: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/storage&target_branch=18.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -54,7 +54,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/storage/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/storage/issues/new?body=module:%20image_tag%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20image_tag%0Aversion:%2019.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.

Expand Down Expand Up @@ -86,6 +86,6 @@ 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/storage <https://github.com/OCA/storage/tree/18.0/image_tag>`_ project on GitHub.
This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/19.0/image_tag>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 3 additions & 3 deletions image_tag/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"name": "Image Tag",
"summary": """
Image tag model""",
"version": "18.0.1.0.0",
"version": "19.0.1.0.1",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/storage",
"depends": ["server_environment"],
"depends": ["base"],
"data": [
"security/res_groups.xml",
"security/image_tag.xml",
"views/image_tag.xml",
],
'installable': False,
"installable": True,
}
1 change: 0 additions & 1 deletion image_tag/models/image_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class ImageTag(models.Model):
_name = "image.tag"
_inherit = ["server.env.techname.mixin"]
_description = "Image Tag"

@api.model
Expand Down
4 changes: 2 additions & 2 deletions image_tag/security/res_groups.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<record model="res.groups" id="group_image_tag_manager">
<field name="name">Image Tag Manager</field>
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
name="user_ids"
eval="[Command.link(ref('base.user_root')), Command.link(ref('base.user_admin'))]"
/>
</record>
</odoo>
6 changes: 3 additions & 3 deletions image_tag/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h1>Image Tag</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:65ac121bd2bc478f653e03ef240143f74404daec8515979cab0fef01fb5aa916
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/storage/tree/18.0/image_tag"><img alt="OCA/storage" src="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-image_tag"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/storage&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/storage/tree/19.0/image_tag"><img alt="OCA/storage" src="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-image_tag"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/storage&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This addon provide only one basic model used to define image’s tags.
These tags are used by other addons to enrich the image’s information of
an image linked to an other model. The fs_product_multi_image addon use
Expand Down Expand Up @@ -402,7 +402,7 @@ <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/storage/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20image_tag%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20image_tag%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -430,7 +430,7 @@ <h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/18.0/image_tag">OCA/storage</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/19.0/image_tag">OCA/storage</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
13 changes: 13 additions & 0 deletions image_tag/upgrades/19.0.1.0.1/post-update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2026 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
module = env["ir.module.module"].search(
[("name", "=", "image_tag_environment"), ("state", "=", "uninstalled")]
)
if module:
module.button_install()
2 changes: 0 additions & 2 deletions image_tag/views/image_tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<field name="arch" type="xml">
<list editable="bottom">
<field name="name" />
<field name="tech_name" />
<field name="apply_on" />
</list>
</field>
Expand All @@ -15,7 +14,6 @@
<field name="arch" type="xml">
<search string="Image Tag">
<field name="name" />
<field name="tech_name" />
</search>
</field>
</record>
Expand Down
88 changes: 88 additions & 0 deletions image_tag_environment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============================
Image Tag - Server Environment
==============================

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

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

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

Glue module to make Server Environment features available for the Image
Tag addon.

**Table of contents**

.. contents::
:local:

Usage
=====

Specify technical name during the creation of an image tag.

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

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

* ACSONE SA/NV
* Akretion

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

- Laurent Mignon <laurent.mignon@acsone.eu>
- Maksym Yankin <maksym.yankin@camptocamp.com>

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/storage <https://github.com/OCA/storage/tree/19.0/image_tag_environment>`_ 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 image_tag_environment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions image_tag_environment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 ACSONE SA/NV
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Image Tag - Server Environment",
"summary": "Server environment features for the Image Tag model",
"version": "19.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/storage",
"depends": ["image_tag", "server_environment"],
"data": [
"views/image_tag.xml",
],
"auto_install": True,
}
90 changes: 90 additions & 0 deletions image_tag_environment/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * image_tag
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-29 00:15+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag__apply_on
msgid "Apply On"
msgstr "Aplicar En"

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

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

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

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

#. module: image_tag
#: model:ir.actions.act_window,name:image_tag.act_open_image_tag_view
#: model:ir.model,name:image_tag.model_image_tag
#: model_terms:ir.ui.view,arch_db:image_tag.image_tag_view_search
msgid "Image Tag"
msgstr "Etiqueta de Imagen"

#. module: image_tag
#: model:res.groups,name:image_tag.group_image_tag_manager
msgid "Image Tag Manager"
msgstr "Gestor de Etiquetas de Imagen"

#. module: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag____last_update
msgid "Last Modified on"
msgstr "Última Modifiación el"

#. module: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag__write_uid
msgid "Last Updated by"
msgstr "Actualizado por Última vez por"

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

#. module: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag__name
msgid "Name"
msgstr "Nombre"

#. module: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag__server_env_defaults
msgid "Server Env Defaults"
msgstr ""

#. module: image_tag
#: model:ir.model.fields,field_description:image_tag.field_image_tag__tech_name
msgid "Tech Name"
msgstr "Nombre Técnico"

#. module: image_tag
#: model:ir.model.fields,help:image_tag.field_image_tag__tech_name
msgid "Unique name for technical purposes. Eg: server env keys."
msgstr ""
"Nombre único con fines técnicos. Por ejemplo: claves de ent del servidor."
Loading
Loading