[2.0] Install module 'account_accountant', dependency not available: account_bank_statement_import
2.0
Summary when install module accounting error You try to install module 'account_accountant' that depends on module 'account_bank_statement_import'. But the latter module is not available in your system.
Steps to reproduce
no module account_bank_statement_import
What is the current bug behavior?
no modul account_bank_statement_import
What is the expected correct behavior?
add modul account_bank_statement_import to add on
Relevan log
i try copy add on from 1.7 account_bank_statement_import folder but error when install like this
Error: Flectra Server Error
Traceback (most recent call last): File "/opt/flectra/flectra/flectra/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/opt/flectra/flectra/flectra/http.py", line 683, in dispatch result = self._call_function(**self.params) File "/opt/flectra/flectra/flectra/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/flectra/flectra/flectra/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/flectra/flectra/flectra/http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "/opt/flectra/flectra/flectra/http.py", line 912, in call return self.method(*args, **kw) File "/opt/flectra/flectra/flectra/http.py", line 531, in response_wrap response = f(*args, **kw) File "/opt/flectra/flectra/addons/web/controllers/main.py", line 1381, in call_button action = self._call_kw(model, method, args, kwargs) File "/opt/flectra/flectra/addons/web/controllers/main.py", line 1369, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/flectra/flectra/flectra/api.py", line 396, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/opt/flectra/flectra/flectra/api.py", line 383, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/opt/flectra/flectra/flectra/addons/base/models/ir_module.py", line 73, in check_and_log return method(self, *args, **kwargs) File "/opt/flectra/flectra/flectra/addons/base/models/ir_module.py", line 474, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/opt/flectra/flectra/flectra/addons/base/models/ir_module.py", line 592, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/opt/flectra/flectra/flectra/modules/registry.py", line 89, in new flectra.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/flectra/flectra/flectra/modules/loading.py", line 453, in load_modules processed_modules += load_marked_modules(cr, graph, File "/opt/flectra/flectra/flectra/modules/loading.py", line 346, in load_marked_modules loaded, processed = load_module_graph( File "/opt/flectra/flectra/flectra/modules/loading.py", line 178, in load_module_graph load_openerp_module(package.name) File "/opt/flectra/flectra/flectra/modules/module.py", line 358, in load_openerp_module import('flectra.addons.' + module_name) File "/opt/flectra/flectra/addons/account_bank_statement_import/init.py", line 3, in from . import account_bank_statement_import File "/opt/flectra/flectra/addons/account_bank_statement_import/account_bank_statement_import.py", line 7, in from flectra.addons.base.res.res_bank import sanitize_account_number Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/flectra/flectra/flectra/http.py", line 639, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/flectra/flectra/flectra/http.py", line 315, in _handle_exception raise exception.with_traceback(None) from new_cause ModuleNotFoundError: No module named 'flectra.addons.base.res'