Community mailing list archives

community@mail.odoo.com

Avatar

Re: Type Error while working with report_xlsx module in Odoo10

by
CodeCrax
- 22 نوفمبر, 2017 01:21:59
Hello,

Perfecto! Yes, that solved the problem. I have one last doubt. For every report that I want to print out in .xlsx format I must write code for its formatting on .xlsx report? Or is there any way that I send my report directly to some function which can automatically make formatting ready for xlsx file? Thank you! once again. report_xlsx is one wonderful module that is very much helpful and I appreciate your contribution.

On Wed, Nov 22, 2017 at 8:35 PM, Peiffer, Adrien <adrien.peiffer@acsone.eu> wrote:
Hello,

it seems to come from here:


Can you try to change the name given to the add_worksheet method like 'test' or without name if you have this fix locally

Thanks,

Adrien

Adrien PEIFFER,

Software Engineer

Tel : +352 20 21 10 20
Mobile: +352 691 506 100

Acsone sa/nv
22, Zone Industrielle | L-8287 KEHLEN  | Luxembourg
www.acsone.eu



2017-11-22 15:51 GMT+01:00 Chowderpally Saiteja <chowderpally.saiteja@gmail.com>:
???

On Wed, Nov 22, 2017 at 7:45 PM, Andrew Delve <adelve@rayoman.com> wrote:

On 22 Nov 2017 13:12, "Chowderpally Saiteja" <chowderpally.saiteja@gmail.com> wrote:

Hey, Odoo Community!

This is the issue that I'm facing while I print the report out of Odoo in .xlsx format using the report_xlsx module. Here are the screens showing error.

image

And here is the detailed server log:

image

Here is my code for reference:

my_module/report/file_name.py :
image

my_module/views/templates.xml :

image

Help Needed! Thanks in advance.


--
Thanks & Regards -
Saiteja Chowderpally


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Thanks & Regards -
Saiteja Chowderpally


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Thanks & Regards -
Saiteja Chowderpally


Reference