odoo / docker

Other
956 stars 1.54k forks source link

Create button and download buttons not working #407

Open jackmacha opened 2 years ago

jackmacha commented 2 years ago

AttributeError: 'NoneType' object has no attribute 'WorkbookError: Odoo Server Error

Traceback (most recent call last): File "/home/macha/odoo/addons/web/controllers/main.py", line 111, in wrap return f(*args, **kwargs) File "/home/macha/odoo/addons/web/controllers/main.py", line 2005, in index return self.base(data, token) File "/home/macha/odoo/addons/web/controllers/main.py", line 1957, in base response_data = self.from_data(columns_headers, export_data) File "/home/macha/odoo/addons/web/controllers/main.py", line 2023, in from_data with ExportXlsxWriter(fields, len(rows)) as xlsx_writer: File "/home/macha/odoo/addons/web/controllers/main.py", line 773, in init self.workbook = xlsxwriter.Workbook(self.output, {'in_memory': True}) AttributeError: 'NoneType' object has no attribute 'Workbook'

JDSalcedo commented 2 years ago

You have to install the dependency xlsxwriter, take a look the requirements.txt file to know the exact version.

jackmacha commented 2 years ago

Thanks... This helped me out

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Salcedo Salazar Juan Diego @.> Sent: Friday, April 1, 2022 3:05:14 AM To: odoo/docker @.> Cc: jackson macha @.>; Author @.> Subject: Re: [odoo/docker] Create button and download buttons not working (Issue #407)

You have to install the dependency xlsxwriter, take a look the requirements.txt file to know the exact version.

— Reply to this email directly, view it on GitHubhttps://github.com/odoo/docker/issues/407#issuecomment-1085249819, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMGN6QWASVIE66KFSSG5P3LVCY4TTANCNFSM5QF3IMLA. You are receiving this because you authored the thread.Message ID: @.***>

lathama commented 6 months ago

@jackmacha can you close this issue if no longer needed?

jackmacha commented 6 months ago

Closed

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Andrew Latham @.> Sent: Tuesday, April 2, 2024 9:30:50 PM To: odoo/docker @.> Cc: jackson macha @.>; Mention @.> Subject: Re: [odoo/docker] Create button and download buttons not working (Issue #407)

@jackmachahttps://github.com/jackmacha can you close this issue if no longer needed?

— Reply to this email directly, view it on GitHubhttps://github.com/odoo/docker/issues/407#issuecomment-2032777902, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMGN6QSDMC3JSC7VWG7IF73Y3L2NVAVCNFSM5QF3IMLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBTGI3TONZZGAZA. You are receiving this because you were mentioned.Message ID: @.***>