- 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>
-
- May 11, 2021
-
-
Christophe Monniez authored
The num2words Debian package exists in Debian Buster [0] and Ubuntu Focal [1]. [0]: https://packages.debian.org/buster/python3-num2words [1]: https://packages.ubuntu.com/focal/python3-num2words closes odoo/odoo#70637 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Mar 05, 2021
-
-
Christophe Monniez authored
In Debian and Ubuntu distros, the python reportlab package provides multiple binary packages among which python3-reportlab [0] [1] and python3-renderpm [2] [3]. The latter is only recommended, but is mandatory for odoo because it's needed for rendering barcode with the `asString` method. [0] https://packages.debian.org/buster/python3-reportlab [1] https://packages.ubuntu.com/focal/python3-reportlab [2] https://packages.debian.org/buster/python3-renderpm [3] https://packages.ubuntu.com/focal/python3-renderpm closes odoo/odoo#67410 X-original-commit: 73e99264 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Feb 26, 2021
-
-
Christophe Monniez authored
During the resolution of conflicts in odoo/odoo#66784, a typo was introduced in debian/control file. closes odoo/odoo#66902 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Feb 25, 2021
-
-
Christophe Monniez authored
Zeep replaced suds but Debian and Rpm packaging were not updated. Ofxparse is required but did not appear in Debian nor Rpm packaging. closes odoo/odoo#66784 X-original-commit: 39738f2b 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>
-
- Oct 14, 2020
-
-
Sébastien Delafond authored
-
- Jul 10, 2020
-
-
Quentin De Paoli authored
closes odoo/odoo#54227 Related: odoo/enterprise#11742 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Apr 01, 2020
-
-
Adrian Torres authored
Before this commit, a lot of leftover import shims existed in the codebase for py2-py3 compatibility, these are no longer needed since Odoo 13.0+ doesn't support Python 2 anymore and is (finally) in EOL. With this commit, these shims are dropped, making the code cleaner, easier to read and with one less dependency. Queue -> queue -> py2-py3 compatibility xmlrpclib -> xmlrpc.client -> py2-py3 compatibility ConfigParser -> configparser -> py2-py3 compatibility itertools.izip_longest -> itertools.zip_longest -> py2-py3 compatibility urllib -> urllib.request -> py2-py3 compatibility __builtins__ -> builtins -> py2-py3 compatibility _winreg -> winreg -> py2-py3 compatibility mock -> unittest.mock -> merged into CPython The debian/fedora packages and requirements.txt have been updated accordingly closes odoo/odoo#44601 Related: odoo/enterprise#8141 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.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 14, 2019
-
-
Christophe Monniez authored
As the python3-xlrd package is available in Debian stretch and Ubuntu bionic, there is no reason to not include it in Odoo debian package. However, it cannot be used in Odoo 11.0 package as it does not exists in Ubuntu Xenial. ubuntu package: https://packages.ubuntu.com/bionic/python3-xlrd debian package: https://packages.debian.org/stretch/python3-xlrd closes odoo/docker#276 closes odoo/odoo#38746 X-original-commit: acf413df Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Jun 05, 2019
-
-
Martin Trigaux authored
Use polib library that handles this correctly The complexity of the parser is moved to the library
-
- 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
-
- Oct 09, 2018
-
-
Adrian Torres authored
Commit cf853a78 removed all yml tests and the yml import engine from Odoo forever, however PyYAML remains a dependency even though it's not used anymore. This commit removes any reference to this lib that could be found. closes odoo/odoo#27563
-
- Jul 18, 2018
-
-
Christophe Monniez authored
Since b60de0db Odoo requires chardet to be installed. With this commit, the Debian package will depends on python3-chardet.
-
- Apr 24, 2018
-
-
Christophe Monniez authored
A dependency to libsass was added in debian package and in the docker file. The Odoo nightly builds of the deb package was failing because this lib is named libsass0 in Debian. Finally, this dependency is not required because python3-libsass already depends on libsass0.
-
- Apr 18, 2018
-
-
qsm-odoo authored
Include libsass instead of node-less Thank you to @d-fence for testing this.
-
- Oct 12, 2017
-
-
Christophe Monniez authored
On Ubuntu Xenian, the Odoo package was difficult to install because three Debian packages were required but could not be found in Ubuntu repositories. As those packages are not really crucial, they are now only suggegsted by the Debian package which is therefore installable on Ubuntu Xenial. One can manually install them as explained in the documentation. Closes #20000
-
Christophe Monniez authored
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
-
- Oct 03, 2017
-
-
Christophe Monniez authored
* Add a minimum systemd service file
-
- May 26, 2017
-
-
Olivier Dony authored
Complements 021de21e and #16918
-
- Oct 24, 2016
-
-
Simon Lejeune authored
Before this patch, the debian package depends on `python-pybabel`. According to the documentation, this is a dummy package for transition from `python-pybabel` to `python-babel`[1]. This dummy package has thus been removed in debian stretch in favor of `python-babel`, and the odoo package is thus not installable in debian stretch. To fix this, we depend directly on `python-babel`, which is available in all debian releases[2]. Closes #13905 [1] https://packages.debian.org/jessie/python-pybabel [2] https://packages.debian.org/jessie/python-babel
-
- Sep 30, 2016
-
-
Simon Lejeune authored
They were there since long time but to allow some obscure test to run. As they don't bring anything let's just drop them.
-
- Jun 10, 2016
-
-
Simon Lejeune authored
* Remove dependency on less-plugin-clean-css which distribution packages are broken on debian stretch and derivated. * Updated documentation. * Lessc provides a `--compress` argument that could solve this issue. According to the documentation at http://lesscss.org/usage/: "[...] Compress using less built-in compression. This does an okay job but does not utilise all the tricks of dedicated css compression[...]" However, using this argument works on lessc 2.5.3 but not on 1.4.2 (`--compress` arg is present but seems to be break some rules i haven't been able to put my finger on). * Finally, use the minification of the StylesheetAsset that takes care of removing the spaces, the comments and the sourcemap with regexes. fixes issue #9113
-
- Dec 01, 2015
-
-
Simon Lejeune authored
introduced by rev c1ff5d89
-
- Nov 26, 2015
-
-
Simon Lejeune authored
-
- Nov 10, 2015
-
-
Simon Lejeune authored
because it's available in debian stable but not in ubuntu 14.04 (lts)
-
- 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
-
- Sep 11, 2015
-
-
Simon Lejeune authored
-
- Sep 08, 2015
-
-
Olivier Dony authored
99% of the contributors have signed the CLA The rest of them have been contacted by email and are free to either sign the CLA or ask for their contributions to be removed from Odoo Community Edition. See also: - https://www.odoo.com/cla - https://www.odoo.com/blog/odoo-news-5/post/adapting-our-open-source-license-245
-
- Jul 31, 2015
-
-
Simon Lejeune authored
-
- Jul 14, 2015
-
-
Richard Mathot authored
This library is a SOAP client. It will be used to integrate Odoo with external web services that use SOAP based protocols.
-
- Jan 23, 2015
-
-
Aaron Bohy authored
- control: - duplicated Section entry removed - X-Python-Version added - Uploaders added - init: - set odoo.py as deamon instead of openerp-server - source /lib/lsb/init-functions to fix Debian lintian warning init.d-script-does-not-source-init-functions - copyright: machine-readable (dep5) copyright
-
- Jan 05, 2015
-
-
Aaron Bohy authored
Mainly renaming of OpenERP into Odoo
-
- Dec 19, 2014
-
-
Simon Lejeune authored
[REF] Packaging: backport of a7ab5a41 [REF] Packaging: backport of a700a113 [REF] Packaging: backport of 9d0bd280 [REF] Packaging: backport of b0722d3e [REF] Packaging: backport of 24b2c938 [REF] Packaging: backport of e874cdaf [REF] Packaging: backport of 56b61da1 [REF] Packaging: backport of be96dd85 [REF] Packaging: backport of 50a4da99 [REF] Packaging: backport of 1c41f369 [REF] Packaging: backport of cc113317 [FIX] Packaging: backport of 13471630 [REF] Package: backport of 93845d68 [REF] Package: backport of 012bc01c [FIX] Package: partial apply of d9e72a37 [REF] Package: backport of 67036fef [REF] Package: backport of 73de0138 [REF] Package: backport of 30d987ed [REF] Package: backport of 29132669 [REF] Package: backport of 7db12dc4 [REF] Package: backport of f668f9c6 [REF] Package: backport of 2cf4051a [REF] Packaging: backport of 73592487 [REF] Packaging: backport of f2598ecd [REF] Package: backport of fd21912c [REF] Package: backport of 9a8cdf49 [REF] Package: backport of 2f4984b8 [REF] Package: backport of 6e9edeeb [REF] Package: partial backport of d4624fa8 [REF] Package: backport of 9f13722f
-
- Sep 18, 2014
-
-
Simon Lejeune authored
-
- Sep 02, 2014
-
-
Simon Lejeune authored
[FIX] Debian: updated informations and dependencies, refactored debhelpers scripts to allow easy name change, simplified debhelper rules
-