hi everybody am always trying to find out how to resolve this "no such group" error message so am searching for the code responsible of that
def gen_next_ref(self, cr, uid, ids): if len(ids) != 1: return True # compute the next number ref cr.execute("select ref from res_partner where ref is not null order by char_length(ref) desc, ref desc limit 1") res = cr.dictfetchall() ref = res and res[0]['ref'] or '0' try: nextref = int(ref)+1 except e: raise osv.except_osv('Warning', "Couldn't generate the next id because some partners have an alphabetic id !") # update the current partner cr.execute("update res_partner set ref=%d where id=%d", (nextref, ids[0])) return True here is the only "update" i found in partner module (an other update is for only updating name i think) so what i want to know is where is the partner module updating fields (here i find the definition of the column website) to know whats the problem with updating the field website :( -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=27832#27832 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
