Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.0] account_move_batch_validate: ImportError: No module named connector #280

Closed
moylop260 opened this issue Aug 19, 2015 · 2 comments
Closed
Assignees

Comments

@moylop260
Copy link
Contributor

My project use this one and today I had next error:

  File "./odoo-8.0/openerp/http.py", line 1308, in load_addons
    m = __import__('openerp.addons.' + module)
  File "./odoo-8.0/openerp/modules/module.py", line 80, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/home/travis/account-financial-tools/account_move_batch_validate/__init__.py", line 23, in <module>
    from . import account  # noqa
  File "/home/travis/account-financial-tools/account_move_batch_validate/account.py", line 28, in <module>
    from openerp.addons.connector.queue.job import job
  File "./odoo-8.0/openerp/modules/module.py", line 79, in load_module
    f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named connector

This is by next issue:
odoo/odoo#7507

This needs to add a try-except ImportError: log.debug sentence similar to CONTRIBUTING.md#importerror to don't force my project to use other one that we don't use.

@jjscarafia
Copy link

For now I've suggested this PR #279, the problem comes with the static folder and icon add.

@jjscarafia
Copy link

👍

pedrobaeza added a commit that referenced this issue Aug 20, 2015
[FIX] account_move_batch_validate: Protect connector import. Fixes #280
yelizariev pushed a commit to yelizariev/account-financial-tools that referenced this issue Aug 20, 2015
yelizariev pushed a commit to yelizariev/account-financial-tools that referenced this issue Aug 20, 2015
yelizariev pushed a commit to yelizariev/account-financial-tools that referenced this issue Aug 20, 2015
gurneyalex added a commit that referenced this issue Sep 4, 2015
[FIX] account_move_batch_validate: Protect connector import, define empty decorator if needed. Fixes #280
astirpe pushed a commit to onesteinbv/account-financial-tools that referenced this issue Nov 29, 2018
i-vyshnevska pushed a commit to i-vyshnevska/account-financial-tools that referenced this issue Jul 25, 2019
i-vyshnevska pushed a commit to i-vyshnevska/account-financial-tools that referenced this issue Jul 25, 2019
i-vyshnevska pushed a commit to i-vyshnevska/account-financial-tools that referenced this issue Jul 25, 2019
i-vyshnevska pushed a commit to i-vyshnevska/account-financial-tools that referenced this issue May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants