[Bug 267331] finance/odoo export to XLSX/CSV fails
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Oct 2022 10:04:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267331
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
parse@https://erp-stage.poype.io/web/assets/1563-d1f4fe4/web.assets_common.min.js:4547:45
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/94110.
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==0.16.1` dependency for Python 3.9 and lower. This port applies
corrections to some Odoo modules to work with the current 2.* version of
Werkzeug. To fix this issue, either adjustments need to be similarly applied to
the relevant js generation code, or the whole thing reverted to use Werkzeug
0.16.
--
You are receiving this mail because:
You are the assignee for the bug.