Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e314f05
[13.0][ADD] storage_import_image_advanced: Drop shopinvader dependenc…
HviorForgeFlow Aug 25, 2021
f18b5b9
Adapt tests
HviorForgeFlow Aug 26, 2021
d0a4067
[IMP] storage_import_image_advanced: black, isort, prettier
HviorForgeFlow Aug 26, 2021
f5cda8c
[storage_import_image_advanced][imp] make the choice of the product i…
JordiBForgeFlow Aug 26, 2021
dafe8c6
[IMP] storage_import_image_advanced: action buttons should be in header
ivantodorovich Aug 11, 2021
d8df163
[FIX] storage_import_image_advanced: Missing filename field
ivantodorovich Aug 11, 2021
8ee7837
[IMP] storage_image_import_advanced: Allow to configure the csv colum…
ivantodorovich Aug 11, 2021
0b69f69
[IMP] storage_import_image_advanced: black, isort, prettier
HviorForgeFlow Aug 27, 2021
870e3c4
[FIX] Recompute thumbs explicitly
HviorForgeFlow Sep 14, 2021
5f4fe39
[FIX] Zip Filename display
HviorForgeFlow Sep 16, 2021
eb70cff
storage_import_image_advanced 13.0.1.0.1
OCA-git-bot Oct 9, 2021
973621e
[FIX] tmpl report_html reference
HviorForgeFlow Oct 11, 2021
5b0dcb9
storage_import_image_advanced 13.0.1.0.2
OCA-git-bot Oct 14, 2021
478c7ea
[MIG][14.0] storage_import_image_advanced
i-vyshnevska Nov 30, 2021
d05f017
[IMP] storage_import_image_advanced
i-vyshnevska Nov 30, 2021
7d23b3d
storage_import_image_advanced 14.0.1.0.1
OCA-git-bot Dec 13, 2021
b472a1a
storage_import_image_advanced: fix report render
simahawk Dec 23, 2021
1fe873a
storage_import_image_advanced 14.0.1.0.2
OCA-git-bot Dec 23, 2021
aa9bff4
[IMP] storage_import_image_advanced: Add hook
HviorForgeFlow Jun 21, 2022
3145b8d
[IMP] storage_import_image_advanced: black, isort, prettier
JasminSForgeFlow Jun 17, 2022
ab30150
[MIG] storage_import_image_advanced: Migration to 15.0
JasminSForgeFlow Jun 17, 2022
5a9a36d
[IMP] storage_import_image_advanced: : pre-commit stuff
ChrisOForgeFlow Apr 15, 2024
7c6c323
[16.0][MIG-REF] fs_import_image_advanced
ChrisOForgeFlow Apr 16, 2024
e53d44a
[ADD] fs_import_image_advanced_thumbnail
ChrisOForgeFlow Apr 22, 2024
4a1cfbe
[IMP] fs_import_image_advanced: pre-commit auto fixes
xaviedoanhduy Apr 17, 2025
5c72ff6
[IMP] fs_import_image_advanced_thumbnail: pre-commit auto fixes
xaviedoanhduy Apr 17, 2025
a527d95
[MIG] fs_import_image_advanced: Migration to 18.0
xaviedoanhduy Apr 18, 2025
9024056
[MIG] fs_import_image_advanced_thumbnail: Migration to 18.0
xaviedoanhduy Apr 18, 2025
688ef04
[DONT MERGE] test-requirements.txt
xaviedoanhduy Apr 18, 2025
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
87 changes: 87 additions & 0 deletions fs_import_image_advanced/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
============================
Import Storage product image
============================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-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/18.0/fs_import_image_advanced
: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-fs_import_image_advanced
: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
:alt: Try me on Runboat

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

Import product image from a CVS file from URLs or ZIP file', Idea based
on an idea of the 'image_product_import' from Cybrosys Techno Solutions

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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:%20fs_import_image_advanced%0Aversion:%2018.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
* Camptocamp

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

- Sylvain Calador <sylvain.calador@akretion.com>
- Saritha <saritha@cybrosys.in>
- Simone Orsi <simone.orsi@camptoamp.com>
- Héctor Villarreal <hector.villarreal@forgeflow.com>
- Do Anh Duy <duyda@trobz.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/18.0/fs_import_image_advanced>`_ 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 fs_import_image_advanced/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
32 changes: 32 additions & 0 deletions fs_import_image_advanced/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2018 Akretion (http://www.akretion.com).
# Author: Sylvain Calador (<https://www.akretion.com>)
# Author: Saritha Sahadevan (<https://www.cybrosys.com>)
# Copyright 2020 Camptocamp SA (http://www.camptocamp.com)
# @author Simone Orsi <simone.orsi@camptocamp.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Import Storage product image",
"version": "18.0.1.0.0",
"summary": "Import product images using CSV",
"author": "Akretion, Camptocamp, Odoo Community Association (OCA)",
"company": "Akretion",
"maintainer": "Akretion",
"website": "https://github.com/OCA/storage",
"category": "Product",
"development_status": "Alpha",
"depends": ["fs_product_multi_image", "sale", "queue_job"],
"external_dependencies": {
"python": ["python-magic", "validators"],
"deb": ["libmagic1"],
},
"data": [
"data/ir_cron.xml",
"data/queue_job_channel_data.xml",
"data/queue_job_function_data.xml",
"security/ir_model_access.xml",
"views/import_product_image_view.xml",
"views/report_html.xml",
],
"license": "AGPL-3",
"installable": True,
}
13 changes: 13 additions & 0 deletions fs_import_image_advanced/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record forcecreate="True" id="ir_cron_import_images_cleanup" model="ir.cron">
<field name="name">Storage image imports cleanup</field>
<field name="active" eval="True" />
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="model_id" ref="model_storage_import_product_image" />
<field name="state">code</field>
<field name="code">model._cron_cleanup_obsolete()</field>
</record>
</odoo>
6 changes: 6 additions & 0 deletions fs_import_image_advanced/data/queue_job_channel_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<odoo noupdate="1">
<record model="queue.job.channel" id="channel_storage_import_image">
<field name="name">import_image</field>
<field name="parent_id" ref="queue_job.channel_root" />
</record>
</odoo>
10 changes: 10 additions & 0 deletions fs_import_image_advanced/data/queue_job_function_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<odoo noupdate="1">
<record
id="job_function_storage_import_product_image_do_import"
model="queue.job.function"
>
<field name="model_id" ref="model_storage_import_product_image" />
<field name="method">do_import</field>
<field name="channel_id" ref="channel_storage_import_image" />
</record>
</odoo>
Loading
Loading