From nobody Tue Oct 25 10:04:34 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MxSGV4NJHz4fx4l for ; Tue, 25 Oct 2022 10:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MxSGV1GBVz3RF0 for ; Tue, 25 Oct 2022 10:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MxSGV0F1pzZCG for ; Tue, 25 Oct 2022 10:04:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29PA4X6e047743 for ; Tue, 25 Oct 2022 10:04:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29PA4Xci047742 for ports-bugs@FreeBSD.org; Tue, 25 Oct 2022 10:04:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267331] finance/odoo export to XLSX/CSV fails Date: Tue, 25 Oct 2022 10:04:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dimitri@kaparis.name X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666692274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0XG0o56v8v0Pll9Cd8K6ZHAygv3nyswlzo8tXnarVAQ=; b=yvwB33BmkexpAp2vbyuoAYXTQ6MnDfaPT9ipd0a3I3dkijmyCHfhpcFhaUulCZqggdf6VH jfDLMgDGnOGf2ixXIM2JAgyyacZUeWo3Iyu2BLkn7y/Q7Xn0PFRVm383n+aNif9uVjwkMv 1QscW++VBr1cxjVdmMqJv1AIcAss4C0eZXF+efHoAMjCuURKn5LScIqfqYJUr2P9mDCE2z Zz1CCu4aPl/24js6h5KW+zPFQ4S97raw9u5xvtK8OFGwNmYulFdGLPW8sgsQk2+sgLHdlG xAtmxPM+TU1q1Zr8/WQOVPv0AStPBzHlIZzb8JcL4TU0pxyNPEnroKxgKfx26w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666692274; a=rsa-sha256; cv=none; b=JrtH5AWjfgpfZBrSj+CGxu/mDWdVO1fp0hqQxxjcBLazdec4wMTGDFFdZclAEtbqePFMoF zM9mopTJhaW7NxTVB8Ce9Rry3Z7xPV7ExLT8+ZjWOxXuvi/K8W2w0t8BoahaXygPc4TSMW WFfvIcsRp5S6FmrNxkA457jrvAaZi1CVNDRTuZKwXV/5Xxs9OocHuFdIJ/p9pHQbM8Fut1 H5sQ9azhY6c5bXEgO+HEt4pzSLoP4DiyyVPpDjv+Kby23aUQnQG6ClrxsfY7d7z0his84r v5r2yZawsMl4QolBnMxC1RiI761nGNpx+4A2Yi33S+79mNLsV09WpD3B2n7zuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267331 Bug ID: 267331 Summary: finance/odoo export to XLSX/CSV fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: dimitri@kaparis.name Assignee: acm@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) Attempting to export items to CSV or XSLX format (e.g. products list) fails with the following error message in the front end: ``` UncaughtClientError > TypeError Uncaught Javascript Error > invalid parameter format TypeError: invalid parameter format =20=20=20 parse@https://erp-stage.poype.io/web/assets/1563-d1f4fe4/web.assets_common.= min.js:4547:45 =20=20=20 get_file/xhr.onload@https://erp-stage.poype.io/web/assets/1563-d1f4fe4/web.= assets_common.min.js:4678:241 ``` No error appears in the server's log. The same issue is reported upstream: https://github.com/odoo/odoo/issues/94= 110. A comment there points that the reason is incompatible version of `Werkzeug` module. https://github.com/odoo/odoo/blob/15.0/requirements.txt lists `Werkzeug=3D=3D0.16.1` dependency for Python 3.9 and lower. This port appli= es corrections to some Odoo modules to work with the current 2.* version of Werkzeug. To fix this issue, either adjustments need to be similarly applie= d to the relevant js generation code, or the whole thing reverted to use Werkzeug 0.16. --=20 You are receiving this mail because: You are the assignee for the bug.=