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

TA#51651 [ADD] migrating modules on vue addons #74

Draft
wants to merge 4 commits into
base: 14.0
Choose a base branch
from
Draft
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
13 changes: 7 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
name: Setup Log Folder For Reports
command: sudo mkdir -p .log && sudo chmod 777 .log

# - run:
# name: Run Test
# command: docker-compose run --rm odoo run_pytest.sh
# To run Tests (comment to disable)
- run:
name: Run Test
command: docker-compose run --rm odoo run_pytest.sh

# - run:
# name: Run Javascript Tests
# command: docker-compose run --rm client npm test
- run:
name: Run Javascript Tests
command: docker-compose run --rm client npm test

# - run:
# name: Codacy Coverage
Expand Down
6 changes: 3 additions & 3 deletions .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
# "vue",
"vue",
# "vue_backend",
# "vue_element_ui",
# "vue_frontend",
"vue_element_ui",
"vue_frontend",
# "vue_i18n",
# "vue_router",
# "vue_stock_forecast",
Expand Down
7 changes: 4 additions & 3 deletions .docker_files/main/tests/test_installed_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def setUp(self):
super(TestModules, self).setUp()
self.modules = self.env['ir.module.module']

def test_vue_stock_forcast(self):
module = self.modules.search([('name', '=', 'vue_stock_forecast')])
self.assertTrue(module.state == "installed")
# TODO : maybe to uncomment after migrating the module vue_stock_forecast
# def test_vue_stock_forcast(self):
# module = self.modules.search([('name', '=', 'vue_stock_forecast')])
# self.assertTrue(module.state == "installed")
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ RUN pip3 install -r ./test-requirements.txt && rm ./test-requirements.txt

USER odoo

# COPY vue /mnt/extra-addons/vue
COPY vue /mnt/extra-addons/vue
# COPY vue_backend /mnt/extra-addons/vue_backend
# COPY vue_element_ui /mnt/extra-addons/vue_element_ui
# COPY vue_frontend /mnt/extra-addons/vue_frontend
COPY vue_element_ui /mnt/extra-addons/vue_element_ui
COPY vue_frontend /mnt/extra-addons/vue_frontend
# COPY vue_i18n /mnt/extra-addons/vue_i18n
# COPY vue_router /mnt/extra-addons/vue_router
# COPY vue_stock_forecast /mnt/extra-addons/vue_stock_forecast
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion unported/vue/__init__.py → vue/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
4 changes: 2 additions & 2 deletions unported/vue/__manifest__.py → vue/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
'name': 'Vuejs',
'version': '1.1.0',
'version': "14.0.1.0.0",
'author': 'Numigi',
'maintainer': 'Numigi',
'website': 'https://bit.ly/numigi-com',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from . import models
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
'name': 'Element-UI',
'version': '1.0.0',
'version': "14.0.1.0.0",
'author': 'Numigi',
'maintainer': 'Numigi',
'website': 'https://bit.ly/numigi-com',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from . import ir_translation
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from odoo import api, models
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
© 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
© 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
License LGPL-3.0 or later (http://www.gnu.org/licenses/LGPL.html).
*/
odoo.define("vue_element_ui.i18n", function(require) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# © 2020 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# © 2020 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Vuejs Frontend",
"version": "1.1.0",
"version": "14.0.1.0.0",
"author": "Numigi",
"maintainer": "Numigi",
"website": "https://bit.ly/numigi-com",
Expand Down
File renamed without changes.