Tools mailing list archives

tools@odoo-community.org

Avatar

Re: testing odoo enterprise + community in own t2d runbot

by
Vauxoo, Moisés López Calderón
- 24/06/2017 16:39:15
For private projects you need use the private url and a ssh key with permission for the OS user where runbot was installed.
Imágenes integradas 1

Use this URL into a oca_dependencies file, more info here:

It is Important use VERSION parameter from .travis.yml more info here:


On Sat, Jun 24, 2017 at 3:53 AM <admin@ygol.com> wrote:
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
--

_______________________________________________
Mailing-List: https://odoo-community.org/groups/tools-22
Post to: mailto:tools@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference