cenit-io / odoo-integrations

Odoo-integration addons for third party services based on Cenit IO
https://www.odoo.com/apps/modules/browse?search=cenit+IO
18 stars 42 forks source link

Error when tried to install client_slack module #152

Open oreju opened 2 years ago

oreju commented 2 years ago

Hello everyone,

I have received error when tried to install client_slack module. Module were downloaded from: https://apps.odoo.com/apps/modules/14.0/cenit_slack/

Error message:

result = method(recs, *args, **kwargs)
  File "/home/odoodev/git/odoo-appstore/cenit_slack/models/config.py", line 62, in install
    version = COLLECTION_VERSION
  File "/home/odoodev/git/odoo-appstore/cenit_base/models/installer.py", line 661, in get_collection_data
    name, version or "any"
odoo.exceptions.MissingError: Required 'slack_api_1_0_0 [0.1]' not found in Cenit

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/odoodev/git/odoo/odoo/service/server.py", line 1199, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "/home/odoodev/git/odoo/odoo/modules/registry.py", line 89, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/odoodev/git/odoo/odoo/modules/loading.py", line 457, in load_modules
    force, status, report, loaded_modules, update_module, models_to_check)
  File "/home/odoodev/git/odoo/odoo/modules/loading.py", line 349, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/home/odoodev/git/odoo/odoo/modules/loading.py", line 222, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package)
  File "/home/odoodev/git/odoo/odoo/modules/loading.py", line 69, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
  File "/home/odoodev/git/odoo/odoo/tools/convert.py", line 733, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate)
  File "/home/odoodev/git/odoo/odoo/tools/convert.py", line 799, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/odoodev/git/odoo/odoo/tools/convert.py", line 719, in parse
    self._tag_root(de)
  File "/home/odoodev/git/odoo/odoo/tools/convert.py", line 677, in _tag_root
    f(rec)
  File "/home/odoodev/git/odoo/odoo/tools/convert.py", line 685, in _tag_root
    )) from e
odoo.tools.convert.ParseError: while parsing /home/odoodev/git/odoo-appstore/cenit_slack/data/data.xml:4, near
<function model="cenit.slack_api_1_0_0.settings" name="install"/>

Could you help me to solve it?

Thank you for your time!

FYI @HugOdoo

Originally posted by @oreju in https://github.com/cenit-io/odoo-integrations/issues/99#issuecomment-1085148009