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

Conversation

ernestotejeda
Copy link
Member

Cc @Tecnativa TT29951

Main changes:

Divya Modi and others added 14 commits August 11, 2021 08:48
* Download file name Fix (OCA#18)

* update products attributes and create attribute values (OCA#40)

* [FIX]update the product for the new version

* [FIX]max version problem and also rewrite logic so the from fronend if the version is not selected manually then the default(with less sequence) will be downloaded

* [IMP]added technical name search functionality

* [IMP]Merged create and update product cron job

* [FIX]fix variable names

* 11.0 issue OCA#50 add the module technical name in front page (OCA#52)

* [FIX][49] solve pager with search parameter

* [IMP]website_apps_store : add technical name in front page

* [IMP]website_apps_store : add website tour to search technical name

* [FIX]website_apps_store : add demo/product_template_demo.xml in menifest.py
Currently translated at 100.0% (15 of 15 strings)

Translation: apps-store-12.0/apps-store-12.0-apps_download
Translate-URL: https://translation.odoo-community.org/projects/apps-store-12-0/apps-store-12-0-apps_download/pt_BR/
Currently translated at 72.7% (8 of 11 strings)

Translation: apps-store-12.0/apps-store-12.0-apps_download
Translate-URL: https://translation.odoo-community.org/projects/apps-store-12-0/apps-store-12-0-apps_download/es/
Currently translated at 72.7% (8 of 11 strings)

Translation: apps-store-12.0/apps-store-12.0-apps_download
Translate-URL: https://translation.odoo-community.org/projects/apps-store-12-0/apps-store-12-0-apps_download/it/
product.product has no attribute_value_ids, causing errors like [13.0] apps_download: Error while trying to download an app (base_import_async) OCA#80

This checks the correct product_template_attribute_value_ids associated
Give a proper warning when the module's code does not exist in disk yet instead of an exception
This field is needed in this module but was only being declared in the apps_download module.
apps_download depends on this, so we can move the field declaration here.

TT30343
Field datas_fname is no longer used

TT30343
@OCA-git-bot
Copy link
Contributor

Hi @ernestotejeda! Thank you very much for this contribution. As the addon you are improving does not have a declared maintainer, I take the opportunity to mention that you can consider adopting it. To do so, please read the maintainer role description, and, if interested, create a pull request to add your GitHub login to the maintainers key of the addon manifest.

Comment on lines 105 to 118
#~ msgid "Dependent Products"
#~ msgstr "Productos dependientes"

#~ msgid "Description"
#~ msgstr "Descripción"

#~ msgid "Hello world"
#~ msgstr "Hola mundo"

#~ msgid "Title"
#~ msgstr "Título"

#~ msgid "Module path"
#~ msgstr "Ruta del módulo"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#~ msgid "Dependent Products"
#~ msgstr "Productos dependientes"
#~ msgid "Description"
#~ msgstr "Descripción"
#~ msgid "Hello world"
#~ msgstr "Hola mundo"
#~ msgid "Title"
#~ msgstr "Título"
#~ msgid "Module path"
#~ msgstr "Ruta del módulo"

Comment on lines 104 to 117
#~ msgid "Dependent Products"
#~ msgstr "Produits dépendants"

#~ msgid "Description"
#~ msgstr "Description"

#~ msgid "Hello world"
#~ msgstr "Hello world"

#~ msgid "Title"
#~ msgstr "Titre"

#~ msgid "Module path"
#~ msgstr "Chemin du module"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#~ msgid "Dependent Products"
#~ msgstr "Produits dépendants"
#~ msgid "Description"
#~ msgstr "Description"
#~ msgid "Hello world"
#~ msgstr "Hello world"
#~ msgid "Title"
#~ msgstr "Titre"
#~ msgid "Module path"
#~ msgstr "Chemin du module"

Comment on lines 99 to 103
#~ msgid "Description"
#~ msgstr "Descrizione"

#~ msgid "Title"
#~ msgstr "Titolo"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#~ msgid "Description"
#~ msgstr "Descrizione"
#~ msgid "Title"
#~ msgstr "Titolo"

Comment on lines 100 to 113
#~ msgid "Dependent Products"
#~ msgstr "Produtos dependentes"

#~ msgid "Description"
#~ msgstr "Descrição"

#~ msgid "Hello world"
#~ msgstr "Olá mundo"

#~ msgid "Title"
#~ msgstr "Título"

#~ msgid "kg"
#~ msgstr "kg"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#~ msgid "Dependent Products"
#~ msgstr "Produtos dependentes"
#~ msgid "Description"
#~ msgstr "Descrição"
#~ msgid "Hello world"
#~ msgstr "Olá mundo"
#~ msgid "Title"
#~ msgstr "Título"
#~ msgid "kg"
#~ msgstr "kg"

"""Test for the Add download"""

def setUp(self):
super(TestAppDownload, self).setUp()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
super(TestAppDownload, self).setUp()
super().setUp()

Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments as Carlos.

@ernestotejeda
Copy link
Member Author

@victoralmau @CarlosRoca13 changes done

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-85-by-pedrobaeza-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Aug 16, 2021
Signed-off-by pedrobaeza
@pedrobaeza pedrobaeza mentioned this pull request Aug 16, 2021
3 tasks
@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-85-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 22fd474 into OCA:14.0 Aug 24, 2021
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6751a50. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet