We have our own html2plaintext, already used in lot of use cases instead of just a few for the html2txt library. Notably for emails: most emails going through Odoo stack use our simple html2plaintext to format the body alternative. When no body alternative is given to ``build_email`` an alternative is built using the library to remove. Using our own parser allows to have the same results compared to using ``MailMail.send()``. Difference lies in spaces and new lines as well as markdown. Our html2plaintext is a bit simple and does not try to generate Markdown but generates a simple plaintext version. This also helps solving some issues with depending on that library. Task-2702034 closes odoo/odoo#82486 X-original-commit: b3b9627b655cd7cb928925affed6cc8d92661e8d Related: odoo/enterprise#23364 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
Babel==2.6.0
|
|
chardet==3.0.4
|
|
decorator==4.4.2
|
|
docutils==0.16
|
|
ebaysdk==2.1.5
|
|
freezegun==0.3.11; python_version < '3.8'
|
|
freezegun==0.3.15; python_version >= '3.8'
|
|
gevent==1.5.0 ; python_version == '3.7'
|
|
gevent==20.9.0 ; python_version >= '3.8'
|
|
greenlet==0.4.15 ; python_version == '3.7'
|
|
greenlet==0.4.17 ; python_version > '3.7'
|
|
idna==2.8
|
|
Jinja2==2.10.1; python_version < '3.8'
|
|
# bullseye version, focal patched 2.10
|
|
Jinja2==2.11.2; python_version >= '3.8'
|
|
libsass==0.18.0
|
|
lxml==4.6.2
|
|
MarkupSafe==1.1.0
|
|
num2words==0.5.6
|
|
ofxparse==0.19
|
|
passlib==1.7.2
|
|
Pillow==8.1.2 # could be 7.0.0 (Focal) when backported security patches are present
|
|
polib==1.1.0
|
|
psutil==5.6.6
|
|
psycopg2==2.7.7; sys_platform != 'win32' and python_version < '3.8'
|
|
psycopg2==2.8.6; sys_platform == 'win32' or python_version >= '3.8'
|
|
pydot==1.4.1
|
|
pyopenssl==19.0.0
|
|
PyPDF2==1.26.0
|
|
pypiwin32 ; sys_platform == 'win32'
|
|
pyserial==3.4
|
|
python-dateutil==2.7.3
|
|
python-ldap==3.2.0; sys_platform != 'win32'
|
|
python-stdnum==1.13
|
|
pytz==2019.3
|
|
pyusb==1.0.2
|
|
qrcode==6.1
|
|
reportlab==3.5.59 # version < 3.5.54 are not compatible with Pillow 8.1.2 and 3.5.59 is bullseye
|
|
requests==2.22.0
|
|
vobject==0.9.6.1
|
|
Werkzeug==0.16.1
|
|
xlrd==1.1.0; python_version < '3.8'
|
|
xlrd==1.2.0; python_version >= '3.8'
|
|
XlsxWriter==1.1.2
|
|
xlwt==1.3.*
|
|
zeep==3.4.0
|