python - Edit an account in Sugarcrm -
python - Edit an account in Sugarcrm - i having problem uploading file, form sugarcrm. i using this tutorial, states next code should update account: #2 - update existing entry sugarcrm_conn= none try: sugarcrm_conn = sugarcrm.sugarcrm(url = sugarcrm_url, username = sugarcrm_user, password = sugarcrm_pass) print "connected sugar via rest" except valueerror: print "cann't connect " + sugarcrm_url exit(1) accounts = sugarcrm_conn.module('accounts') #we show first 10 of them. business relationship in accounts[:10]: account.setvalue(['shipping_address_postalcode','email'],['4144','test@gmail.com']) the problem having error: sugarcrm instance has no attribute 'module' for line sugarcrm instance has no attribute 'module' have missed something? clarify, can connect sugarcrm , have added accounts, displayed them. query = sugarcrm_conn['accounts'].que...