Skip to content
Snippets Groups Projects
  1. Jul 10, 2020
  2. Apr 01, 2020
    • Adrian Torres's avatar
      [REM] *: remove various unused import shims · 5952928b
      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: default avatarXavier Morel (xmo) <xmo@odoo.com>
      5952928b
  3. Feb 05, 2020
  4. 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
  5. Oct 14, 2019
  6. Jun 05, 2019
  7. Nov 13, 2018
    • Christophe Monniez's avatar
      [FIX] packaging: make Debian package depends on qrcode and vobject · 2ff49c5f
      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
      2ff49c5f
  8. 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
  9. Jul 18, 2018
  10. Apr 24, 2018
  11. Apr 18, 2018
  12. Oct 12, 2017
  13. Oct 03, 2017
  14. May 26, 2017
  15. Oct 24, 2016
  16. Sep 30, 2016
  17. 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
  18. Dec 01, 2015
  19. Nov 26, 2015
  20. Nov 10, 2015
  21. Sep 28, 2015
  22. Sep 11, 2015
  23. Sep 08, 2015
  24. Jul 31, 2015
  25. Jul 14, 2015
  26. Jan 23, 2015
    • Aaron Bohy's avatar
      [FIX] Packaging: Debian: lintian errors and warnings · b3aca1d8
      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
      b3aca1d8
  27. Jan 05, 2015
  28. Dec 19, 2014
  29. Sep 18, 2014
  30. Sep 02, 2014
  31. Jul 02, 2014
  32. Jun 23, 2014
  33. Jun 19, 2014
  34. May 29, 2014
  35. Mar 27, 2014
  36. Feb 14, 2014
  37. Oct 15, 2013
Loading