Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
20487 มุมมอง

hi all!

    when i try tp print a report with image(lead report) in crm.lead, I get the following error

Incorrect padding (<class 'binascii.error'="">, Error('Incorrect padding',), <traceback object="" at="" 0xb46c48ec="">) The same image and same code works perfectly well in sale.order...whats the mistake i am doing.?? Am i committing any mistake in placing the code at correct position or whats the issue? Anyone plz help me...expecting your reply...plz

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Sometimes it occurs due to string corrupted and base64 lib can't decode it.

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

อวตาร
ละทิ้ง
ผู้เขียน

hey hi!! thanks for the reply..but can you plz suggest me a solution for this issue...i wanted to print an image in report...It would be helpful if you could reply..any help would be appreciated...thanks...expecting a solution from you...

คำตอบที่ดีที่สุด

Hi Selva,

This was a bug reported and fixed a long time back. Incorrect Padding Bug

So I think you need to use the updated source.

Thanks,

อวตาร
ละทิ้ง
ผู้เขียน

Updated source means you are asking me to switch to higher versions of openerp like v6.01 or v7...I am new to openerp so can you plz help me...Expecting your reply..

No, I am not asking you to migrate from one version to another. I asked to update the stable source because bugfixes are regularly done on stable. visit http://nightly.openerp.com/

Guys, I am using Odoo V8, commit 792b737f3faa16b3c5dab8674d89fb5c3987ff80, and I have this error when exporting products from a database and reimporting them to another instance (same version)

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 18
2906
0
ส.ค. 19
2951
0
มี.ค. 15
3791
Best product image size and resolution? แก้ไขแล้ว
1
ก.ค. 25
1859
1
ธ.ค. 24
3637