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>
80 lines
1.1 KiB
INI
80 lines
1.1 KiB
INI
[install]
|
|
optimize=1
|
|
|
|
[bdist_rpm]
|
|
no-autoreq = yes
|
|
install-script = setup/redhat/install.sh
|
|
post-install = setup/redhat/postinstall.sh
|
|
|
|
requires =
|
|
sassc
|
|
python(abi) >= 3.8
|
|
python3-babel
|
|
python3-decorator
|
|
python3-docutils
|
|
python3-freezegun
|
|
python3-gevent
|
|
python3-greenlet
|
|
python3-idna
|
|
python3-jinja2
|
|
python3-lxml
|
|
python3-markupsafe
|
|
python3-mock
|
|
python3-num2words
|
|
python3-ofxparse
|
|
python3-passlib
|
|
python3-pillow
|
|
python3-psutil
|
|
python3-psycopg2
|
|
python3-polib
|
|
python3-pydot
|
|
python3-PyPDF2
|
|
python3-pyOpenSSL
|
|
python3-pyserial
|
|
python3-dateutil
|
|
python3-pytz
|
|
python3-pyusb
|
|
python3-qrcode
|
|
python3-reportlab
|
|
python3-requests
|
|
python3-six
|
|
python3-stdnum
|
|
python3-vobject
|
|
python3-werkzeug
|
|
python3-xlwt
|
|
python3-xlrd
|
|
python3-zeep
|
|
|
|
[flake8]
|
|
exclude =
|
|
.git,
|
|
.tx,
|
|
addons,
|
|
debian,
|
|
doc,
|
|
setup,
|
|
select =
|
|
RST
|
|
rst-directives =
|
|
function,
|
|
attribute,
|
|
seealso,
|
|
deprecated,
|
|
versionadded,
|
|
versionchanged,
|
|
todo
|
|
rst-roles =
|
|
ref,
|
|
mod,
|
|
class,
|
|
py:meth,
|
|
meth,
|
|
attr,
|
|
data,
|
|
const,
|
|
func,
|
|
exc,
|
|
term,
|
|
samp,
|
|
program
|