Skip to content
Snippets Groups Projects
  1. Jan 10, 2022
    • Thibault Delavallée's avatar
      [REF] various: remove usage and dependency on html2text library · b3b9627b
      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#82350
      
      X-original-commit: odoo/odoo@9b5f86e8fa5bef341ea7392b86987092d6f6933a
      X-original-commit: odoo/odo#d79197f1
      Related: odoo/enterprise#23302
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      b3b9627b
  2. Oct 21, 2021
  3. Oct 08, 2021
    • Christophe Monniez's avatar
      [FIX] packaging: add missing dependencies · 248762c8
      Christophe Monniez authored
      A dependency on python pyopenssl package was added in #61853 and flew
      under the radar. As this package is pure python, it should not cause any
      arm.
      
      Also, it seems that the gsfonts package is needed on Debian to print
      things like barcode badges. Previously, the gsfonts package was a
      dependency of python3-renderm package which is itself a dependency of
      odoo. The gsfonts dependency was removed in the python3-renderpm Bullseye package.
      
      With this commit the gsfonts dependency is set on the odoo Debian
      package directly.
      
      Part-of: odoo/odoo#78010
      248762c8
  4. Sep 15, 2021
  5. Feb 25, 2021
  6. Jan 29, 2021
    • Christophe Monniez's avatar
      [FIX] packaging: update rpm packaging for fedora 32 · 2d4c3834
      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#65288
      
      X-original-commit: a8deb1dd
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      2d4c3834
  7. Jul 10, 2020
  8. May 05, 2020
  9. Feb 05, 2020
  10. Jan 22, 2020
    • Martin Trigaux's avatar
      [FIX] auth_ldap: replace the deprecated library by one up to date · 9aef423d
      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: default avatarChristophe Monniez (moc) <moc@odoo.com>
      9aef423d
  11. Oct 02, 2019
    • Christophe Monniez's avatar
      [REF] packaging: use docker to build packages · 8c4c4394
      Christophe Monniez authored
      
      Actually, docker is used to test Linux packages once they are built.
      The packaging process is done on the host system where package.py is
      run.
      
      Consequences:
          * difficult to reproduce an exact same build on another host
          * changing a Debian/Ubuntu target version means some upgrade steps
            on the build host (mix that with the fact that the host also
            could build old Odoo versions)
          * Fedora rpm package is built on an Ubuntu system (which is not a
            real problem but it could be)
      
      With this commit, the package.py utility is refactored to use Docker
      containers to build the Gnu/Linux packages.
      
      Also, the Debian package is adapted for Debian Buster, the RPM package
      is built based on Fedora 30.
      
      Some minor changes are also made in the windows packaging system.
      
      closes odoo/odoo#37766
      
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      8c4c4394
  12. Jun 05, 2019
  13. Jan 29, 2019
    • Christophe Monniez's avatar
      [FIX] packaging: allow install on fedora29 · 7eec6b36
      Christophe Monniez authored
      Fedora 29 switched to python 3.7. It seems that there is no official
      way to build a RPM package that could works with 3.6 and 3.7.
      Building two different packages for each version could open the pandora
      box of packaging.
      
      With this commit an ugly hack is used: if python3.7 is found, the odoo
      directory is symlinked into its site-packages dir.
      
      fixes #30579
      
      closes odoo/odoo#30618
      7eec6b36
  14. Oct 09, 2018
    • Adrian Torres's avatar
      [REM] packaging: drop PyYAML dependency · a277bfb4
      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
      a277bfb4
  15. Jun 08, 2018
  16. Apr 18, 2018
  17. Oct 13, 2017
  18. Oct 12, 2017
  19. Oct 11, 2017
  20. Oct 09, 2017
  21. Oct 03, 2017
  22. Sep 30, 2016
  23. Jun 10, 2016
    • Simon Lejeune's avatar
      [REF] ir_qweb: less webasset: compress output instead of minifying it · 123e51f4
      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
      123e51f4
  24. May 13, 2016
  25. Sep 28, 2015
  26. Sep 11, 2015
  27. Dec 19, 2014
  28. Nov 28, 2014
    • Simon Lejeune's avatar
      [FIX] Packaging: RedHat: dependencies management · 56b61da1
      Simon Lejeune authored
      PyChart is now in the EPEL repo so we now list it as required in
      setup.cfg. The other mandatory lib not provided by EPEL are
      pyPdf, vatnumber and pydot and are now installed by easy_install
      during the post install.
      56b61da1
    • Simon Lejeune's avatar
      [FIX] Packaging: RedHat: install in /usr and add systemd unit file · be96dd85
      Simon Lejeune authored
      By default, the package was installed in /usr/local/lib/python2.7 in CentOS7.
      It is problematic because most of other python packages are installed in /usr/lib
      and also because /usr/local/lib is not in the default PYTHONPATH. It's fixed by
      overriding the install script and forcing prefix to be /usr.
      
      Added a minimal systemd unitfile.
      Adapted tests accordingly.
      be96dd85
  29. Sep 29, 2014
  30. Sep 02, 2014
  31. Jun 23, 2014
  32. May 30, 2014
  33. May 29, 2014
    • Antony Lesuisse's avatar
      [IMP] repository cleanup · d4624fa8
      Antony Lesuisse authored
      - move packaging stuff to setup
      - remove historical stuff
      - remove oe, odoo-cmd-fme will be merged with the convered commands
      - add an odoo.py script to run odo and boostrap it
      - simplify README
      - prepare to move documentation to the github wiki
      d4624fa8
  34. Oct 06, 2011
  35. Sep 26, 2011
  36. Oct 19, 2010
  37. May 11, 2010
  38. Feb 13, 2009
Loading