Tools mailing list archives

tools@odoo-community.org

Avatar

testing odoo enterprise + community in own t2d runbot

by
Ygol InternetWork, Yves Goldberg
- 24/06/2017 10:36:44
Hi.
What would be the best way to include odoo community and odoo enterprise in my own runbot?
since I am using travis2docker runbot (as per https://github.com/Vauxoo/runbot);

would I need a travis.yml file added to those repos?
(OCB for example is on the oca runbot and does not carry travis files) 

I tried running without the option "Travis to docker build" but it doesn't seem to work.

I get error:
odoo.modules.registry:84 new
Failed to load registry
Traceback (most recent call last):
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/modules/registry.py", line 82, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/modules/loading.py", line 280, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/modules/loading.py", line 135, in load_module_graph
    registry.setup_models(cr, partial=True)
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/modules/registry.py", line 274, in setup_models
    ir_model = env['ir.model']
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/api.py", line 752, in __getitem__
    return self.registry[model_name]._browse((), self)
  File "/home/runbot/instance/dependencies/odoo-extra/runbot/static/build/02531-10-0-4755fc/odoo/modules/registry.py", line 174, in __getitem__
    return self.models[model_name]
KeyError: 'ir.model'

TIA

--
Yves Goldberg
--

Follow-Ups