Tools for Odoo Administrators to improve some technical features on Odoo.
 
 
 
 
Go to file
Jairo Llopis eb828cafb7 [FIX] module_auto_update: Add .pyo sample file (#1205)
Without this patch, if your tests are run under a `PYTHONOPTIMIZE=2` precompiled environment, they'd fail with this error because a new `.pyo` file would be created.:

    FAIL: test_basic (openerp.addons.module_auto_update.tests.test_addon_hash.TestAddonHash)
    Traceback (most recent call last):
    `   File "/opt/odoo/auto/addons/module_auto_update/tests/test_addon_hash.py", line 41, in test_basic
    `     'static/src/some.js',
    ` AssertionError: Lists differ: ['README.rst', 'data/f1.xml', ... != ['README.rst', 'data/f1.xml', ...
    `
    ` First differing element 13:
    ` models/stuff.pyo
    ` static/src/some.js
    `
    ` First list contains 1 additional elements.
    ` First extra element 14:
    ` static/src/some.js
    `
    `   ['README.rst',
    `    'data/f1.xml',
    `    'data/f2.xml',
    `    'i18n/en.po',
    `    'i18n/en_US.po',
    `    'i18n/fr.po',
    `    'i18n/fr_BE.po',
    `    'i18n/test.pot',
    `    'i18n_extra/en.po',
    `    'i18n_extra/fr.po',
    `    'i18n_extra/nl_NL.po',
    `    'models/stuff.py',
    `    'models/stuff.pyc',
    ` -  'models/stuff.pyo',
    `    'static/src/some.js']
    Ran 3 tests in 0.005s
    FAILED

With this patch, the `.pyo` file is included, so tests will pass anywhere.
2020-05-18 13:10:47 +02:00
auditlog Update translation files 2020-03-29 06:07:14 +00:00
base_cron_exclusion pre-commit update 2020-03-14 12:24:57 +01:00
base_jsonify pre-commit update 2020-03-14 12:24:57 +01:00
base_m2m_custom_field [UPD] README.rst 2020-03-29 06:07:02 +00:00
base_search_fuzzy Update translation files 2020-04-15 14:15:03 +00:00
base_time_window [ADD] icon.png 2020-04-15 14:14:50 +00:00
company_country Update translation files 2020-04-24 15:24:57 +00:00
fetchmail_notify_error_to_sender [UPD] README.rst 2020-05-17 12:02:05 +00:00
mail_server_relay_disallowed [UPD] README.rst 2020-04-16 14:30:41 +00:00
module_auto_update [FIX] module_auto_update: Add .pyo sample file (#1205) 2020-05-18 13:10:47 +02:00
onchange_helper [UPD] README.rst 2020-01-06 09:46:32 +00:00
setup [ADD] setup.py 2020-05-17 12:02:06 +00:00
test_base_time_window [ADD] icon.png 2020-04-15 14:14:50 +00:00
.editorconfig pre-commit update 2020-03-14 12:24:57 +01:00
.eslintrc.yml pre-commit update 2020-03-14 12:24:57 +01:00
.flake8 pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.gitignore [MIG] Add metafiles 2019-09-29 23:47:44 +02:00
.isort.cfg pre-commit update 2020-03-14 12:24:57 +01:00
.pre-commit-config.yaml [UPD] pin flake8 version [ci skip] 2020-05-13 14:10:14 +02:00
.prettierrc.yml pre-commit update 2020-03-14 12:24:57 +01:00
.pylintrc pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.pylintrc-mandatory pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
.travis.yml pre-commit update 2020-03-14 12:24:57 +01:00
LICENSE pre-commit, black, isort [ci skip] 2019-10-12 12:29:44 +02:00
README.md [MIG] Add metafiles 2019-09-29 23:47:44 +02:00

README.md

Runbot Status Build Status Coverage Status Code Climate

Server Environment And Tools

This project aim to deal with modules related to manage Odoo server environment and provide useful tools. You'll find modules that:

  • Manage configuration depending on environment (devs, test, prod,..)
  • Keep the security on update
  • Manage email settings

Contributing

Do you want to contribute? Please read our contributing guidelines.

Translation Status

Translation status