Name: Merge from upstream 16 20250915 01

State: Failed finished in 119m

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #1134

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: f11ebfe2ac151adbe764c56852d097e9b6cd1ab9

Description:

                                            Merge remote-tracking branch 'odoo/16.0' into 16.0
                                            

Branch: 16.0

Instance ID: 0

Age:

Up-time:

Subbuilds Name State Detail
Build 342139 At install tests: from account to website_twitter 123m Succeed Log
Build 342140 Post install tests: step install all modules 47m Succeed Log
Build 342141 Post install tests: from account to l10n_vn_viin_accounting_vninvoice_summary 70m Failed Log
Build 342142 Post install tests: from l10n_vn_viin_edi to project_sale_expense 49m Succeed Log
Build 342143 Post install tests: from project_sms to sales_team 64m Succeed Log
Build 342144 Post install tests: from sms to to_multi_warehouse_access_control_sms 69m Succeed Log
Build 342145 Post install tests: from to_odoo_module to viin_message_edit_lock 69m Succeed Log
Build 342146 Post install tests: from viin_mobile to website_twitter 50m Succeed Log
Create Date Level Message
09/15/2025 17:14:16 INFO
Updated repository ngochung207-tvtmaaddons
09/15/2025 17:14:16 INFO
Updated repository Viindoo-erponline-enterprise
09/15/2025 17:14:16 INFO
Updated repository Viindoo-branding
09/15/2025 17:14:16 INFO
Cloned repository Viindoo-odoo
02/22/2023 15:08:15
Using Docker Image Odoo 16 Ubuntu 22.04 Python 3.10:

FROM ubuntu:jammy

ENV LANG C.UTF-8

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 ffmpeg file fonts-freefont-ttf fonts-noto-cjk gawk gnupg gsfonts libldap2-dev libjpeg9-dev libsasl2-dev libxslt1-dev lsb-release node-less ocrmypdf sed sudo unzip xfonts-75dpi zip zlib1g-dev git build-essential cython3 libffi-dev libev-dev\
&& 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 python3 python3-dbfread python3-dev python3-pip python3-setuptools python3-wheel python3-markdown python3-mock python3-phonenumbers python3-websocket python3-cffi libpq-dev \
&& rm -rf /var/lib/apt/lists/*

# Install wkhtml
RUN curl -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb -o /tmp/wkhtmltox_0.12.6-1.focal_amd64.deb \
&& curl -sSL http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb -o /tmp/libssl1.1_1.1.0g-2ubuntu4_amd64.deb \
&& apt-get update \
&& dpkg -i /tmp/libssl1.1_1.1.0g-2ubuntu4_amd64.deb \
&& apt install -y -f --no-install-recommends /tmp/wkhtmltox_0.12.6-1.focal_amd64.deb \
&& rm /tmp/libssl1.1_1.1.0g-2ubuntu4_amd64.deb /tmp/wkhtmltox_0.12.6-1.focal_amd64.deb

# Install nodejs
#RUN set -x ; \
# apt-get update \
# && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends nodejs npm \
# && rm -rf /var/lib/apt/lists/*
#RUN npm install -g rtlcss es-check eslint

# 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
ADD https://raw.githubusercontent.com/Viindoo/odoo/16.0/debian/control /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 --no-cache-dir setuptools wheel && \
python3 -m pip install coverage==4.5.4 flamegraph

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql-client-14 \
&& 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

ADD https://raw.githubusercontent.com/Viindoo/odoo/16.0/requirements.txt /root/requirements.txt
RUN python3 -m pip install --no-cache-dir setuptools wheel && \
python3 -m pip install --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 --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 cloc \
&& rm -rf /var/lib/apt/lists/*

RUN python3 -m pip install --no-cache-dir --upgrade wheel setuptools==60.0.0
RUN python3 -m pip install --no-cache-dir --upgrade websocket-client==1.2.3 flake8==4.0.1
RUN python3 -m pip uninstall pylint pylint-odoo isort Pygments -y
RUN python3 -m pip install --no-cache-dir --upgrade pylint-odoo==5.0.0
RUN python3 -m pip install --no-cache-dir --upgrade Pygments==2.14.0 --no-deps
RUN python3 -m pip install --no-cache-dir --upgrade odoo_test_helper

# 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 es-check eslint@8
09/15/2025 19:14:22 ERROR
Subbuild # 342141: odoo.addons.account.tests.test_kpi_provider: ERROR: TestKpiProvider.test_kpi_summary Traceback (most recent call last): File "/data/build/rb-f11ebfe-217397/odoo/models.py", line 5219, in ensure_one _id, = self._ids ValueError: too many values to unpack (expected 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/build/rb-f11ebfe-217397/addons/account/tests/test_kpi_provider.py", line 16, in test_kpi_summary self.env['account.move'].search([('state', '=', 'draft')]).unlink() File "/data/build/Viindoo-erponline-enterprise-16.0/viin_sale_subscription/models/account_move.py", line 32, in unlink res = super(AccountMove, self).unlink() File "/data/build/Viindoo-erponline-enterprise-16.0/to_stock_asset/models/account_move.py", line 69, in unlink return super(AccountMove, self).unlink() File "/data/build/rb-f11ebfe-217397/addons/repair/models/account_move.py", line 15, in unlink return super().unlink() File "/data/build/ngochung207-tvtmaaddons-v16_fix_to_sale_loyalty_patch_1_points_for_coupon/to_loan_management/models/account_move.py", line 26, in unlink res = super(AccountMove, self).unlink() File "/data/build/ngochung207-tvtmaaddons-v16_fix_to_sale_loyalty_patch_1_points_for_coupon/to_account_counterpart/model/account_move.py", line 34, in unlink return super().unlink() File "/data/build/rb-f11ebfe-217397/addons/sale/models/account_move.py", line 27, in unlink res = super(AccountMove, self).unlink() File "/data/build/Viindoo-erponline-enterprise-16.0/to_account_asset/models/account_move.py", line 120, in unlink res = super(AccountMove, self).unlink() File "/data/build/rb-f11ebfe-217397/addons/hr_expense/models/account_move.py", line 93, in unlink return super().unlink() File "/data/build/rb-f11ebfe-217397/addons/account/models/account_move.py", line 2428, in unlink return super().unlink() File "/data/build/rb-f11ebfe-217397/addons/mail/models/mail_thread.py", line 330, in unlink res = super(MailThread, self).unlink() File "/data/build/rb-f11ebfe-217397/addons/mail/models/mail_activity_mixin.py", line 246, in unlink result = super(MailActivityMixin, self).unlink() File "/data/build/ngochung207-tvtmaaddons-v16_fix_to_sale_loyalty_patch_1_points_for_coupon/viin_user_assignment_log/models/base.py", line 66, in unlink res = super(Base, self).unlink() File "/data/build/rb-f11ebfe-217397/odoo/models.py", line 3604, in unlink func(self) File "/data/build/ngochung207-tvtmaaddons-v16_fix_to_sale_loyalty_patch_1_points_for_coupon/viin_account/models/account_move.py", line 58, in _unlink_forbid_parts_of_chain self.company_id.quick_edit_mode File "/data/build/rb-f11ebfe-217397/odoo/fields.py", line 1154, in __get__ record.ensure_one() File "/data/build/rb-f11ebfe-217397/odoo/models.py", line 5222, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: res.company(3, 1)
09/15/2025 19:14:22 ERROR
Subbuild # 342141: odoo.tests.result: 0 failed, 1 error(s) of 1085 tests when loading database 'rb-f11ebfe-217397-342141'