Community mailing list archives

community@mail.odoo.com

Re: can't print check in Odoo v8

by
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 <ragheb.amna@gmail.com> 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/check_print.py", line 39, in fill_stars
    if len(amount) < 100:
QWebException: "object of type 'bool' has no len()" while evaluating
'fill_stars(o.amount_in_word)'
Could you please help me ! 
thank you !!

------------------------------------------------------------------------------------

Cordialement ,

Amna RAGHEB 

Consultante Odoo


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

--
Best Regards,

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