Community mailing list archives

Re: can't print check in Odoo v8

Mohamed Magdy
- 11/13/2015 18:13:51
Hi Ragheb,

This error appeared because the "amount" is a Boolean which has no 'length'
The error is found in this line:
if len(amount) < 100:
I think you need to assign a value for it.

On Fri, Nov 13, 2015 at 9:08 PM Ragheb Amna <> wrote:
Hello Cummunity, 

I've installed the module 'account_check_writing' in Odoo 8 but I'm not able to print checks I got this error :

File "/usr/lib/python2.7/dist-packages/openerp/addons/account_check_writing/report/", line 39, in fill_stars
    if len(amount) < 100:
QWebException: "object of type 'bool' has no len()" while evaluating
Could you please help me ! 
thank you !!


Cordialement ,


Consultante Odoo

Post to:

Best Regards,

Mohamed Magdy
Odoo Technical Team Leader
Mob 1: +201114347478
Mob 2: +201095179215