parent
f2930c548e
commit
10c6fe4a6c
|
@ -33,6 +33,7 @@ from email.utils import getaddresses
|
|||
|
||||
import openerp
|
||||
from openerp.loglevels import ustr
|
||||
from openerp.tools.translate import _
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -281,7 +282,7 @@ def html_email_clean(html, remove=False, shorten=False, max_length=300, expand_o
|
|||
read_more_node.append(read_more_separator_node)
|
||||
read_more_link_node = _create_node(
|
||||
'a',
|
||||
expand_options.get('oe_expand_a_content', 'read more'),
|
||||
expand_options.get('oe_expand_a_content', _('read more')),
|
||||
None,
|
||||
{
|
||||
'href': expand_options.get('oe_expand_a_href', '#'),
|
||||
|
|
Loading…
Reference in New Issue