Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Error openupgrade hr module

By
Dago Gallo
on 12/29/14, 5:47 PM 900 views

I am trying to migrate my base modules only official, but I always present this error with the module hr, I reviewed the code of the script and already implemented, could someone please help me with this?

2014-12-29 22:15:43,174 18768 ERROR clearcorp08 OpenUpgrade: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist
Traceback (most recent call last):
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/openupgrade/openupgrade.py", line 716, in wrapped_function
    func(cr, version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 179, in migrate
    import_crm_meeting(cr)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 81, in import_crm_meeting
    drop constraint meeting_category_rel_event_id_fkey''')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

2014-12-29 22:15:43,175 18768 ERROR clearcorp08 openerp.modules.loading: Error executing post migration script for module calendar
`-> hr_holidays
: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

2014-12-29 22:15:43,190 18768 CRITICAL clearcorp08 openerp.service.server: Failed to initialize database `clearcorp08`.
Traceback (most recent call last):
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/service/server.py", line 901, in preload_registries
    registry = RegistryManager.new(dbname, update_module=update_module)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/registry.py", line 324, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 398, in load_modules
    force, status, report, loaded_modules, update_module, upg_registry)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 295, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks, upg_registry=upg_registry)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/loading.py", line 215, in load_module_graph
    migrations.migrate_module(package, 'post')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/modules/migration.py", line 179, in migrate_module
    mod.migrate(self.cr, pkg.installed_version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/openupgrade/openupgrade.py", line 716, in wrapped_function
    func(cr, version)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 179, in migrate
    import_crm_meeting(cr)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/addons/calendar/migrations/8.0.1.0/post-migration.py", line 81, in import_crm_meeting
    drop constraint meeting_category_rel_event_id_fkey''')
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/dago-gallo/Development/odoo/8.0/OpenUpgrade/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: constraint "meeting_category_rel_event_id_fkey" of relation "meeting_category_rel" does not exist

-1

Stephen Mack

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 12/29/14, 7:31 PM

You might get a faster responce by posting a GitHub Issue for OpenUpgrade or by asking for help on their email list.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/29/14, 5:47 PM
Seen: 900 times
Last updated: 3/16/15, 8:10 AM