thanks leonel for the hints, find the solution with update_naive, because the logic for the real code is to recalculate the order table when it's update e.g. use update_naive def __after_update_order(s, f): if not ('is_active' in f and f['is_active'] == False): s.update_naive(notes = 'test')
from the book For this purpose there the Set objects have an update_naive method that works like update but ignores before and after callbacks. is there any side effect for this? tested it works smoothly, perhaps i can use compute function for that thanks and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.