v = env['ir.ui.view'].browse(1992) idx = v.arch_db.find('') if idx != -1: print(v.arch_db[idx:idx+500]) else: print("Node not found")