Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
0ef5952
Rename module to apps_product_creator
tafaRU Oct 3, 2017
d95efe5
[IMP] Replace openerp imports to odoo
tafaRU Oct 3, 2017
52858e5
[ADD] apps_product_creator: add cron_create_product
tafaRU Oct 3, 2017
eae87df
[FIX] Changed field name for compatibility with base code
espo-tony Oct 3, 2017
150d1f8
[FIX] Refactoring of product.product form view definition
espo-tony Oct 3, 2017
d5f08fe
[FIX] Implemented module image handling
espo-tony Oct 3, 2017
88fd8f2
Improvements: Edit readme + improvement about code
acsonefho Oct 3, 2017
2d954e6
[ADD] apps_product_creator: add cron_create_product
tafaRU Oct 3, 2017
741f09b
[FIX] Changed product form view definition
espo-tony Oct 3, 2017
3904558
FIX: licence
acsonefho Oct 3, 2017
d47944e
FIX: fix readme
acsonefho Oct 3, 2017
b8e93ab
[FIX] fix attr_xml_id and domain on cron search
Oct 3, 2017
1e33f04
[FIX] Some small refactoring
espo-tony Oct 9, 2017
f726907
[FIX] Big refactoring
espo-tony Oct 11, 2017
4eba95f
[FIX] Adapted to recent changes in dependency module github_connector
espo-tony Oct 16, 2017
d71675c
[FIX] Fixed Travis
espo-tony Oct 16, 2017
554d8b0
Implemented Unit tests
espo-tony Nov 9, 2017
35eb21f
[FIX] Refactoring
espo-tony Nov 21, 2017
93dc6cf
[FIX] Bugfixing
espo-tony Nov 21, 2017
ce977eb
[FIX] Moved demo file in demo key within manifest
espo-tony Nov 22, 2017
4313026
[MIG] apps_product_creator: Migration to 11.0
tarteo Apr 12, 2018
844925d
[IMP] Formatting xml, move product_attribute to data
tarteo May 3, 2018
880727d
[WIP]partial commit for migration of apps-store
Aug 31, 2018
78b27c6
[FIX] Changes as per suggested
Sep 6, 2018
e7dc83f
[FIX] add changes as per requested
Sep 17, 2018
bb169ec
11.0 Improvement for filters and product page description (#14)
bizzappdev Oct 2, 2018
a74f922
[ADD] Add the Module maturity on the created product variant (#19)
RoelAdriaans Oct 2, 2018
3704f20
[IMP] apps-store (#15)
oscarolar Oct 2, 2018
c6a601f
[FIX] solve problem in case of multiple version for the one module (#22)
bizzappdev Oct 2, 2018
46cc3e1
[IMP] Autopublish the modules on the website (#24)
RoelAdriaans Oct 4, 2018
25c0296
[IMP] while clean the odoo module version archive the product (#36)
bizzappdev Oct 26, 2018
d9ab637
update products attributes and create attribute values (#40)
bizzappdev Nov 11, 2018
4d9a6f2
Fix Bad rendering of links inside README (#42)
bizzappdev Nov 20, 2018
48fb44b
[MIG] apps_product_creator: Migration to 12.0
Apr 10, 2019
6df194e
[MIG] apps_product_creator: Migration scripts
pedrobaeza Jul 13, 2019
6882335
Added translation using Weblate (Italian)
primes2h Jun 8, 2020
8b1927f
[IMP] apps_product_creator: black, isort, prettier
CarlosRoca13 Jul 7, 2020
c6800ac
[MIG] apps_product_creator: Migration to v13.0
CarlosRoca13 Jul 10, 2020
1232282
[FIX] apps_product_creator: Config variable source_code_local_path
pedrobaeza Jul 16, 2020
9a9bb00
Added translation using Weblate (Spanish (Argentina))
ibuioli Jul 27, 2020
9717fac
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 27, 2020
7cee9ba
[FIX] apps_product_creator: Don't use deleted field for product attri…
Tardo Aug 5, 2020
3ddbe15
[FIX] apps_product_creator: Check correct attribute
joao-p-marques Jun 7, 2021
f81f58d
[FIX] apps_product_creator: Add dependent_product_ids
joao-p-marques Jun 8, 2021
7c9f2b3
[IMP] apps_product_creator: black, isort, prettier
Aug 2, 2021
cd8f722
[MIG] apps_product_creator: Migration to 14.0
Aug 2, 2021
070c54d
[UPD] Update apps_product_creator.pot
oca-travis Aug 11, 2021
646c823
[UPD] README.rst
OCA-git-bot Sep 3, 2023
5aebd6b
Update translation files
weblate Oct 10, 2023
9f853aa
Translated using Weblate (Italian)
mymage Nov 6, 2023
aee4c0a
Translated using Weblate (Spanish)
Ivorra78 Jan 26, 2024
df8be11
Translated using Weblate (Italian)
mymage Jan 20, 2025
b11995a
Translated using Weblate (Italian)
mymage Apr 2, 2025
71f33b9
[FIX] apps_product_creator: re-activate and publish archived modules …
petrus-v Jul 22, 2025
9f95da9
[BOT] post-merge updates
OCA-git-bot Jul 26, 2025
fb73599
[REF] apps_product_creator: Allow to reuse tests setup
SirPyTech Sep 16, 2025
1398c8d
[BOT] post-merge updates
OCA-git-bot Sep 16, 2025
8c71bd5
[IMP] apps_product_creator: Update module version
SirPyTech Sep 15, 2025
5ae5e0d
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
3a43851
[IMP] apps_product_creator: pre-commit auto fixes
ntsirintanis Oct 31, 2025
4fc0f06
[18.0][MIG] apps_product_creator: Migration to 18.0
ntsirintanis Oct 31, 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
162 changes: 162 additions & 0 deletions apps_product_creator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
======================
Github product creator
======================

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

.. |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/18.0/apps_product_creator
: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-18-0/apps-store-18-0-apps_product_creator
: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/apps-store&target_branch=18.0
:alt: Try me on Runboat

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

This module extends the functionality of the module Github connector to
create a product for every module found. A variant is also created for
every version of the module.

**Table of contents**

.. contents::
:local:

Configuration
=============

There's an scheduled action that creates the product, disabled by
default. For enabling it:

1. Go to *Settings > Technical > Automation > Scheduled Actions*.
2. Locate "Create/Update product variants for each module version" and
access its form.

Usage
=====

To see the module working

- Import some modules with
`github_connector <https://odoo-community.org/shop/product/1024>`__

1. Run manually the scheduled action mentioned on the configure section
or wait until its execution.
2. Go to *Website > Products > Products*.
3. Click on Filters > Add Custom Filter, and apply the filter "Odoo
Module" > "is set".
4. You will see the created products in the list.

..

Now you can see the products created.

Changelog
=========

14.0.1.0.0 (2021-08-02)
-----------------------

- Migration to 14.0

13.0.1.0.0 (2020-07-10)
-----------------------

- Migration to 13.0

12.0.1.0.0 (2019-04-10)
-----------------------

- Migration to 12.0

11.0.1.1.2 (2018-10-02)
-----------------------

- Publish the modules automatically on the website

11.0.1.1.0 (2018-10-02)
-----------------------

- [ADD] Added dependency on github_connector_oca to display
development_status
(`#19 <https://github.com/OCA/apps-store/pull/19>`__)

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/apps-store/issues/new?body=module:%20apps_product_creator%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
-------

* BizzAppDev

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

- Alex Comba <alex.comba@agilebg.com>
- Antonio Esposito <a.esposito@onestein.nl>
- Eric Caudal <eric.caudal@elico-corp.com>
- François Honoré <francois.honore@acsone.eu>
- Nicola Malcontenti <nicola.malcontenti@agilebg.com>
- Roel Adriaans <roel@road-support.nl>
- Ruchir Shukla <ruchir@bizzappdev.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Victor M.M. Torres
- Carlos Roca
- Alexandre D. Díaz
- Ernesto Tejeda

- `PyTech <https://www.pytech.it>`__:

- Simone Rubino <simone.rubino@pytech.it>

Other credits
-------------

Images
~~~~~~

- Odoo Community Association:
`Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`__.

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/18.0/apps_product_creator>`_ 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_product_creator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
27 changes: 27 additions & 0 deletions apps_product_creator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2017-2018 Odoo Community Association (OCA)
# Copyright 2019 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Github product creator",
"summary": "Create a product variant (by version) for every module found "
"in the Github repositories",
"version": "18.0.1.0.0",
"category": "Connector",
"website": "https://github.com/OCA/apps-store",
"license": "AGPL-3",
"author": "Odoo Community Association (OCA), BizzAppDev",
"depends": [
"github_connector_oca",
"github_connector_odoo",
"product",
"website_sale",
],
"data": [
"data/ir_cron.xml",
"data/product_attribute.xml",
"data/product_public_categ_data.xml",
"views/view_odoo_module.xml",
"views/view_product_product.xml",
],
"installable": True,
}
18 changes: 18 additions & 0 deletions apps_product_creator/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--Copyright (C) 2017-Today: Odoo Community Association (OCA)-->
<!--License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
<odoo noupdate="1">
<record id="cron_update_organization" model="ir.cron">
<field
name="name"
>Create/Update product variants for each module version</field>
<field name="model_id" ref="model_odoo_module" />
<field name="state">code</field>
<field name="code">model.cron_create_product()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="active" eval="False" />
<field name="user_id" ref="base.user_root" />
<field name="nextcall">2025-10-31 10:00:00</field>
</record>
</odoo>
69 changes: 69 additions & 0 deletions apps_product_creator/data/product_attribute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--Copyright 2017-Today Odoo Community Association (OCA)
Copyright 2019 Tecnativa - Pedro M. Baeza -->
<!--License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
<odoo noupdate="1">
<record id="attribute_odoo_version" model="product.attribute">
<field name="name">Odoo Version</field>
</record>
<record id="odoo_version_50" model="product.attribute.value">
<field name="name">5.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_60" model="product.attribute.value">
<field name="name">6.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_61" model="product.attribute.value">
<field name="name">6.1</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_70" model="product.attribute.value">
<field name="name">7.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_80" model="product.attribute.value">
<field name="name">8.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_90" model="product.attribute.value">
<field name="name">9.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_100" model="product.attribute.value">
<field name="name">10.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_110" model="product.attribute.value">
<field name="name">11.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_120" model="product.attribute.value">
<field name="name">12.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_130" model="product.attribute.value">
<field name="name">13.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_140" model="product.attribute.value">
<field name="name">14.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_150" model="product.attribute.value">
<field name="name">15.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_160" model="product.attribute.value">
<field name="name">16.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_170" model="product.attribute.value">
<field name="name">17.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
<record id="odoo_version_180" model="product.attribute.value">
<field name="name">18.0</field>
<field name="attribute_id" ref="attribute_odoo_version" />
</record>
</odoo>
76 changes: 76 additions & 0 deletions apps_product_creator/data/product_public_categ_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2016-Today: Odoo Community Association (OCA)
@author: Oscar Alcala (https://twitter.com/oscarolar)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo noupdate="1">
<record id="accounting" model="product.public.category">
<field name="name">Accounting</field>
<field name="sequence">1</field>
</record>
<record id="discuss" model="product.public.category">
<field name="name">Discuss</field>
<field name="sequence">2</field>
</record>
<record id="document_management" model="product.public.category">
<field name="name">Document Management</field>
<field name="sequence">3</field>
</record>
<record id="ecommerce" model="product.public.category">
<field name="name">eCommerce</field>
<field name="sequence">4</field>
</record>
<record id="human_resources" model="product.public.category">
<field name="name">Human Resources</field>
<field name="sequence">5</field>
</record>
<record id="industries" model="product.public.category">
<field name="name">Industries</field>
<field name="sequence">6</field>
</record>
<record id="localization" model="product.public.category">
<field name="name">Localization</field>
<field name="sequence">7</field>
</record>
<record id="manufacturing" model="product.public.category">
<field name="name">Manufacturing</field>
<field name="sequence">8</field>
</record>
<record id="point_of_sale" model="product.public.category">
<field name="name">Point of Sale</field>
<field name="sequence">9</field>
</record>
<record id="productivity" model="product.public.category">
<field name="name">Productivity</field>
<field name="sequence">10</field>
</record>
<record id="project" model="product.public.category">
<field name="name">Project</field>
<field name="sequence">11</field>
</record>
<record id="purchases" model="product.public.category">
<field name="name">Purchases</field>
<field name="sequence">12</field>
</record>
<record id="sales" model="product.public.category">
<field name="name">Sales</field>
<field name="sequence">13</field>
</record>
<record id="warehouse" model="product.public.category">
<field name="name">Warehouse</field>
<field name="sequence">14</field>
</record>
<record id="website" model="product.public.category">
<field name="name">Website</field>
<field name="sequence">15</field>
</record>
<record id="extra_tools" model="product.public.category">
<field name="name">Extra Tools</field>
<field name="sequence">16</field>
</record>
<record id="other" model="product.public.category">
<field name="name">Other</field>
<field name="sequence">17</field>
</record>
</odoo>
Loading
Loading