Permalink
Browse files

[IMP] improved comment TODO

  • Loading branch information...
1 parent 5f31d21 commit f7e2da3a138cb7df74f78d756c6261964ee840b3 @fpodoo fpodoo committed Jun 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 openerp/addons/base/ir/ir_ui_view.py
@@ -107,6 +107,7 @@ def _check_xml(self, cr, uid, ids, context=None):
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

0 comments on commit f7e2da3

Please sign in to comment.