Skip to content
Snippets Groups Projects
  1. Sep 18, 2017
  2. Sep 12, 2017
  3. Jan 06, 2017
    • Nicolas Lempereur's avatar
      [FIX] odoo-bin: server UTC timezone on windows · 07bf7bf4
      Nicolas Lempereur authored
      On UNIX, the timezone modules conversions can be reset by using
      `time.tzset()`. On windows this is not available and the timezone (TZ)
      environment variable must be set before the first import of time module.
      
      If not, all datetime gotten in python without specifying UTC (such as
      datetime.datetime.now) could be wrong.
      
      This was fixed with 4a77c6a0 in 2013, but has come back since 389c2ba9
      imported pkg_resources (which do  a `time` module import) before that.
      
      closes #14926
      opw-693764
      07bf7bf4
  4. Sep 30, 2016
    • Stéphane Bidoul's avatar
      [REF] packaging: make odoo a namespaced package · 389c2ba9
      Stéphane Bidoul authored
      by auto-extending addons path with odoo.addons.__path__.
      
      This patch also introduce
        * an explicit declaration of odoo.addons as a namespace package
          This is necessary because the standard way of declaring namespace
          packages in setup.py does not work as long as odoo/__init__.py
          contains code.
        * a more reliable way to find odoo root path.
      389c2ba9
    • Simon Lejeune's avatar
      [REF] cli: renamed openerp-server to odoo-bin · ed8f0c83
      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.
      ed8f0c83
  5. Sep 02, 2016
  6. Jan 08, 2015
  7. Nov 27, 2012
  8. Nov 23, 2012
  9. Nov 22, 2012
  10. Oct 29, 2012
  11. Sep 22, 2012
  12. Sep 11, 2012
  13. Sep 07, 2012
  14. Sep 04, 2012
  15. Sep 03, 2012
  16. Aug 22, 2012
  17. Mar 29, 2012
  18. Mar 28, 2012
    • Vo Minh Thu's avatar
      [IMP] cron: alternative implementation: · 1b0bfd10
      Vo Minh Thu authored
      - The previous implementation was optimized to make few queries to the database
        but needed to keep some internal state.
      - That state was updated whenever the ir_cron table was modified by the ORM
        (this works only when the cron and web processes/threads are inside a single
        OpenERP server instance).
      - The new implementation is instead polling the database.
      - This is deemed acceptable in `normal` situation (i.e. not a SaaS with
        thousand of databases).
      - This makes it possible to avoid sharing state or the use of IPC.
      - This makes it possible to add/remove additional worker processes,
        possibly on different machines.
      - The code of the older implementation is removed in this commit but
        will be added back in a later commit: this is the 6.1 stable branch
        and we don't want to change the existing installation, but simply
        provide a solution for those running OpenERP with Gunicorn (which
        uses processes for which no cron state were shared).
      
      bzr revid: vmt@openerp.com-20120328090320-vshsfv3gt1ck34s1
      1b0bfd10
  19. Mar 16, 2012
  20. Mar 15, 2012
  21. Feb 14, 2012
  22. Feb 09, 2012
  23. Feb 02, 2012
  24. Feb 01, 2012
  25. Jan 24, 2012
  26. Jan 09, 2012
  27. Nov 17, 2011
    • Vo Minh Thu's avatar
      [FIX] openerp.modules.loading: previous change disabled demo data altogether, · e9c405c2
      Vo Minh Thu authored
      this should be now fixed by making sure that --withou-demo flag (or its absence)
      is taken care of, and setting the base module demo field.
      Normally the demo state of a module should have a ripple
      effect on all modules depending on it. This might prove
      not enough in this case and require some more testing.
      
      bzr revid: vmt@openerp.com-20111117162824-yqswv6yk7bmiyj4s
      e9c405c2
    • Vo Minh Thu's avatar
      [IMP] Clearer use of update_module arg. · 33031667
      Vo Minh Thu authored
      - update_module was defined as config[init] or config[update]
      - this means it is a mutable dictionary
      - the code testing update_module is actually mutating
      config[init] and config[update]...
      - now update_module is really a True or False value.
      
      bzr revid: vmt@openerp.com-20111117100608-0n8o99slgk42kiiv
      33031667
  28. Nov 15, 2011
Loading