- 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#80576 Related: odoo/enterprise#22603 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 10, 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#76259 X-original-commit: 271b9468 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#67391 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
- Feb 24, 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#66780 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.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#40249 Note: This library should be replaced by the pure python "ldap3" library. 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#38742 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 19, 2018
-
-
Christophe Monniez authored
After the Odoo package is built, the package.py script uses a Docker image to test the package. After that python3-qrcode was added as a dependency for the package in 2ff49c5f , it revealed some issues. A missing cli parameter and a forgotten '&&' in the Dockerfile prevented the installation of the depending packages. Also, the script shebang was wrong by launching python2. Finally, the fact that python3-xlwt is missing in Debian stretch was highlighted. With this commit, the python3-xlwt is explicitly removed from the dependencies and the documentation is updated accordingly. closes odoo/odoo#28807
-
- 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 27, 2018
-
-
qsm-odoo authored
* website_form, debian Our old library for datetimepicker for bootstrap 3 is deprecated and an updated version is developed by the same team under the new name "tempusdominus", for bootstrap 4. The lib is imported by taking the *unminified build* JS and the *src* scss. Odoo is also bundling the lib better by putting the scss file in both backend and frontend assets instead of only in common (so that the scss is compiled differently for the frontend and the backend). Note: the lib also needed to be patched inline to solve a bug at one line.
-
- 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.
-
- Jun 15, 2018
-
-
Christophe Monniez authored
When removing Odoo Debian package, the directory /var/lib/odoo is also removed. This directory could contain important data like filestore or custom modules. With this commit, this directory is preserved on removal and deleted when the purge command is issued with a Debian package manager. Fixes #22138
-
- 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.
-
- Jan 16, 2018
-
-
Akash Bhavsar authored
... and use Clipboard instead, which is already in web (put in the assets_common). Task #33274
-
- 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 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
-
Christophe Monniez authored
* Add a minimum systemd service file
-
Christophe Monniez authored
Debian copyright file was only mentioning odoo files. Now all js and css files with specific copyright / licenses are added.
-
- 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
no fallbacks were implemented to `openerp-server.conf`.
-
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
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.
-
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".
-
- Aug 26, 2016
-
-
Simon Lejeune authored
[FIX] packaging: debian: update-python-module is no more The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. Backported for #13302
-
- Jun 10, 2016
-
-
Simon Lejeune authored
The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. fixes #11785
-
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.
-