process method Some document generates others and wait for them during 'processing' One single idempotent method @classmethod @ModelView.button def process(cls, records): for record in records: ... # Check if something to do ... # Update state Other documents just call 'process' for their lines when something that could affect