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

[14.0][MIG] apps_download: Migration to 14.0 #85

Merged
merged 15 commits into from
Aug 24, 2021
Merged
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
88 changes: 88 additions & 0 deletions apps_download/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
=============================
Product Download for Appstore
=============================

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

.. |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/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%2Fapps--store-lightgray.png?logo=github
:target: https://github.com/OCA/apps-store/tree/14.0/apps_download
:alt: OCA/apps-store
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/apps-store-14-0/apps-store-14-0-apps_download
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/249/14.0
:alt: Try me on Runbot

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

Providing facility for the maintain dependency of Module at level of product
and creating Zip file with all dependent modules.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

* Creation of an error queue if the exception occurs while generating zip file of the product

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

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

* BizzAppDev
* AgentERP
* Elico Corp

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

* Ruchir Shukla <ruchir@bizzappdev.com>
* Georg Nottere <georg.notter@agenterp.com>
* Eric Caudal <eric.caudal@elico-corp.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Víctor M.M. Torres
* Alexandre D. Díaz
* Ernesto Tejeda

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/apps-store <https://github.com/OCA/apps-store/tree/14.0/apps_download>`_ 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 apps_download/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions apps_download/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2017-2019 BizzAppDev
# Copyright 2017-2019 AgentERP
# Copyright 2017-2019 Elico Corp
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Product Download for Appstore",
"version": "14.0.1.0.0",
"author": "BizzAppDev, AgentERP, Elico Corp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/apps-store",
"license": "AGPL-3",
"category": "Sales",
"depends": [
"base",
"website_sale_digital",
"github_connector_odoo",
"apps_product_creator",
],
"summary": "Product Download for Appstore",
"data": ["views/product_template_view.xml", "data/cron_scheduler.xml"],
"installable": True,
"auto_install": False,
"application": False,
}
20 changes: 20 additions & 0 deletions apps_download/data/cron_scheduler.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2017-Today BizzAppDev - Ruchir Shukla <ruchir@bizzappdev.com>
Copyright 2017-Today AgentERP - Georg Notter <georg.notter@agenterp.com>
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="ir_cron_scheduler_generate_zip" model="ir.cron">
<field name="name">Generate ZIP files for all products</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="active" eval="False" />
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_product_product" />
<field name="state">code</field>
<field name="code">model.generate_zip_file_batch()</field>
</record>
</odoo>
94 changes: 94 additions & 0 deletions apps_download/i18n/apps_download.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * apps_download
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.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: apps_download
#: model:product.template.attribute.value,name:apps_download.product_template_100_attribute_odoo_version_value_100
msgid "10.0"
msgstr ""

#. module: apps_download
#: model:product.template.attribute.value,name:apps_download.product_template_100_attribute_odoo_version_value_110
msgid "11.0"
msgstr ""

#. module: apps_download
#: model:product.public.category,name:apps_download.website_category1
msgid "Category1"
msgstr ""

#. module: apps_download
#: code:addons/apps_download/models/product_product.py:0
#, python-format
msgid "Error: You cannot create recursive dependency."
msgstr ""

#. module: apps_download
#: model:ir.actions.server,name:apps_download.ir_cron_scheduler_generate_zip_ir_actions_server
#: model:ir.cron,cron_name:apps_download.ir_cron_scheduler_generate_zip
#: model:ir.cron,name:apps_download.ir_cron_scheduler_generate_zip
msgid "Generate ZIP files for all products"
msgstr ""

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
msgid "Get all Dependencies"
msgstr ""

#. module: apps_download
#: model:ir.model.fields,field_description:apps_download.field_product_product__module_path
msgid "Local Path"
msgstr ""

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
msgid "Module Dependencies"
msgstr ""

#. module: apps_download
#: code:addons/apps_download/models/product_product.py:0
#, python-format
msgid ""
"Module code not downloaded yet. Please initialize the code in the associated"
" Github Repository Branch by downloading the source code."
msgstr ""

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
msgid "Modules Dependencies"
msgstr ""

#. module: apps_download
#: model:product.product,name:apps_download.product_product_100
#: model:product.product,name:apps_download.product_product_100b
#: model:product.template,name:apps_download.product_product_100b_product_template
msgid "Odoo Module 1"
msgstr ""

#. module: apps_download
#: model:product.attribute,name:apps_download.attribute_odoo_version
msgid "Odoo Version"
msgstr ""

#. module: apps_download
#: model:ir.model,name:apps_download.model_product_product
msgid "Product"
msgstr ""

#. module: apps_download
#: model:product.product,uom_name:apps_download.product_product_100
#: model:product.product,uom_name:apps_download.product_product_100b
#: model:product.template,uom_name:apps_download.product_product_100b_product_template
msgid "Units"
msgstr ""
103 changes: 103 additions & 0 deletions apps_download/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * apps_download
#
# Translators:
# enjolras <yo@miguelrevilla.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-10 01:37+0000\n"
"PO-Revision-Date: 2020-01-15 22:13+0000\n"
"Last-Translator: Carles Antoli <carlesantoli@hotmail.com>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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 3.10\n"

#. module: apps_download
#: model:product.template.attribute.value,name:apps_download.product_template_100_attribute_odoo_version_value_100
msgid "10.0"
msgstr ""

#. module: apps_download
#: model:product.template.attribute.value,name:apps_download.product_template_100_attribute_odoo_version_value_110
msgid "11.0"
msgstr ""

#. module: apps_download
#: model:product.public.category,name:apps_download.website_category1
msgid "Category1"
msgstr ""

#. module: apps_download
#: code:addons/apps_download/models/product_product.py:0
#, python-format
msgid "Error: You cannot create recursive dependency."
msgstr "Error: No se puede crear una dependencia recursiva."

#. module: apps_download
#: model:ir.actions.server,name:apps_download.ir_cron_scheduler_generate_zip_ir_actions_server
#: model:ir.cron,cron_name:apps_download.ir_cron_scheduler_generate_zip
#: model:ir.cron,name:apps_download.ir_cron_scheduler_generate_zip
msgid "Generate ZIP files for all products"
msgstr "Generar archivos ZIP para todos los productos"

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
#, fuzzy
msgid "Get all Dependencies"
msgstr "Obtener todas las dependencias"

#. module: apps_download
#: model:ir.model.fields,field_description:apps_download.field_product_product__module_path
msgid "Local Path"
msgstr "Ruta local"

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
#, fuzzy
msgid "Module Dependencies"
msgstr "Dependencia del módulo"

#. module: apps_download
#: code:addons/apps_download/models/product_product.py:0
#, python-format
msgid ""
"Module code not downloaded yet. Please initialize the code in the associated "
"Github Repository Branch by downloading the source code."
msgstr ""

#. module: apps_download
#: model_terms:ir.ui.view,arch_db:apps_download.view_product_product_view_dependent_form
#, fuzzy
msgid "Modules Dependencies"
msgstr "Dependencia de módulos"

#. module: apps_download
#: model:product.product,name:apps_download.product_product_100
#: model:product.product,name:apps_download.product_product_100b
#: model:product.template,name:apps_download.product_product_100b_product_template
msgid "Odoo Module 1"
msgstr ""

#. module: apps_download
#: model:product.attribute,name:apps_download.attribute_odoo_version
msgid "Odoo Version"
msgstr ""

#. module: apps_download
#: model:ir.model,name:apps_download.model_product_product
msgid "Product"
msgstr "Producto"

#. module: apps_download
#: model:product.product,uom_name:apps_download.product_product_100
#: model:product.product,uom_name:apps_download.product_product_100b
#: model:product.template,uom_name:apps_download.product_product_100b_product_template
msgid "Units"
msgstr ""
Loading