- Jan 06, 2022
-
-
Thibault Delavallée authored
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#82330 X-original-commit: odoo/odoo@9b5f86e8fa5bef341ea7392b86987092d6f6933a Related: odoo/enterprise#23292 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 15, 2021
-
-
Nils Hamerlinck authored
- Up to odoo 10.0, feedparser dependency was optionally used in the cli of vendored html2text.py (see https://github.com/odoo/odoo/blob/10.0/addons/mail/models/html2text.py#L437) - Since 11.0 (67c17cb3), vendored html2text.py has been removed in favor of maintained package - Turns out the feedparser part in html2text was dead code for a long time anyway (see https://github.com/Alir3z4/html2text/issues/220 ) - So we can safely drop this dependency closes odoo/odoo#76273 X-original-commit: 271b9468 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Jan 29, 2021
-
-
Christophe Monniez authored
As Fedora 32 was the current release when Odoo 14.0 was released, this should be the supported version. Also, a few old libs were still in mentioned in the packaging files. They flew under the radar because they never broke the packaging. This is not the case anymore, those libs disappeared from the Fedora repos. It seems that pyparsing is not used anymore since 5a1c06a1 and thus can be safely removed from `requirements.txt` too. pychart is not used anymore since 3425752e. While at it, remove mix of tabs and spaces in package.dffedora, also add missing packages to avoid installation at test time. Now that I started down the slippery slope, also removed some `-dev` packages in package.dfsrc as wheel's are available. Finally, the rpm install script now detects the python ABI version in order to avoid update this file at each ABI change in Fedora. Fixes #63719 closes odoo/odoo#65224 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Jul 10, 2020
-
-
Quentin De Paoli authored
closes odoo/odoo#54227 Related: odoo/enterprise#11742 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- May 05, 2020
-
-
Julien Castiaux authored
It has been a recurrent request from customers to be able to send email messages to email addresses containing non-ascii characters. [IDNA] is a domain extension to allow unicode characters in domain names. [SMTPUTF8] is a SMTP extension to allow unicode in any header. IDNA defines the [punycode] encoding which translates unicode to an ascii representation. This encoding MUST be used to encode domains. SMTPUTF8 is an SMTP extension that allow utf-8 in all headers on the envelope. [IDNA] https://tools.ietf.org/html/rfc5890 [SMTPUTF8] https://tools.ietf.org/html/rfc6531 [punycode] https://tools.ietf.org/html/rfc3492 Task: 2116928 opw-2229906 opw-2248251 closes odoo/odoo#47709 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
- Feb 05, 2020
-
-
Hardik Prajapati authored
Python module vatnumber doesn't seem maintained anymore. Therefore, we should: - call directly stdnum (which is maintained and mostly used everywhere in vatnumber) Also improve stdnum import, vat fix method and vat expected formats task-1915371 closes odoo/odoo#36978 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Jan 22, 2020
-
-
Martin Trigaux authored
At 795c7b0a the external dependencies was changed from trying to import 'ldap' to checking than 'pyldap' package was installed. The problem is that pyldap is a unmaintained library that should no longer be used, as explained on the package page: https://pypi.org/project/pyldap/ "The pyldap fork was merged back into python-ldap, and released as python-ldap 3.0.0." Having pyldap version >= 3.0 installs python-ldap automatically and will not cause any issue. The Debian control file package name is adapted to use the latest. The "ldap" externalm dependency defined in __manifest__.py will cause pkg_resources.get_distribution() to fail in both case ("python-lap" or "pyldap"), but the "import" fallback will succeed. For that reason, the log warning is turned into a log info. closes odoo/odoo#43769 Note: This library should be replaced by the pure python "ldap3" library. X-original-commit: 1afd0ccf Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 15, 2019
-
-
Martin Trigaux authored
In 12.0 it was 3.5 but for 13.0, it is acceptable 3.6. Debian Buster has 3.7 and Ubuntu 18.04 LTS has 3.6 This will avoid undeterminist errors with OrderedDict CentOS 7 still does not ship python3 by default but it is possible to install it and CentOS 8 with python 3.6 was released in septembre 2019 closes odoo/odoo#38827 X-original-commit: 14e3e752 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jul 04, 2019
-
-
Christophe Monniez authored
Since commit 632fa044, polib is used instead of a custom pofile reader. The setup.py file was forgotten in packaging, leading to a faulty source package. closes odoo/odoo#34585 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Apr 26, 2019
-
-
Christophe Monniez authored
Following the fix in 4c35983d, it appears that the excludes and packages options are conflicting. py2exe seems smart enough to include jinja2 package without the explicit include via the 'package' options. closes odoo/odoo#32991 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Apr 25, 2019
-
-
Christophe Monniez authored
Since 78ba90d5, when building the windows package, py2exe fails to compiles jinja2 asyncsupport module. Even tough jinja detects the environement, py2exe tries to compile the async part. The problem comes from the fact that async keyword was introduced in python 3 and we use py2exe with python 2.7. With this commit the async part of jinja is execluded from py2exe. closes odoo/odoo#32913 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Feb 05, 2019
-
-
Siddarth Gajjar authored
- Added new library zeep for soap request. - Remove old suds library. Task ID: 41696 Closes #26934
-
- Nov 13, 2018
-
-
Christophe Monniez authored
As stated in issue #27752, some Debian packages are only recommended. As a consequence, these packages are not installed on the Official Docker image. In that case, if the user wants to install an Odoo module that needs one of these package, the Docker container has to be modified. python3-qrcode and python3-vobject are now part of the latest Debian stable (stretch) and the latest Ubuntu LTS (Bionic Beaver). Also, they are pure python, and very small. Thus, the Debian package can depends on them. co-author: @sbidoul Fixes #27752 Closes #28588 Closes #28371 Closes #28372
-
- Nov 08, 2018
-
-
Christophe Monniez authored
PKG-INFO is generated during the setup phase and is not needed anymore. Also this file contains outdated informations. py2exe is not used anymore to build the windows installer. closes odoo/odoo#28494
-
- Jun 08, 2018
-
-
Christophe Monniez authored
When trying to import an OFX bank statetement under MS Windows, a Traceback states that BeautifulSoup is missing. During the build process, py2exe didn't autodiscover that BeautifulSoup is needed by the ofxparse package. With this commit, BeautifulSoup is explicitely added to py2exe packages. The Nightly VM was updated accordingly. opw-1848202
-
- Apr 23, 2018
-
-
Christophe Monniez authored
Since the move from less to sass, packages were broken due to a missing dependency in setup.py. I missed that in bf3193ac
-
- Nov 16, 2017
-
-
Yannick Tivisse authored
-
- Oct 12, 2017
-
-
Christophe Monniez authored
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
-
- Oct 09, 2017
-
-
Christophe Monniez authored
Purpose: The psycogreen module is unmaintained. Last source update was in 2015 and last pypi package was in 2012. Odoo only use a small part of the psycogreen module that could be written directly in the odoo code. This commit reproduce the small function from psycogreen used in ODoo and remove all depencies from it. Also the copyright and license are honored and the documentation is updated accordingly. pypi pckage: https://pypi.python.org/pypi/psycogreen bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
-
- Oct 03, 2017
-
-
Christophe Monniez authored
-
- May 15, 2017
-
-
Xavier Morel authored
The vendored html2text is *really* old and absolutely not P3-compatible. There is a maintained version on Pypy which is, so use that and stop vendoring html2text.
-
- May 12, 2017
-
-
xmo-odoo authored
PyPDF is unmaintained and abandoned (as noted on its home page http://pybrary.net/pyPdf/) and was never updated to Python 3. PyPDF2 is a fork which provides a mostly compatible API and is P3-compatible. Replace PyPDF by PyPDF2.
-
- May 10, 2017
-
-
xmo-odoo authored
In Python 3: * various builtins and dict methods were changed to return view/iterable objects rather than lists * and the separate Python 2 view/iterable builtins and methods were removed altogether This is problematic when using these items as list (which the happens repeatedly in Odoo), but more viciously when iterating *multiple times* over them (which also happens, which I've messed up multiple times while writing this, and which is a pain to debug even when you've just created the issue). Convert all code using these to semantics-matching cross-version helper functions to get the LCD behaviour between P2 and P3, and forbid the builtins via lint. issue #8530
-
- May 08, 2017
-
-
Laurent Smet authored
- RML Reports - Webkit Reports (most part already removed by 13b9982c) - LocalService in netsvc.py - rename attributes like rml_% to report_% - rename ir.actions.report.xml to ir.actions.report - allow rendering directly on an ir.actions.report by calling render method - remove 'controller' report_type - remove unused res.font stuff - remove print_report method in models.py (not used) - restore removed call to pdftotext process in test_reports
-
- Apr 28, 2017
-
-
xmo-odoo authored
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
-
- Apr 27, 2017
-
-
xmo-odoo authored
* Reverse wrapper courtesy of @rco-odoo's original P3 branch * thin compat module stripped down from werkzeug (to augment as needed) issue 8530
-
- Oct 24, 2016
-
-
Simon Lejeune authored
Without this patch, the fonts are not included and the barcodes in the reports were not displayed.
-
- Sep 30, 2016
-
-
Simon Lejeune authored
The use of an entry point was considered in order to provide an `odoo` command in the path for the packages users, but the generated entry point will first check that all the things in install_requires were provided in a not bright way: it'll check that it matches a distribution name. This does not work because python-chart does not have the distrubtion name "pychart" which is provided by the python-pychart package in debian jessie. Same for suds-jurko which is provided by python-suds in debian stretch but does not have the distribution name "suds". Also, adapted the packages tests to these cli changes.
-
Simon Lejeune authored
and move it under the setup package. Since the rename of the openerp directory into odoo, having a script named "odoo.py" conflicts with a package named "odoo".
-
Simon Lejeune authored
Fix the various place when the rename of the git root directory broke the packaging script. Also, we can now name the library "odoo".
-
- Sep 07, 2016
-
-
Simon Lejeune authored
* use a special arg in odoo.py * note that the previous implementation was relying on the fact that the openerp-gevent file was located in the same directory than the odoo.py file. This was no longer true since rev a0eb172c This commit brings back this behavior.
-
- Jul 07, 2016
-
-
Christophe Combelles authored
[FIX] setup.py: pyparsing version inconsistent with requirements Fixes #12693
-
- Jun 14, 2016
-
-
Simon Lejeune authored
This reverts commit a0eb172c and thus allow to actually use the longpolling feature. The commit was made originally to better follow the debian packaging guidelines. A better solution will be implemented for v10: removing the `openerp-gevent` script to replace it with a special argument in `odoo.py`. There is still a dependency issue as we need psycogreen but this dependency is not met in debian wheezy. This will be made a hard dependency for v10 as it is available in debian jessie. opw 678334
-
- Dec 01, 2015
-
-
Olivier Dony authored
This data file is required when making HTTPS requests with Python's `requests` package. Without it, modules such as account_yodlee/account_plaid won't be able to call their secure API. + minor refactoring (3 strikes and the code is out)
-
- Nov 26, 2015
-
-
Simon Lejeune authored
-
- Oct 12, 2015
-
-
Simon Lejeune authored
xlrd allows to import xls files and is an optional dependency. Bundle it in the exe release for convenience.
-
- Oct 08, 2015
-
-
Christophe Combelles authored
-
- Sep 28, 2015
-
-
Leonardo Rochael Almeida authored
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
-
Leonardo Rochael Almeida authored
The `unittest2` package is simply a backport of `unittest` from the Standard Library of Python 2.7 to previous versions. There is no reason to use it any longer. Closes #6941
-
- Jul 31, 2015
-
-
Simon Lejeune authored
-