python_webservices_library icon indicating copy to clipboard operation
python_webservices_library copied to clipboard

AttributeError: Sugarcrm instance has no attribute 'get_report_entries'

Open SinOB opened this issue 14 years ago • 1 comments

Which is odd, because I can see it in the sugarcrm.py file...

Turns out the indentation is incorrect for this function. def get_report_entries appears to have been created with 8 space tab indentation rather than the 4 space indentation used in the rest of the class, thus it is not appearing as an attribute of the class. Correcting the indentation will resolve the problem.

SinOB avatar Dec 06 '11 14:12 SinOB

Great. I'm sorry I couldn't answer before... Could you please try my fork of this project? I havent had time for testing and merging it here yet.

It should address this and the unicode issue.

It's right here: https://github.com/luisbarrueco/python_webservices_library/

luisbarrueco avatar Dec 06 '11 14:12 luisbarrueco