Name: [UPG] spreadsheet_oca, spreadsheet_dashboard_oca: upgrade for 18.0

State: Failed finished in 19m

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #12

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 7169dfcb661af08b3344a145633a1aa6f463fc25

Description:

                                            [MIG] spreadsheet_oca: Migration to 18.0
                                            

Branch: 18.0

Instance ID: 0

Age:

Up-time:

Subbuilds Name State Detail
Build 341061 Check the quality with Pylint: from test_lint to test_pylint 18m Failed Log
Build 341062 At install tests: from account to website_sms 78m Succeed Log
Build 341063 Post install tests: step install all modules 18m Succeed Log
Build 341064 Post install tests: from account to hr_holidays_contract 49m Failed Log
Build 341065 Post install tests: from hr_homeworking to point_of_sale 29m Succeed Log
Build 341066 Post install tests: from portal to sale_mrp 39m Succeed Log
Build 341067 Post install tests: from sale_mrp_margin to test_sale_purchase_edi_ubl 34m Succeed Log
Build 341068 Post install tests: from test_search_panel to website_sms 20m Failed Log
Build 341069 Test install all modules without demo data: from account to website_sms 13m Succeed Log
Create Date Level Message
09/10/2025 17:04:27 INFO
Updated repository Viindoo-odoo
09/10/2025 17:04:27 INFO
Updated repository Viindoo-tvtmaaddons
09/10/2025 17:04:27 INFO
Updated repository Viindoo-erponline-enterprise
09/10/2025 17:04:27 INFO
Updated repository Viindoo-branding
09/10/2025 17:04:27 INFO
Cloned repository Viindoo-spreadsheet
12/16/2024 11:16:51
Using Docker Image Odoo 18 Ubuntu 24.04 Python 3.12:

FROM ubuntu:noble

ENV LANG C.UTF-8

# Retrieve the target architecture to install the correct wkhtmltopdf package
ARG TARGETARCH

USER root

SHELL ["/bin/bash", "-c"]

# Install debian packages
RUN set -x ; \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends apt-transport-https build-essential ca-certificates curl file fonts-freefont-ttf fonts-noto-cjk gawk gnupg gsfonts libldap2-dev libjpeg9-dev libsasl2-dev libxslt1-dev lsb-release npm ocrmypdf sed sudo unzip xfonts-75dpi zip zlib1g-dev software-properties-common git \
&& rm -rf /var/lib/apt/lists/*

# Install Python3 packages
RUN set -x ; \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends publicsuffix python3 flake8 python3-dbfread python3-dev python3-gevent python3-pip python3-setuptools python3-wheel python3-markdown python3-mock python3-phonenumbers python3-websocket python3-google-auth libpq-dev pylint python3-jwt python3-asn1crypto python3-html2text python3-suds python3-xmlsec \
&& rm -rf /var/lib/apt/lists/*

# Install wkhtml
RUN curl -o xfonts-base.deb http://archive.ubuntu.com/ubuntu/pool/main/x/xfonts-base/xfonts-base_1.0.5+nmu1_all.deb && dpkg -i xfonts-base.deb
RUN curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb \
&& apt-get install -y --no-install-recommends ./wkhtmltox.deb \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb xfonts-base.deb

# Install Odoo:Depends
ADD https://raw.githubusercontent.com/brendangregg/FlameGraph/master/flamegraph.pl /usr/local/bin/flamegraph.pl
RUN chmod +rx /usr/local/bin/flamegraph.pl
# Github bị 429, ADD https://raw.githubusercontent.com/Viindoo/odoo/18.0/debian/control /tmp/control.txt
ADD https://github.com/royle-vietnam/odoo/releases/download/odoo/control2 /tmp/control.txt
RUN apt-get update \
&& sed -n '/^Depends:/,/^[A-Z]/p' /tmp/control.txt \
| awk '/^ [a-z]/ { gsub(/,/,"") ; print $1 }' | sort -u \
| egrep -v 'postgresql-client' \
| sed 's/python-imaging/python-pil/'| sed 's/python-pypdf/python-pypdf2/' | sed 's/python3-lxml-html-clean/python3-lxml/' \
| DEBIAN_FRONTEND=noninteractive xargs apt-get install -y -qq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN python3 -m pip install --break-system-packages --no-cache-dir setuptools wheel && \
python3 -m pip install --break-system-packages coverage==7.4.4 flamegraph

# install latest postgresql-client
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& GNUPGHOME="$(mktemp -d)" \
&& export GNUPGHOME \
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/pgdg.gpg.asc \
&& gpgconf --kill all \
&& rm -rf "$GNUPGHOME" \
&& apt-get update \
&& apt-get install --no-install-recommends -y postgresql-client \
&& rm -f /etc/apt/sources.list.d/pgdg.list \
&& rm -rf /var/lib/apt/lists/*

# Install Google Chrome
#RUN curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb \
# && apt-get update \
# && apt-get -y install --no-install-recommends /tmp/chrome.deb \
# && rm /tmp/chrome.deb

# Install phantomjs
RUN curl -sSL https://nightly.odoo.com/resources/phantomjs.tar.bz2 -o /tmp/phantomjs.tar.bz2 \
&& tar xvfO /tmp/phantomjs.tar.bz2 phantomjs-2.1.1-linux-x86_64/bin/phantomjs > /usr/local/bin/phantomjs \
&& chmod +x /usr/local/bin/phantomjs \
&& rm -f /tmp/phantomjs.tar.bz2

ENV PIP_BREAK_SYSTEM_PACKAGES=1

# Github bị 429, ADD https://raw.githubusercontent.com/Viindoo/odoo/18.0/requirements.txt /root/requirements.txt
ADD https://github.com/royle-vietnam/odoo/releases/download/odoo/requirements.txt /root/requirements.txt
RUN python3 -m pip install --break-system-packages --no-cache-dir setuptools wheel && \
python3 -m pip install --break-system-packages --upgrade --force-reinstall --ignore-installed --no-cache-dir -r /root/requirements.txt && \
python3 -m pip install --no-cache-dir ebaysdk==2.1.5 pdf417gen==0.7.1

RUN python3 -m pip install --break-system-packages --no-cache-dir requests pyOpenSSL

# Install debian packages
RUN set -x ; \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openssl iputils-ping openssh-client chromium-browser \
&& rm -rf /var/lib/apt/lists/*

RUN python3 -m pip install --no-cache-dir --upgrade websocket-client==1.2.3 flake8==6.1.0
#RUN python3 -m pip uninstall pylint pylint-odoo isort Pygments -y
RUN python3 -m pip install --break-system-packages --upgrade --force-reinstall --ignore-installed --no-cache-dir --upgrade pylint-odoo==9.0.5
RUN python3 -m pip install --break-system-packages --upgrade --force-reinstall --ignore-installed --no-cache-dir --upgrade Pygments==2.14.0 --no-deps

# Install nodejs
RUN curl -fsSLO --compressed "https://nodejs.org/dist/v18.20.0/node-v18.20.0-linux-x64.tar.xz" \
&& tar -xJf "node-v18.20.0-linux-x64.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
&& rm "node-v18.20.0-linux-x64.tar.xz" \
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs

RUN npm install -g rtlcss@3.4.0 es-check@6.0.0 eslint@8.57.1 prettier@2.7.1 eslint-config-prettier@8.5.0 eslint-plugin-prettier@4.2.1
# Tránh warning do bug của ubuntu
RUN rm -rf /usr/lib/python3.12/dist-packages/charset_normalizer-3.3.2.dist-info

# Install cloc package
RUN set -x ; \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cloc \
&& rm -rf /var/lib/apt/lists/*
09/10/2025 17:24:20 ERROR
Subbuild # 341061: odoo.addons.test_lint.tests.test_eslint: FAIL: TestESLint.test_eslint Traceback (most recent call last): File "/data/build/Viindoo-odoo-18.0/odoo/addons/test_lint/tests/test_eslint.py", line 50, in test_eslint self._test_eslint(basic_test, file_path('test_lint/tests/eslintrc')) File "/data/build/Viindoo-odoo-18.0/odoo/addons/test_lint/tests/test_eslint.py", line 39, in _test_eslint self.assertEqual(process.returncode, 0, msg=f""" AssertionError: 1 != 0 : stdout: /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/filter.esm.js 45:8 error Component should declare static props no-restricted-syntax 45:8 error Component should declare static template no-restricted-syntax 64:8 error Component should declare static props no-restricted-syntax 64:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/filter_panel_datasources.esm.js 56:8 error Component should declare static props no-restricted-syntax 56:8 error Component should declare static template no-restricted-syntax 210:8 error Component should declare static props no-restricted-syntax 210:8 error Component should declare static template no-restricted-syntax 229:8 error Component should declare static props no-restricted-syntax 229:8 error Component should declare static template no-restricted-syntax 287:8 error Component should declare static props no-restricted-syntax 287:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/odoo_panels.esm.js 11:21 error 'owl' is not defined no-undef 13:8 error Component should declare static props no-restricted-syntax 13:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/spreadsheet_action.esm.js 13:45 error 'owl' is not defined no-undef 15:8 error Component should declare static props no-restricted-syntax 15:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/spreadsheet_controlpanel.esm.js 5:20 error 'owl' is not defined no-undef 7:8 error Component should declare static props no-restricted-syntax 7:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet/bundle/spreadsheet_renderer.esm.js 18:34 error 'owl' is not defined no-undef 60:8 error Component should declare static props no-restricted-syntax 60:8 error Component should declare static template no-restricted-syntax /data/build/rb-7169dfc-217243/spreadsheet_oca/static/src/spreadsheet_tree/spreadsheet_tree_view.esm.js 12:1 error Component should declare static props no-restricted-syntax 12:1 error Component should declare static template no-restricted-syntax ✖ 26 problems (26 errors, 0 warnings) Perhaps you might benefit from installing the tooling found at: https://github.com/odoo/odoo/wiki/Javascript-coding-guidelines#use-a-linter stderr:
09/10/2025 17:24:20 ERROR
Subbuild # 341061: odoo.modules.loading: Module test_lint: 1 failures, 0 errors of 21 tests
09/10/2025 17:24:20 ERROR
Subbuild # 341061: odoo.modules.loading: At least one test failed when loading the modules.
09/10/2025 17:24:20 ERROR
Subbuild # 341061: odoo.tests.result: 1 failed, 0 error(s) of 29 tests when loading database 'rb-7169dfc-217243-341061'
09/10/2025 18:49:15 ERROR
Subbuild # 341064: odoo.addons.base.tests.test_views: Please indicate why the always invisible fields are present in the view, or remove the field tag. Addon: 'spreadsheet_dashboard_oca' View: spreadsheet_dashboard_tree_view Fields: <field name="can_edit" column_invisible="True"/> Addon: 'spreadsheet_oca' View: spreadsheet_select_row_number_form_view Fields: <field name="can_have_dynamic_cols" invisible="1"/> View: spreadsheet_spreadsheet_import_form_view Fields: <field name="mode" invisible="1"/> <field name="can_be_dynamic" invisible="1"/> <field name="is_tree" invisible="1"/> View: spreadsheet_spreadsheet_form_view Fields: <field name="filename" invisible="1"/>
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_10_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_10 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_10_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_10 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_5_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_5 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_5_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_5 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_0_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_import_0 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_0_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_import_0 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_10_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_10 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_10_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_10 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_5_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_5 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_5_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_5 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_0_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag +tax_export_0 for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_0_base for country Vietnam. You should probably update your localization app first.
09/10/2025 18:19:47 ERROR
Subbuild # 341068: odoo.addons.account.models.chart_template: Error while loading the localization: missing tax tag -tax_export_0 for country Vietnam. You should probably update your localization app first.