Fix typo error in report
This commit is contained in:
1 parent
31d01406a8
commit
a74c673deb
1 file changed
+2
-2
@@ -331,7 +331,7 @@ class Report(object):
|
||||
return None
|
||||
|
||||
def remove_parent_node(self, tag='p', tnode=None):
|
||||
node = self.find_parent(node, [tag])
|
||||
node = self.find_parent(tnode, [tag])
|
||||
if node:
|
||||
pnode = node.parentNode
|
||||
pnode.removeChild(node)
|
||||
@@ -365,7 +365,7 @@ class Report(object):
|
||||
_language_cache[lang][table][obj_id]
|
||||
else:
|
||||
obj._cache[table][obj_id] = {'id': obj_id}
|
||||
return None
|
||||
return ''
|
||||
|
||||
def format_lang(self, value, digits=2, date=False, localcontext=None):
|
||||
if localcontext is None:
|
||||
|
||||
Reference in new issue
Block a user