[IMP]:optimization
lp bug: https://launchpad.net/bugs/722766 fixed bzr revid: nch@tinyerp.com-20110421120443-d30x5z0u1wciut42
This commit is contained in:
parent
2030bc90f9
commit
ddfac1ecf7
|
@ -1616,7 +1616,7 @@ class orm_template(object):
|
|||
_rec_name = self._columns.keys()[0]
|
||||
xml = '<?xml version="1.0" encoding="utf-8"?>' \
|
||||
'<tree string="%s"><field name="%s"/></tree>' \
|
||||
% (self._description, self._rec_name)
|
||||
% (self._description, _rec_name)
|
||||
|
||||
elif view_type == 'calendar':
|
||||
xml = self.__get_default_calendar_view()
|
||||
|
|
Loading…
Reference in New Issue