Skip to content

Commit 79ed304

Browse files
committed
[REF] image_tag: server_environment should not be a required dependency
1 parent e1413c2 commit 79ed304

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

image_tag/README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
=========
26
Image Tag
37
=========
@@ -13,7 +17,7 @@ Image Tag
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github

image_tag/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"license": "AGPL-3",
1010
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/storage",
12-
"depends": ["server_environment"],
12+
"depends": ["base"],
1313
"data": [
1414
"security/res_groups.xml",
1515
"security/image_tag.xml",

image_tag/models/image_tag.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
class ImageTag(models.Model):
1010
_name = "image.tag"
11-
_inherit = ["server.env.techname.mixin"]
1211
_description = "Image Tag"
1312

1413
@api.model

image_tag/static/description/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -417,7 +418,9 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
417418
<div class="section" id="maintainers">
418419
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
419420
<p>This module is maintained by the OCA.</p>
420-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
421+
<a class="reference external image-reference" href="https://odoo-community.org">
422+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
423+
</a>
421424
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
422425
mission is to support the collaborative development of Odoo features and
423426
promote its widespread use.</p>

image_tag/views/image_tag.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<field name="arch" type="xml">
66
<tree editable="bottom">
77
<field name="name" />
8-
<field name="tech_name" />
98
<field name="apply_on" />
109
</tree>
1110
</field>
@@ -15,7 +14,6 @@
1514
<field name="arch" type="xml">
1615
<search string="Image Tag">
1716
<field name="name" />
18-
<field name="tech_name" />
1917
</search>
2018
</field>
2119
</record>

0 commit comments

Comments
 (0)