diff --git a/website_apps_store/README.rst b/website_apps_store/README.rst index 27772af..b939a87 100644 --- a/website_apps_store/README.rst +++ b/website_apps_store/README.rst @@ -1,17 +1,37 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ================== Website Apps Store ================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/12.0/website_apps_store + :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-12-0/apps-store-12-0-website_apps_store + :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/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + Providing facility for displaying the module specific information in a standard Odoo e-commerce website (front-end) and download the zip file of the selected product. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/249/10.0 +**Table of contents** + +.. contents:: + :local: Known issues / Roadmap ====================== @@ -21,38 +41,45 @@ Known issues / Roadmap Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smash it by providing detailed and welcomed feedback. +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* BizzAppDev Contributors ------------- +~~~~~~~~~~~~ * Ruchir Shukla * Eric Caudal * Oscar Alcala +* `Tecnativa `_: + + * Víctor M.M. Torres -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/apps-store `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_apps_store/__manifest__.py b/website_apps_store/__manifest__.py index af6dfa1..e9036c1 100644 --- a/website_apps_store/__manifest__.py +++ b/website_apps_store/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Website Apps Store", - "version": "11.0.3.0.1", + "version": "12.0.1.0.0", 'author': 'Odoo Community Association (OCA), BizzAppDev', "website": "https://github.com/OCA/apps-store", "license": "AGPL-3", diff --git a/website_apps_store/readme/CONTRIBUTORS.rst b/website_apps_store/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..0f2df77 --- /dev/null +++ b/website_apps_store/readme/CONTRIBUTORS.rst @@ -0,0 +1,7 @@ +* Ruchir Shukla +* Eric Caudal +* Oscar Alcala +* `Tecnativa `_: + + * Víctor M.M. Torres diff --git a/website_apps_store/readme/DESCRIPTION.rst b/website_apps_store/readme/DESCRIPTION.rst new file mode 100644 index 0000000..7310974 --- /dev/null +++ b/website_apps_store/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +Providing facility for displaying the module specific information in a standard Odoo +e-commerce website (front-end) and download the zip file of the selected product. diff --git a/website_apps_store/readme/ROADMAP.rst b/website_apps_store/readme/ROADMAP.rst new file mode 100644 index 0000000..d7d17d9 --- /dev/null +++ b/website_apps_store/readme/ROADMAP.rst @@ -0,0 +1 @@ +* Creation of an error queue if the exception occurs while generating zip file of the product diff --git a/website_apps_store/static/description/index.html b/website_apps_store/static/description/index.html new file mode 100644 index 0000000..ef79ca6 --- /dev/null +++ b/website_apps_store/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Website Apps Store + + + +
+

Website Apps Store

+ + +

Beta License: AGPL-3 OCA/apps-store Translate me on Weblate Try me on Runbot

+

Providing facility for displaying the module specific information in a standard Odoo +e-commerce website (front-end) and download the zip file of the selected product.

+

Table of contents

+ +
+

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. +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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • BizzAppDev
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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 project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/website_apps_store/tests/test_website_apps_store.py b/website_apps_store/tests/test_website_apps_store.py index 899a7dd..aeb757d 100644 --- a/website_apps_store/tests/test_website_apps_store.py +++ b/website_apps_store/tests/test_website_apps_store.py @@ -13,14 +13,22 @@ def setUp(self): 'github_login': 'login', }) + self.organization_serie2 = self.env[ + 'github.organization.serie'].create({ + 'name': '12.0', + 'sequence': 1, + 'organization_id': self.organization2.id, + }) + self.repository2 = self.env['github.repository'].create({ - 'name': 'Repository2', + 'name': 'Repository1', 'organization_id': self.organization2.id, }) self.branch2 = self.env['github.repository.branch'].create({ - 'name': 'master', + 'name': '12.0', 'repository_id': self.repository2.id, + 'organization_id': self.organization2.id, }) self.odoo_module2 = self.env['odoo.module'].create({ @@ -50,12 +58,6 @@ def test_product_author_version_info(self): self.assertFalse(self.odoo_module2.product_template_id) self.odoo_module2.action_create_product() self.assertTrue(self.odoo_module2.product_template_id) - self.odoo_module2.product_template_id.write({ - 'attribute_line_ids': [(0, 0, { - 'attribute_id': self.attribute.id, - 'value_ids': [(6, 0, [self.version.id])], - })] - }) action = self.odoo_module2.action_view_products() self.assertEqual( self.odoo_module2.product_template_id.product_variant_ids.ids[0], diff --git a/website_apps_store/views/templates.xml b/website_apps_store/views/templates.xml index f5a04dc..38606f2 100644 --- a/website_apps_store/views/templates.xml +++ b/website_apps_store/views/templates.xml @@ -120,10 +120,10 @@ 'padding-bottom: 1px;' if product.odoo_module_id else '' - + 'margin-bottom: 4px;' if product.odoo_module_id else '' - +
@@ -145,8 +145,8 @@
- - + + {'widget': 'image', 'resize': None, 'zoom': 'image'} @@ -155,28 +155,7 @@ - -