[IMP] improved comment TODO

bzr revid: fp@tinyerp.com-20120612171459-74dh9ik7yju2mum5
This commit is contained in:
Fabien Pinckaers 2012-06-12 19:14:59 +02:00
parent 8c92074457
commit f1716c0e35
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ class view(osv.osv):
for view in self.browse(cr, uid, ids, context):
# RNG-based validation is not possible anymore with 7.0 forms
# TODO 7.0: provide alternative assertion-based validation!
# TODO 7.0: and do the tests on the result of fields_view_get instead of each arch.
view_docs = [etree.fromstring(view.arch.encode('utf8'))]
if view_docs[0].tag == 'data':
# A <data> element is a wrapper for multiple root nodes