diff --git a/addons/board/board.py b/addons/board/board.py index 6a87d5b190b..df3bc981ccb 100644 --- a/addons/board/board.py +++ b/addons/board/board.py @@ -134,10 +134,10 @@ class board_board(osv.osv): res['arch'] = self._arch_preprocessing(cr, user, res['arch'], context=context) res['toolbar'] = {'print': [], 'action': [], 'relate': []} return res - - - def _arch_preprocessing(self, cr, user, arch, context=None): - from lxml import etree + + + def _arch_preprocessing(self, cr, user, arch, context=None): + from lxml import etree def remove_unauthorized_children(node): for child in node.iterchildren(): if child.tag=='action' and child.get('invisible'): @@ -145,17 +145,17 @@ class board_board(osv.osv): else: child=remove_unauthorized_children(child) return node - + def encode(s): if isinstance(s, unicode): return s.encode('utf8') return s - - archnode = etree.fromstring(encode(arch)) + + archnode = etree.fromstring(encode(arch)) return etree.tostring(remove_unauthorized_children(archnode),pretty_print=True) - - - + + + _columns = { 'name': fields.char('Dashboard', size=64, required=True), diff --git a/addons/project/board_project_view.xml b/addons/project/board_project_view.xml index f2c44fab574..a58557c94ba 100644 --- a/addons/project/board_project_view.xml +++ b/addons/project/board_project_view.xml @@ -81,16 +81,16 @@ form
- - - - - - - - - - + + + + + + + + + +