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

[16.0][MIG] storage_image_product #271

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
30d4cd1
[REF] rename module and add filter on attribute values
sebastienbeau Apr 17, 2018
7964cea
[IMP] small improvement for kanban, need more work as 9 refactor have…
sebastienbeau Apr 17, 2018
433d70c
[IMP] use the right image on product and template in form and kanban,…
sebastienbeau Apr 18, 2018
f2d1db9
[REF] refactor tag on category and add tag on product
sebastienbeau Apr 18, 2018
787aac5
[FIX] fix pep8 and add sale as dependency for the menu
sebastienbeau Apr 18, 2018
1bacc66
[IMP] improve case test, ad logo on product and check it
sebastienbeau Apr 19, 2018
dccbace
[IMP] change access right, configuration should be done by ERP manage…
sebastienbeau Apr 19, 2018
37b0224
[REF] refactor store medium, small url and generate thumbnail when cr…
sebastienbeau Apr 19, 2018
12560b3
[FIX] Fix an issue about model name (product.image) conflict when web…
acsonefho Apr 24, 2018
a1a2eab
Fix issue with sequence related to the table name
acsonefho Apr 25, 2018
0f1f0e5
Add alt name of thumbnail + update openerp into odoo
acsonefho Apr 26, 2018
06f9f02
Update copyright
acsonefho May 2, 2018
9bd8fe6
[REF] refactor test to make then reusable
sebastienbeau May 4, 2018
653263a
[IMP] use distant image for POS product
PierrickBrun Apr 27, 2018
72ca7de
Add warning about editing images from variant
PierrickBrun Jul 31, 2018
c6dc7aa
[10.0][UPD] Add the little cross into kanban view (for category.image…
acsonefho Feb 26, 2019
f6c73c9
[FIX] clean with pre-commit and pep 8
bguillot Apr 10, 2019
51a15d0
[12.0] storage*: Make installable False
rousseldenis Jun 7, 2019
f8b120e
[12.0][MIG] storage_image_product
rousseldenis Jun 11, 2019
6b651d4
[12.0][FIX] storage_image_product: Fix duplicate strings warnings
rousseldenis Jul 2, 2019
7e49f9b
[12.0][FIX] storage_image_product: Fix wrong class pointer
rousseldenis Jul 2, 2019
d688248
[IMP] Storage Image Product: default value of Apply On (image tag)
ThomasBinsfeld Jul 9, 2019
5bb9b87
[UPD] README.rst
OCA-git-bot Sep 15, 2019
05f2bfe
[ADD] icon.png
OCA-git-bot Sep 15, 2019
1229afa
[FIX] __manifest__: Uses github repo url as website and add OCA into …
lmignon Sep 24, 2019
33c9be4
storage_image_product 12.0.1.0.1
OCA-git-bot Sep 24, 2019
ff57045
pre-commit, black, isort
sbidoul Oct 1, 2019
7f812ba
[FIX] storage_image_relation: Fix domain into product_image_relation_…
lmignon Oct 15, 2019
3edf39f
[UPD] Update storage_image_product.pot
oca-travis Oct 18, 2019
3fa4cb8
storage_image_product 12.0.1.0.2
OCA-git-bot Oct 21, 2019
b898192
13.0: Create branche
lmignon Oct 21, 2019
0eced56
[MIG] storage_image_product: Migration to 13.0
Oct 24, 2019
93b52e7
[MIG] storage_image_product: Finalize migration to 13.0
lmignon Nov 5, 2019
45335f0
[UPD] Update storage_image_product.pot
oca-travis Nov 6, 2019
2b1daf1
[UPD] README.rst
OCA-git-bot Nov 6, 2019
0f1c294
storage_image: improve tests common
simahawk Jan 10, 2020
78d651c
pre-commit update
OCA-git-bot Mar 14, 2020
9c52c48
[13.0][ADD] Image handle widget
qgroulard Jun 2, 2020
d472e50
Remove 10.0 migration script on other branches
sbidoul Jul 2, 2020
f14eca0
storage_image_product 13.0.1.0.1
OCA-git-bot Jul 23, 2020
981450b
[FIX] fix wrong key in manisfest'
sebastienbeau Nov 20, 2020
2c81f21
[UPD] README.rst
OCA-git-bot Nov 20, 2020
f073cda
storage_image_product 13.0.1.0.2
OCA-git-bot Nov 20, 2020
de9d2a8
[UPD] Update storage_image_product.pot
oca-travis Nov 20, 2020
8c7f4c6
[UPD] README.rst
OCA-git-bot Nov 20, 2020
005f17f
storage_image_product 13.0.1.1.0
OCA-git-bot Nov 20, 2020
2ebfd2a
Improve storage_image_views by adding some fields in the form, tree
hparfr Mar 20, 2020
9bb9fc4
[UPD] Update storage_image_product.pot
oca-travis Dec 1, 2020
a0a5c8e
storage_image_product 13.0.1.2.0
OCA-git-bot Dec 2, 2020
a9c5be2
[ADD] add new V14 config
sebastienbeau Dec 6, 2020
7fc62c3
[IMP] all: black, isort, prettier
sebastienbeau Dec 6, 2020
05204d0
[MIG] batch migration of modules
sebastienbeau Dec 6, 2020
55b9254
[UPD] README.rst
OCA-git-bot Mar 1, 2021
a549ebe
storage_image_product 14.0.1.0.1
OCA-git-bot Mar 1, 2021
486c2d2
[UPD] Update storage_image_product.pot
oca-travis Jun 9, 2021
2862889
[CHG] storage: Use more permissive licence: AGPL-> LGPL
etobella Mar 10, 2021
1997241
[UPD] README.rst
OCA-git-bot Aug 2, 2021
3cff93c
storage_image_product 14.0.2.0.0
OCA-git-bot Aug 2, 2021
7bd4c82
storage_image_product: do not import tests common
simahawk Apr 22, 2021
12a334e
storage_image_product: do not store images URLs
simahawk Apr 22, 2021
0125013
storage_image_product: fix warning on duplicated labels
simahawk Apr 22, 2021
34942db
[UPD] Update storage_image_product.pot
oca-travis Aug 3, 2021
25284fa
storage_image_product 14.0.2.1.0
OCA-git-bot Aug 3, 2021
9cb0658
[IMP] storage_image_product: Technical improvements
ivantodorovich Jul 29, 2021
45266b3
[UPD] Update storage_image_product.pot
oca-travis Aug 25, 2021
eae2004
[UPD] README.rst
OCA-git-bot Aug 25, 2021
46df849
storage_image_product 14.0.2.2.0
OCA-git-bot Aug 25, 2021
092dba2
storage_image_product: Ensure compute variant image ids
HviorForgeFlow Sep 22, 2021
fbec0bf
storage_image_product 14.0.2.2.1
OCA-git-bot Oct 6, 2021
0e389e9
[IMP] storage_image_product: add tech_name field
JordiBForgeFlow Jan 26, 2021
b8955dc
[IMP] storage_image_product: add tag_id to kanban view
JordiBForgeFlow Jan 26, 2021
978718c
[UPD] Update storage_image_product.pot
oca-travis Dec 11, 2021
7b7c415
storage_image_product 14.0.2.2.2
OCA-git-bot Dec 11, 2021
854a8ec
[14.0][IMP] storage_image_product: display attribute_value_ids using …
JordiMForgeFlow Jan 12, 2022
f6f7044
storage_image_product 14.0.2.3.0
OCA-git-bot Jan 27, 2022
52d5e2d
[IMP] add missing index
sebastienbeau Jan 27, 2022
bf05c41
storage_image_product: main image of the variant
AaronHForgeFlow Sep 1, 2021
e288486
storage_image_product 14.0.3.0.0
OCA-git-bot Feb 13, 2022
62f77e2
[IMP] add the possibility to change the logic for getting main image,…
sebastienbeau Mar 4, 2022
ebc72e4
storage_image_product: add comment on img urls
simahawk May 27, 2022
fdda096
storage_image_product 14.0.3.1.0
OCA-git-bot May 27, 2022
1c216d1
storage_image_product 14.0.3.2.0
OCA-git-bot May 27, 2022
15e2690
[UPD] Update storage_image_product.pot
oca-travis May 27, 2022
f79b17c
storage_image_product 14.0.3.3.0
OCA-git-bot May 27, 2022
d70e7b8
[IMP] storage_image_product: Limit attribute value selection accordin…
HviorForgeFlow Mar 22, 2022
a4771d9
[MIG] storage_image_product: Migration to 15.0
JasminSForgeFlow Jun 17, 2022
d5823e0
[UPD] Update storage_image_product.pot
Nov 10, 2022
5885647
[UPD] README.rst
OCA-git-bot Nov 10, 2022
b04e9fa
[IMP] s_image_product: clean image on product attr values delete
HviorForgeFlow Mar 18, 2022
44d7b6e
[FIX] storage_image_product: take available attributes from the line …
JordiMForgeFlow Feb 2, 2023
8e44ab2
[UPD] Update storage_image_product.pot
Jun 9, 2023
eafe2f7
[IMP] storage_image_product: add navigation from image tag to product…
JordiMForgeFlow Jun 22, 2022
b83c0cb
[MIG] storage_image_product
sbejaoui Aug 14, 2023
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
6 changes: 6 additions & 0 deletions setup/storage_image_product/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
93 changes: 93 additions & 0 deletions storage_image_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
=====================
Storage Image Product
=====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fstorage-lightgray.png?logo=github
:target: https://github.com/OCA/storage/tree/15.0/storage_image_product
:alt: OCA/storage
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/storage-15-0/storage-15-0-storage_image_product
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/275/15.0
:alt: Try me on Runbot

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

Attach images to products and categories

**Table of contents**

.. contents::
:local:

Usage
=====

A) Categories

Go to Sales > Configuration > Products > Product Categories.
A new field Image is available to upload or use an existing image.

B) Products

Go to Sales > Products. In variants tab, after the attributes selection, you will find the images.


For uploading and managing the images see the module storage_image.

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20storage_image_product%0Aversion:%2015.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
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* Raphaël Reverdy <[email protected]>
* Denis Roussel <[email protected]>
* Quentin Groulard <[email protected]>
* `Camptocamp <https://www.camptocamp.com>`_

* Iván Todorovich <[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/storage <https://github.com/OCA/storage/tree/15.0/storage_image_product>`_ 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 storage_image_product/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions storage_image_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2018 Akretion (http://www.akretion.com).
# @author Raphaël Reverdy <https://github.com/hparfr>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Storage Image Product",
"summary": "Link images to products and categories",
"version": "16.0.1.0.0",
"category": "Storage",
"website": "https://github.com/OCA/storage",
"author": " Akretion, Odoo Community Association (OCA)",
"license": "LGPL-3",
"development_status": "Production/Stable",
"installable": True,
"depends": ["storage_image", "product", "sale"], # only for the menu
"data": [
"security/ir.model.access.csv",
"views/product_template.xml",
"views/product_image_relation.xml",
"views/product_product.xml",
"views/product_category.xml",
"views/product_category_image_relation.xml",
"views/image_tag.xml",
"views/storage_image.xml",
],
}
242 changes: 242 additions & 0 deletions storage_image_product/i18n/storage_image_product.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * storage_image_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__image_alt_name
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__image_alt_name
msgid "Alt Image name"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__apply_on
msgid "Apply On"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__attribute_value_ids
msgid "Attributes"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__available_attribute_value_ids
msgid "Available Attributes"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_storage_image__category_relation_ids
#: model_terms:ir.ui.view,arch_db:storage_image_product.storage_image_view_form
msgid "Categories"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__category_id
#: model:ir.model.fields.selection,name:storage_image_product.selection__image_tag__apply_on__category
msgid "Category"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_category_image_relation
msgid "Category Image Relation"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__create_uid
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__create_uid
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__create_uid
msgid "Created by"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__create_date
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__create_date
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__create_date
msgid "Created on"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__display_name
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__display_name
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__display_name
msgid "Display Name"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__id
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__id
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__id
msgid "ID"
msgstr ""

#. module: storage_image_product
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_normal_form_view
msgid "If you need to edit the images, do it from the product template."
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__image_id
#: model:ir.model.fields,field_description:storage_image_product.field_product_category__image_ids
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__image_id
msgid "Image"
msgstr ""

#. module: storage_image_product
#: model:ir.actions.act_window,name:storage_image_product.act_open_image_tag_view
#: model:ir.model,name:storage_image_product.model_image_tag
#: model:ir.ui.menu,name:storage_image_product.menu_image_tag
#: model_terms:ir.ui.view,arch_db:storage_image_product.image_tag_view_search
msgid "Image Tag"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__image_ids
#: model:ir.model.fields,field_description:storage_image_product.field_product_template__image_ids
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_category_form_view
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_category_image_relation_kanban
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_image_relation_kanban
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:storage_image_product.product_template_only_form_view
msgid "Images"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation____last_update
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag____last_update
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation____last_update
msgid "Last Modified on"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__write_uid
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__write_uid
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__write_uid
msgid "Last Updated by"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__write_date
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__write_date
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__write_date
msgid "Last Updated on"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__main_image_id
#: model:ir.model.fields,field_description:storage_image_product.field_product_template__main_image_id
msgid "Main Image"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__image_medium_url
#: model:ir.model.fields,field_description:storage_image_product.field_product_template__image_medium_url
msgid "Main medium image URL"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__image_small_url
#: model:ir.model.fields,field_description:storage_image_product.field_product_template__image_small_url
msgid "Main small image URL"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__image_url
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__image_url
msgid "Medium thumb URL"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__image_name
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__name
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__image_name
msgid "Name"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_product_product
#: model:ir.model.fields.selection,name:storage_image_product.selection__image_tag__apply_on__product
msgid "Product"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_product_category
msgid "Product Category"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_product_image_relation
msgid "Product Image Relation"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_product_template
msgid "Product Template"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_product_template_attribute_line
msgid "Product Template Attribute Line"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__product_tmpl_id
msgid "Product Tmpl"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_storage_image__product_relation_ids
#: model_terms:ir.ui.view,arch_db:storage_image_product.storage_image_view_form
msgid "Products"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__sequence
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__sequence
msgid "Sequence"
msgstr ""

#. module: storage_image_product
#: model:ir.model,name:storage_image_product.model_storage_image
msgid "Storage Image"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_category_image_relation__tag_id
#: model:ir.model.fields,field_description:storage_image_product.field_product_image_relation__tag_id
msgid "Tag"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_image_tag__tech_name
msgid "Tech Name"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,help:storage_image_product.field_image_tag__tech_name
msgid "Unique name for technical purposes. Eg: server env keys."
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__variant_image_ids
msgid "Variant Images"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__variant_image_medium_url
msgid "Variant main medium image URL"
msgstr ""

#. module: storage_image_product
#: model:ir.model.fields,field_description:storage_image_product.field_product_product__variant_image_small_url
msgid "Variant main small image URL"
msgstr ""
8 changes: 8 additions & 0 deletions storage_image_product/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from . import product_image_relation
from . import product_template
from . import product_template_attribute_line
from . import product_product
from . import product_category
from . import category_image_relation
from . import image_tag
from . import storage_image
Loading
Loading